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

Tested on the 3C model? #15

Open
daniel-dona opened this issue Jan 19, 2024 · 7 comments
Open

Tested on the 3C model? #15

daniel-dona opened this issue Jan 19, 2024 · 7 comments

Comments

@daniel-dona
Copy link

Have anyone tested it on the Xiaomi Mi Air Purifier 3C (zhimi.airpurifier.mb4)

https://miot-spec.org/miot-spec-v2/instance?type=urn:miot-spec-v2:device:air-purifier:0000A007:zhimi-mb4:2

@daniel-dona
Copy link
Author

Tested myself, not working as the property identifiers are quite different but I have almost finished adapting the code to work with the 3C model.

The protocol seems to be already documented https://github.com/blakadder/miot

Seems strange that there is not already a generic "miot" component for esphome...

@daniel-dona
Copy link
Author

For 3C is possible to reset filter life like this:

down action 4 1 3 1

Maybe is also possible for other models

@daniel-dona
Copy link
Author

imagen

@dhewg
Copy link

dhewg commented Jan 20, 2024

Seems strange that there is not already a generic "miot" component for esphome...

See https://github.com/dhewg/esphome-miot/blob/main/config/zhimi.airp.rmb1.yaml for my 4lite ;)
There're no docs yet, though the syntax should be pretty obvious and it's supposed to be easy to add new devices using the miot spec for your device. Let me know if that works!

@daniel-dona
Copy link
Author

Seems strange that there is not already a generic "miot" component for esphome...

See https://github.com/dhewg/esphome-miot/blob/main/config/zhimi.airp.rmb1.yaml for my 4lite ;) There're no docs yet, though the syntax should be pretty obvious and it's supposed to be easy to add new devices using the miot spec for your device. Let me know if that works!

That's so cool!

I'll give it a try, at the end is just a matter of using the right siid and piid... maybe even the config template can be created from the miot-spec.org page

@gfduszynski
Copy link

If you need somebody for testing count me in.
Current behavior of my device drives me crazy :)

@doe1097
Copy link

doe1097 commented May 9, 2024

Tested myself, not working as the property identifiers are quite different but I have almost finished adapting the code to work with the 3C model.

The protocol seems to be already documented https://github.com/blakadder/miot

Seems strange that there is not already a generic "miot" component for esphome...

Did you get it to work? And if so would you mind sharing it with us? :)

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

4 participants