Skip to content

A tool to publish UniPager status via MQTT

License

Notifications You must be signed in to change notification settings

DanNixon/unipager-status-mqtt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UniPager status MQTT bridge

CI dependency status

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.

Configuration

See the example.

Usage

unipager-mqtt-bridge -c [config file].

Messages

Availability

online or offline depending on if the bridge is running or not.

Timeslot

A number from 0 - 15 indicating the current time slot.

Queue Length

A positive number indicating the number of messages in the transmission queue.

Transmitting

true or false depending on if the transmitter is currently transmitting or not.

New Message

A message for each new message to arrive in the queue:

{
  "destination": 0,
  "text": ""
}