openhab / openhab-addons

Add-ons for openHAB
https://www.openhab.org/
Eclipse Public License 2.0
1.9k stars 3.59k forks source link

[miio] Support of Smartmi Air Purifier zhimi.airpurifier.za1 #10526

Closed KHOne23 closed 3 years ago

KHOne23 commented 3 years ago

could you please add Support for the zhimi.airpurifier.za1 Smartmi Air Purifier test-zhimi.airpurifier.za1-20210415-162453.txt

marcelrv commented 3 years ago

@KHOne23 can you load the json file locally and run a refresh with the log:set debug org.openhab.binding.miio (all channels linked) and share the log. For details how to load the file locally pls see the readme

KHOne23 commented 3 years ago

@KHOne23 can you load the json file locally and run a refresh with the log:set debug org.openhab.binding.miio (all channels linked) and share the log. For details how to load the file locally pls see the readme

sorry i didn´t understand what i should do. Set Log Level to Debug ok. but which Json File you mean and what i should do? where i can find the Readme?

marcelrv commented 3 years ago

This readme https://www.openhab.org/addons/bindings/miio/#advanced-adding-local-database-files-to-support-new-devices

The json file you find by following the link to the PR in there is a json file with your device. If you download it and save it to your local drive in the right place it will show the channels for your device https://github.com/openhab/openhab-addons/pull/10534/files

KHOne23 commented 3 years ago

i have no idea how to do that, is there a howto?

marcelrv commented 3 years ago

You can change the setting in the mihome app and see what is the value you see in oh, so we can make a mapping for it. Alternatively cou can send values to the channel and see what is happening and/or what value range is accepted

KHOne23 commented 3 years ago

my problem is before :.-) i don´t know how to download the Files and where to put :-)