esp8266-deerma-humidifier icon indicating copy to clipboard operation
esp8266-deerma-humidifier copied to clipboard

Looks like protocol is changed in newest devices

Open yobushka opened this issue 2 years ago • 4 comments

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...

yobushka avatar Dec 16 '22 15:12 yobushka

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?

Hypfer avatar Dec 16 '22 15:12 Hypfer

@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.

kain avatar Jan 01 '23 18:01 kain

@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.

sonycim avatar Dec 29 '23 09:12 sonycim

@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.

so-saf avatar Feb 12 '24 20:02 so-saf