Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dannixon/unipager-status-mqtt
A tool to publish UniPager status via MQTT
https://github.com/dannixon/unipager-status-mqtt
amateur-radio amateurradio mqtt pocsag unipager
Last synced: 7 days ago
JSON representation
A tool to publish UniPager status via MQTT
- Host: GitHub
- URL: https://github.com/dannixon/unipager-status-mqtt
- Owner: DanNixon
- License: mit
- Created: 2022-05-24T17:17:26.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-05T09:31:04.000Z (8 months ago)
- Last Synced: 2024-03-05T10:44:21.424Z (8 months ago)
- Topics: amateur-radio, amateurradio, mqtt, pocsag, unipager
- Language: Rust
- Homepage:
- Size: 49.8 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# UniPager status MQTT bridge
[![CI](https://github.com/DanNixon/unipager-status-mqtt/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/DanNixon/unipager-status-mqtt/actions/workflows/ci.yml)
[![dependency status](https://deps.rs/repo/github/dannixon/unipager-status-mqtt/status.svg)](https://deps.rs/repo/github/dannixon/unipager-status-mqtt)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](./examples/config.toml).
## 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:
```json
{
"destination": 0,
"text": ""
}
```