Hi, I just installed OMG via the web installer using the esp32-lolin32lite-ble image. I believe to have it configured appropriately and see beacon data through mqtt explorer. I am trying to view the voltage of my Blue Charm BC04P beacons that I configured with KSensor per your instructions. Next steps would be for me to add this configuration to Home Assistant.
Yes, there seem to be a slight difference in your servicedata which makes Theengs Decoder not recognise it as a BlueCharm beacon. Likely due to some newer firmware or possible some setting of the beacon through its app.
I will submit a fix for this amended servicedata, which should be available in the development version of OpenMQTTGAteway in the next days. You should then see the following for your above sample data
First off, huge cudos for maintaining this. I have so many use cases for it. I also am having problems decoding the ksensor data using the lastest development build similar to what @joeyfastbike was experiencing. I am inspecting the json in MQTT Explorer and all I am seeing is undecoded service data.
I have built the code using the latest development branch but the the #ksensor branch has does not seem to exist anymore for the decoder. Has the decoder for ksensor and the BC04 been released to the main development branch? Thanks in a advance and again for you contributions to this great project.
Yes, the changes have been submitted to the Decoder development branch the day @joeyfastbike confirmed its functionality.
So you are building with the development branch of OMG which has the link to the Decoder development branch, correct?
If this doesn’t your BlueCharm, could you post the undecoded message you are receiving? To see if some other differences are preventing yours from being decoded correctly.
Thanks so much for the quick reply. What is confusing me is the reference to an older decoder version (1.8.0) when looking at the platform.ini from the latest release 1.8.1 of OMG. Below is what I am seeing.
I tried doing a build by using the v1.8.5 version of the decoder and it still does not do the decoding properly. The date on this release is January 23rd, with is before your discussions about a fix for joeyfastbike. Apologies, I am not a professional developer.