A tool to publish UniPager status via MQTT.
This operates by listening to the websocket API, parsing messages received and spitting them back out via MQTT. Nothing special, but fulfils a very specific purpose.
See the example.
unipager-mqtt-bridge -c [config file]
.
online
or offline
depending on if the bridge is running or not.
A number from 0 - 15 indicating the current time slot.
A positive number indicating the number of messages in the transmission queue.
true
or false
depending on if the transmitter is currently transmitting or not.
A message for each new message to arrive in the queue:
{
"destination": 0,
"text": ""
}