Skip to content

Commit

Permalink
Document notifications (#167)
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastienvermeille authored Jan 20, 2024
1 parent c8c9e6f commit 4559ac1
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions docs/docs/examples/example-notification-mqtt.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Receive RIKA notifications via MQTT

RIKA2MQTT bridge publish errors/warnings displayed on your RIKA screen to MQTT.
This allows you to react when your pellet container is empty by example.

:::info
By default the notifications are published to the topic: `tele/rika2mqtt-notifications` (Or your custom topic defined in `MQTT_NOTIFICATION_TOPIC_NAME`).
:::

The payload is in JSON format :
```
{
"stoveId": 42,
"errorCode": "E0001.02",
}
```

## Known error codes

| Code | Description |
|------------|-----------------------------|
| E0001.02 | Pellet container: empty |

0 comments on commit 4559ac1

Please sign in to comment.