Seeing repeated panic when the battery is in a new Qingping CGH1. I’ve connected it to Qingping+ which I thought was necessary to get it to send data unencrypted.
Using esp32dev-ble-cont and connect to devices is turned off in omg. I’ve tried flashing the latest version and erasing flash. Neither seemed to help any. It runs fine if I take the battery out of the CGH1.
just as a quick test, could you try rebuilding and uploading OMG with defining den Decoder URL in platformio.ini with the latest development build of Decoder
I updated the line and its still rebooting if the CGH1 is advertising.
I also uncommented this line to provide more console output - ‘-DLOG_LEVEL=LOG_LEVEL_TRACE’
and I don’t know if you already monitor the servicedata, if any, in the log or with MQTT Explorer, but it would be good to know what raw servicedata message is actually being tried to decode.
Other than the above suggestion I’m afraid this is out of my area of knowledge, and someone else will need to have a look.
BTW - Did you make any changes/additions to the esp32dev-ble-cont environment, or are you just building with its default definition in platformio.ini?
Using #CGH1-test prevents any reboots. Topics are being published as expected.
I havent modified anything other than what you’ve suggested, and uncommenting default_envs = esp32dev-ble-cont, and the trace line
One side note - I expected the config topic to have dev_cla set to cover so homeassistant would recognize it as a cover, not general sensor. Maybe my understanding of how things work is wrong. Here’s the config topic contents for reference
As I don’t use HA nor auto discovery myself I’m not one to comment on this but I’m sure your detailed information will be read by others well versed with the HA discovery subject.
Hope you can enjoy OpenMQTTGateway to its fullest now