Adding Decoder, compiling error #209
Unanswered
timtegrator
asked this question in
New devices/things integration
Replies: 1 comment 4 replies
-
You didn't check out the repository's submodules. You can do this like this: git submodule update --init --recursive |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Guys
I am running TheengsGateway for while with Govee H5075 Humidity sensors and OpenHab. Now I try to add Govee H5174 sensors as well. I am not very familiar with coding anymore but after realizing that the code is written in C++ I tried to add a decoder file and compiled the project.
Raw data looks like this:
{"manufacturerdata": "0100010103ba5b64", "name": "GVH5174_354E", "id": "A4:C1:38:25:35:4E", "rssi": -34}
Instead of UUID of 88EC the identifier here is 0100 ?
Temperature can be found in the manufacturer's data, bytes 4 and 5 (starting with 0). Bit 7 of byte 4 is a sign bit. The rest of byte 4 together with the high 6 bits of byte 5 are the temperature in increments of 0.1 degrees C.
So far so good, I'll figure it out. But my problem is that I can not compile it on my machine. Any idea?
Beta Was this translation helpful? Give feedback.
All reactions