xiaomi-mqtt
xiaomi-mqtt copied to clipboard
Added Rooms section
Added a rooms section to alias SID with room name in data field
Hi, This isn't the goal of this project and I would like to keep it as simple as possible.
Xiaomi-mqtt exchanges data between the xiaomi gateway and the mqtt-broker at a low-level, principally based on the device sid (Security Identifier?). The automation and dashboard tasks are implemented at a higher level. Node-RED is the perfect tool to use for this purpose.
@cflurin sure I agree totally, the hint is that my app side is based on ESP32 listening on MQTT so I won't be able to flash the ESP32 board each time I add a sensor to know which room it is (mapping between ID and Name). And I do not want to add another app to convert between id and table to display on RGB Matrix, to I added the basic table lookup here, it's not perfect but it works and avoid me installing a node red listenning to MQTT/Convert/Publish again.
The goal is to display each xiaomi notofication (temp, him, ...) on the last line of the display.
@hallard: I see, in your use case it may make sense. As I said I would like to keep it simple. But you can anyway use your fork and also add more features if you like.