Open daniel-dona opened 5 months ago
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...
For 3C is possible to reset filter life like this:
down action 4 1 3 1
Maybe is also possible for other models
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!
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
If you need somebody for testing count me in. Current behavior of my device drives me crazy :)
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? :)
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