Hypfer / esp8266-deerma-humidifier

Cloud-free wifi humidification
Apache License 2.0
46 stars 8 forks source link

Looks like protocol is changed in newest devices #6

Open yobushka opened 1 year ago

yobushka commented 1 year ago

i turn esp82xx device into web-terminal, and try to figure out, - why control messages is not working, and status is also, not updating...

so on terminal line (after inital steps with my typing of "ok" and "cloud"), i found something like this:

properties_changed 2 1 truee properties_changed 2 1 truee properties_changed 2 1 truee properties_changed 2 1 truee properties_changed 2 1 truee properties_changed 2 1 truee properties_changed 2 1 truee properties_changed 2 1 truee properties_changed 7 1 false and many lines like that...

there is no long string containg status anymore... So i think it's no working with newer devices anymore...

Hypfer commented 1 year ago

Taken from the readme:

The internal Mi Model ID of the supported device is deerma.humidifier.jsq. The Model on the packaging being ZNJSQ01DEM.

What is the model ID of your device?

kain commented 1 year ago

@yobushka you can try this forked version

@Hypfer Thank you for your great work! AFAIK the model ID and packaging label of this device not changed, but internal hardware and software changed a little with time. I have two of this with different manufacturing dates. Older one working OK with your firmware, newer one works only with this fork. I have patched it to get back Homeassistant integration and device naming scheme.

sonycim commented 10 months ago

@yobushka you can try this forked version

@Hypfer Thank you for your great work! AFAIK the model ID and packaging label of this device not changed, but internal hardware and software changed a little with time. I have two of this with different manufacturing dates. Older one working OK with your firmware, newer one works only with this fork. I have patched it to get back Homeassistant integration and device naming scheme.

Hi!

I have the same issue with home assistant. Can you give me your working code? I don't know how to modify the code to make it work under HA.

One more thing: it would be nice, if the devices web page had at least a power button.

so-saf commented 8 months ago

@sonycim You might try fork from the author of this question, it works on my humidifier in conjunction with my home assistant.

P.S.: don't forget to specify hostname and location at the first setup, they are needed to create tops in mqtt broker.