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

Looks like protocol is changed in newest devices #6

Open
yobushka opened this issue Dec 16, 2022 · 4 comments
Open

Looks like protocol is changed in newest devices #6

yobushka opened this issue Dec 16, 2022 · 4 comments

Comments

@yobushka
Copy link

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
Copy link
Owner

Hypfer commented Dec 16, 2022

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
Copy link

kain commented Jan 1, 2023

@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
Copy link

sonycim commented Dec 29, 2023

@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
Copy link

so-saf commented Feb 12, 2024

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

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

5 participants