Repository navigation
feat: Initial support for IBS-P02B - #657
Conversation
battery monitoring still WIP
|
Hi @twardnw Thanks for this addition. I don't think that the actual voltage is included in the BLE broadcast data, but it looks like the battery level is should give
with index 26 likely also indicating a low battery bit. Could you also remove these from the decoder and add
instead, as the type and cidc information is encoded in the tag. Also the model condition could be amended and extended a bit, e. g.
and the model to "model":" Pool thermometer", Could you also add a documentation page for the new IBS-P02B pool thermometer, similar to https://github.com/theengs/decoder/blob/development/docs/devices/IBS-P01B.md If you are unsure about how to add test cases, I can add these later with your examples given above. |
|
Sorry about the docs, forgot to add that to the commit when I pushed the MR. I incorporated your feedback, the battery pct is working correctly now, and the lowBat is working. Thanks for the help! Oddly though, I'm getting weird values reported from ScanAndDecode 😕 . The device display always reports the correct temperature, and the Inkbird app picks up the correct temp. But not via the script. Puzzling. |
|
I think the decoder line I committed was the wrong iteration, and now I can't recall which one worked 😆 |
|
Here's some more samples, where I know the temp
Running the 13th & 14th characters (d9, f3, e3) through https://www.scadacore.com/tools/programming-calculators/online-hex-converter/ I can see the appropriate value from what they mark as |
|
Oh, is it zero-indexed? |
|
It is 😆 |
|
Sample decode using commit 567ab82 |
|
Great thanks. Just a few last review comments. ª In general we have property names all lower case. Could you do that for Have a look at the iNode https://github.com/theengs/decoder/blob/development/src/devices/iNodeEM_json.h#L66-L69 |
|
ah ha, I had looked through for |
|
Thanks |
Adding support for Inkbird IBS-P02B pool thermometer
I have the temperature working, but have been struggling with the battery level and would love some help. Following is a sample of data reported by the ScanAndDecode script.
Here are some sample payloads with differing voltages.
Checklist: