esp8266-deerma-humidifier
esp8266-deerma-humidifier copied to clipboard
Looks like protocol is changed in newest devices
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...
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?
@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.
@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 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.