Before the fix:
{"id":"58:2D:34:50:A0:D0","name":"Qingping Alarm Clock","rssi":-82,"distance":11.4949,"servicedata":"080cd0a050342d580104c0007c02"}
The servicedata string does not match any pattern so is not parsed
After the fix:
{"id":"58:2D:34:50:A0:D0","name":"Qingping Alarm Clock","rssi":-83,"distance":12.61001,"model":"CGD1","tem":19.2,"tempc":19.2,"tempf":66.56,"hum":63.5}
The parser is invoked and the data is output as expected.
There are probably too many brackets (I'm not a C dev) and I can't test on whatever version of CGD1 broadcasts 080caf or 080c09 servicedata strings.
Questions, support please don't open an issue, go first to the docs and if you not find your answer go to the community forum
Documentation
The documentation is here
The reference sheet, with the list of all functions, pinouts is here
Download
Download OpenMQTTGateway from the releases page
Compatible items
-
List of supported devices, door/window sensors, PIR sensors, smoke detectors, weather stations...
-
List of compatible boards (Off the shelf or DIY) is available, RF Bridge, IR, BLE gateways...
-
List of compatible components to build your gateway, DHT, HM10, RF, IR emitters and receivers...
Contributors ✨
Thanks goes to these wonderful people who helped OpenMQTTGateway on Github and to the users contributions into the community.
Support/help
If you like the project and/or used it please consider supporting it! It can be done in different ways:
- Helping other users in the community
- Contribute to the code or the documentation
- Buy devices, boards or parts from the compatible web site, the devices and parts linked use affiliated links.
- Donate or sponsor the project developpers
- Make a video or a blog article about what you have done with OpenMQTTGateway and share it to the community
