adamrbell 5890bf7be6 Fix for CGD1 detection (#810)
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.
2020-11-24 10:19:28 -06:00
2020-07-27 06:56:34 -05:00
2019-07-18 22:45:45 +02:00
2020-11-24 10:19:28 -06:00
2020-06-09 16:09:23 -05:00
2020-06-09 16:09:23 -05:00
2018-04-29 21:41:37 +02:00
2017-07-01 22:17:29 +02:00
2020-04-28 14:12:07 -05:00
2017-06-02 22:11:14 +02:00
2019-10-30 22:15:40 +01:00
2020-06-09 16:09:23 -05:00
2020-09-10 08:10:14 -05:00

Community forum GitLicense Download count

Build Check Code Format Codacy Badge Percentage of issues still open

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

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:

S
Description
No description provided
Readme GPL-3.0
72 MiB
0 Stars 1 Watchers 0 Forks
2026-10-29 20:50:05 +00:00
Languages
C++ 76.1%
C 13.6%
Shell 7.2%
JavaScript 2.3%
Python 0.8%