1technophile / OpenMQTTGateway

MQTT gateway for ESP8266 or ESP32 with bidirectional 433mhz/315mhz/868mhz, Infrared communications, BLE, Bluetooth, beacons detection, mi flora, mi jia, LYWSD02, LYWSD03MMC, Mi Scale, TPMS, BBQ thermometer compatibility & LoRa.
https://docs.openmqttgateway.com
GNU General Public License v3.0
3.62k stars 796 forks source link

log signal_strengt into HomeAssistant #2116

Open pointhi opened 1 week ago

pointhi commented 1 week ago

Is your feature request related to a problem? Please describe.

Based on #2115, as when we can set the entity_category=diagnostic we can also send additional diagnostic data, like the RSSI. The signal strenght is already reported via mqtt, but not interpreted by home assistant as it is not part of the current auto-discovery part.

Describe the solution you'd like Add HA auto-discovery for RSSI as diagnostic information.

Example of how this could look like: image

1technophile commented 1 week ago

Indeed, could be interesting to add. PR welcome also for this