I’ve added the channels for the AIR PURIFIER 2. (zhimi.airpurifier.m1)
Should be available in market place in about 20 min.
Note, the conversions are not implemented yet, just the raw data
@Andrew_Pawelski
With help of @chrode found issue in the IOS token decryption. Pls update to the latest version from marketplace (available now) to have the binding decode your IOS token.
Hi! Just wanted to let you know, that I updated the binding to the newest version tonight and now it works. Perfect! Thank you so much for your Effort!!!
miio:basic:035CAFE2:filterusedhours → in raw data this is seconds currently; it reports the same value for a longer time… and internally seems to be updated in periodic cycles when division by 3600 is ,25 ,5 ,75 or a full decimal…
however in my case the value matches neither the run time of the device, of the filter or anything… so not sure what it actually is
miio:basic:035CAFE2:filtermaxlive → still a little typo here → maxliFe
update to this channel again… it seems to be the RUN TIME of the device itself in seconds…
I was confused before because the iOS version says something different… see below the screenshots of
iOS compared to ANdroid; (iOS needs to fully stop and restart the app to pull the correct value)
→ Run Time vs Working Time
→ air purified (seems to be runtime * 37; ignoring any fan speed setting )
miio:basic:035CAFE2:favoritelevel … is that read only? when I set it to a another level in the UI it reads back to level set via the official app in the next periodic cycle
Great to hear that my tool is helpful. Have done some work with various versions of adb.exe in 1.5 to cover as many different Android devices/versions as possible.
@illxi
Please update to the latest version, the database entry for your model should be in.
Your model is not tested yet. Would be great if you can see if all properties refresh for your model and feedback in the topic for the purifiers: Xiaomi Mi Air Purifier (Xiaomi Mi IO)
I am using the latest version. I also own an XiaoMi Purifier 2, the properties did refresh. But for all miio entries, including vacuum and purifiers, I got this Error: 404 thing.
I included the v6 this week and only made it available 2h ago on the market. Did you do the update fter my message and still had the error? If yes, can you send me the log. Otherwise, uninstall and re-install the binding from the marketplace.
Note: The workaround for it would be to enter the model code for your purifier 2 in the model config field of your v6, than it will use the database entries of the purifier 2
The vacuum should be added as miio:generic or as miio:vacuum, not as basic device as that will not work. If you have this error for the vacuum, pls send the debug log, I can see what is going wrong.
Thank you. I didn’t know it was just updated. The latest version worked for v6, and database entry error gone. But I still got the error 404, but I can’t find anything related in the log. I will post a screenshot.
Can it be that your oh version is bit older.
I used to have the same, but after some oh update it went away. I think it had to do with the firmware version feature. (as for me it started when the binding provided the firmware version no.)
Wrt to the first command not working… I indeed have seen that as well. I haven’t investigated it deeply as whatever command is failing, it will be executed in 30s again.
Pls post your logs (or pm) if the properties are not updating. Esp for the v6 I don’t know exactly what properties are supported by the device. If a
Non supported property is requested, the device will respond with a null for that property