Replies: 3 comments 4 replies
|
I think that's useful, if I recall HA has a special category "diagnostic" for this kind of "technical" entity so that they don't clutter the device data. You could have enabled by default false for users that have concerns with the qty of entities. |
|
I like the idea of dropping the config and using On Given that's (hopefully) coming, I could still add it for this new RSSI entity as a simple first case, or I could leave it out and add it when we later add support for the other diagnostic properties. What do you think? -Jonathan |
|
I've raised a PR for adding the RSSI entity: #323 |
Uh oh!
There was an error while loading. Please reload this page.
Theengs Gateway already publishes RSSI in every device's MQTT payload (it comes from the BLE scan itself, so it's there regardless of whether the decoder recognizes the device) - it's just not exposed as its own discoverable entity. Currently the only way to get it is a hand-written MQTT sensor config in HA.
I'd like to propose adding Home Assistant discovery for RSSI as its own sensor per device. Since this adds an entity per device, I'd
also add a config option to turn it off for anyone who doesn't want the extra entity.
Before I put together a PR: has this been considered or discussed before, and is there a reason it hasn't been done already that I
should know about? Also open to any advice on how you'd want this approached, or things I might be missing.
(Scoping this to Theengs Gateway for now - I'd look at OpenMQTTGateway separately if this proves useful here.)
-Jonathan
All reactions