Add RTL_433 discovery with Home Assistant convention inspired from rtl_433_mqtt_hass.py (#1379)

This also changes the topic structure when using the macro valueAsATopic=true, it adds as sub-topics the `type, subtype, and channel` when they exist.
The id is the last subtopic to facilitate filtering, as it may change when replacing the batteries.

Co-authored-by: NorthernMan54 <19808920+NorthernMan54@users.noreply.github.com>
This commit is contained in:
FlorianandNorthernMan54 authored and GitHub committed 2023-01-07 20:34:43 -06:00
1 parent ba70d364b1
commit 16815f51da
9 files changed
+389 -103

No files matched your search

+1 -2
View File
@@ -250,7 +250,7 @@ This feature is only available on a ESP32 based device with a supported transcei
### Supported hardware combinations
- ESP32 based device with a CC1101 transceiver
- Heltec WiFi LoRa 32 (V2.1)
- Heltec WiFi LoRa 32 (V2.1) and LilyGo Lora 32 V2.1
### Supported Decoders
@@ -349,7 +349,6 @@ Delta applied to RSSI floor noise level to determine start and end of signal, de
`home/OpenMQTTGateway/commands/MQTTtoRTL_433 {"rssi": 9}`
### Retrieve current status of receiver
`home/OpenMQTTGateway/commands/MQTTtoRTL_433 {"status":1}`