Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Newer H5174 seems to (mostly) work #6

Open
geoffbon opened this issue Mar 11, 2021 · 1 comment
Open

Newer H5174 seems to (mostly) work #6

geoffbon opened this issue Mar 11, 2021 · 1 comment

Comments

@geoffbon
Copy link

I bought a H5174 from Amazon this week and it appears to work fine as a type 5 sensor.
Link here.

From one of the answered questions it appears this is a newer model of the H5074, with an upgraded sensor.
I have a question about the battery level, it seems to have wrong values, sometimes negative, and in the below example over 100.
Is this expected to be correct? Or, am I using the wrong type?

{
    "timestamp": "20210311194623",
    "mac-address": "A4:C1:38:99:FC:8B",
    "rssi": -57,
    "temperature": 42.8,
    "units": "F",
    "temperature-celsius": 6,
    "humidity": 68,
    "battery-pct": 111,
    "sensor-name": "",
    "location": "H5174 Fridge",
    "sensor-type": "5"
}

An example of a 99 debug dump:

Current local time and date: Thu Mar 11 19:08:50 2021
mac address =  A4:C1:38:99:FC:8B  location = H5174 Fridge device type = 99 advertising_packet_type = 004
==>0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 2 2 2 2 2 2 2 2 2 2 3 3 3 3 3 3 3 3 3 3 4 4 4 4 4 4 4 4 4 4 5 5 5 5 5 5 5 5 5 5 6 
==>0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 
==>                            0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 2
==>                            0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 
==>043E27020104008BFC9938C1A41B1AFF4C000215494E54454C4C495F524F434B535F48575075F2FFC2B9
==>__________ad________________________mmmmmmmmmmmmtttthhbbzbzbccrr
rssi         = -71
@geoffbon
Copy link
Author

Ok, an update, it's my fault - it appears that it should be a type 4, this gives accurate values, and a battery value of 100%.
So it's probably worth adding to your list in README.md.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant