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

Support for humidifiers #35

Open
zyphlar opened this issue Aug 21, 2022 · 0 comments
Open

Support for humidifiers #35

zyphlar opened this issue Aug 21, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@zyphlar
Copy link

zyphlar commented Aug 21, 2022

Is your feature request related to a problem? Please describe.
I got a Govee humidifier thinking "I'll just have it turn on when my Nest humidify is low!" "It's okay, Google has APIs!" -- little did I realize...

Describe the solution you'd like
I've logged a few packets, but I also notice that HomeBridge has widespread support for Govee devices and I wonder if some of that can be reused: https://github.com/bwp91/homebridge-govee

Additional context

My H7141 humidifier advertises itself with the name ihoment_H7141_XXXX where XXXX is the last 4 hex digits of its MAC address.

The H7141 seems to be manufacturer ID 0x8802 or 34818, with an manufacturer-specific data of 0xec0001010040, so:

34818: b"\xec\x00\x01\x01\x00\x40",

I also logged packets like this:

b"\xec\x00\x01\x01\x00\x00",
b"\xec\x00\x01\x01\x01\x00",
b"\t\xff\x02\x88\xec\x00\x01\x01\x00\x00",
b"\t\xff\x02\x88\xec\x00\x01\x01\x01@"

In my personal notes using the nRF Android scanner, I also found

Humidifier on: 0xec0001010100
Humidifier off: 0xec0001010000
UUID: 00010203-0405-0607-0809-0a0b0c0d1910
Services: 00010203-0405-0607-0809-0a0b0c0d2b10
    00010203-0405-0607-0809-0a0b0c0d2b11
Service 2b10 data:
    AA-01-01-00-FF-FF-FF-00-00-00-00-00-00-00-00-00-00-00-00-55
    AA-06-31-2E-30-30-2E-32-31-00-00-00-9E
    33-B2-00-00-(...)-00-00-81

I plan on doing more sniffing but it's extremely slow going and uninformative and I wonder if the HomeBridge code might give us a leg up.

@zyphlar zyphlar added the enhancement New feature or request label Aug 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant