Replies: 1 comment
-
Decoder can only receive and decode freely broadcast BLE advertising data. The IBT series only broadcasts its manufacturerdata like that, no servicedata or both together like some other devices. The service you are talking about would only be accessible through a connection and READing the service/characteristic - although I didn't find such an obvious battery characteristic when briefly scanning my IBT-2X.
This would require Decoder to take a whole new approach, as currently it doesn't know anything about previously scanned devices, doesn't store them anywhere for later comparison etc. not a direction we'd want to go. It would also bring up new issue like, how long do you remember devices which might just be passing by your house, and for how long etc. ;)
MQTT devices themselves do have such a functionality through the LWT message through the broker, showing online when they are connected, offline when disconnected from the broker, but this does not translate to the devices MQTT these decoders send information about.
I don't think it is a good idea for any decoder to send an arbitrary temperature when no such temperature is actually being transmitted.
I agree, this would be the preferable solution, but since Decoder is not only being used on Gateway, the mobile phone App, Explorer etc. - all projects running on devices where memory isn't a big concern - but is also widely used in OpenMQTTGateway running on ESP32, trying to keep the Decoder library as compact and small as possible is a concern. Introducing this functionality would virtually double the size of the IBT-4X decoder, extending it to the 2X and 6X as well would grow it even more. In the light of this functionality being easily implementable in Home Assistant or any other controller with the info currently already being published we'd rather keep the saved space for possible new decoders for other devices. I'm sorry to say that these are probably not the replies you hoped for, but I do hope you understand out reasoning behind it. |
Beta Was this translation helpful? Give feedback.
-
The decoder as it is works great for monitoring the probe temperatures but there are a few other features I'd like to suggest/request:
Thoughts on this? I've cloned the repository and have been reviewing everything with an eye towards doing some decoder development but given this is an existing decoder that perhaps many others are already using, it seems like changes need to be vetted (vs. creating a decoder for a new device).
Beta Was this translation helpful? Give feedback.
All reactions