Replies: 2 comments 4 replies
-
Theengs Gateway doesn't set the retain flag when publishing messages for sensor measurements, it only does this for the messages with device configuration for discovery. I also verified this with Which MQTT broker are you using? Is it maybe setting the retain flag for your messages? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Maybe configuring a kind of |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have started using the gateway running on a pi Zero W to collect BT info from devices on the garage side of my house, one of which is the Inkbird 4X grill thermometer. I had previously used bt-mqtt-gateway for this but Theengs Gateway has been quicker, simpler and more stable.
However, one challenge is that it sets messages for IBT to retain status which means that when I start a grilling session, the graph I have in Home Assistant might have something like a starting temperature for probe 4 (grill surface temp) of 425 assuming that was the temp at end of my last grilling session. Similar issues for the other probes.
With my prior solution, I was using messages not set to retain and so each grilling session the sensors started out from nothing (either undefined or zero - been a while and I don't recall which).
Any chance of adding this type of control?
My alternative idea would be to have the decoder for IBT send a special value when a probe is unplugged instead of only sending data when the probe is reading temperature. I considered posting about that on decoder git discussion but figured I would start here.
Beta Was this translation helpful? Give feedback.
All reactions