-
Notifications
You must be signed in to change notification settings - Fork 14
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
Please add Support for Xiaomi Air Purifier S2 #28
Comments
I'll make a testintegration in the next days, but all tests have to make by you. I dont own the device so i can't test. |
Ok, i've made a testversion. There are two possible protocols, so first, we have to find out which one is used. Ive just integrated power and mode function for testing, if it works i will complete with the otherr functions. If not, we try the other protocol. Now your part, please copy the file zhimi-airpurifier.mc1.js from here: https://github.com/Pittini/iobroker-nodemihome/tree/main/DefinitionfilesForNode-Mihome to your node-mihome devices directory as described in the readme. |
You've restartet the js adapter after copying the .js file into the directory? Thats important! But, if yes, then we try the second protocol. |
yes I did :) |
Uhh, i see, a mistake at my side, it was really the 0.2.15 and not the new one. Now i've uploaded the right one, sorry. Please try again with the actual 0.2.16 |
Looks good, can you switch power via datapoint?? |
yes, without any issues. |
Ok, so we have the right protocol. I'll set the other functions now, and after that you have to copy the .js again and restart the js controller. Give me an hour or so. |
Ok, lets try it. Please first delete the created datapoint tree (the script will renew it) of the device in iob. Then copy the new .js file and the new script (no new version number) as you did before. Start script, if working, test all datapoints and report. |
Sure. Done. Get the 0.2.16 again. You have to delete the datapoints first again, or the changed setting has no effect. |
Works perfectly! Thank you, Pittini! |
I own a Air Purifier S2 (zhimi.airpurifier.mc1) but atm there is no chance to get this device working with iobroker. Last chance will be your script :)
Please add support for it.
The text was updated successfully, but these errors were encountered: