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

zhimi.airpurifier.v7 #7

Open
dmitriytim opened this issue Jul 22, 2020 · 4 comments
Open

zhimi.airpurifier.v7 #7

dmitriytim opened this issue Jul 22, 2020 · 4 comments

Comments

@dmitriytim
Copy link

dmitriytim commented Jul 22, 2020

miIO Info

{"result":{"life":323648,"cfg_time":0,"token":"","mac":"","fw_ver":"1.4.3_19105","hw_ver":"MW300","model":"zhimi.airpurifier.v7","wifi_fw_ver":"SD878x-14.76.36.p103-702.1.0-WM","ap":{"rssi":-63,"ssid":"smart","bssid":""},"netif":{"localIp":"192.168.1.68","mask":"255.255.255.0","gw":"192.168.1.8","gw_mac":"**"},"mmfree":132700,"ot":"otu","otu_stat":[370,355,552,3,546,25],"ott_stat":[0, 0, 0, 0]},"id":********}
добавьте пожалуйста zhimi.airpurifier.v7 Mi Air Purifier Pro v7

включение
/ajax/xiaomimiio.html?op=test_api_cmd&dip=192.168.1.68&dtoken=&dcmd=set_power&dopt=["on"]
выключение
/ajax/xiaomimiio.html?op=test_api_cmd&dip=192.168.1.68&dtoken=
&dcmd=set_power&dopt=["off"]

выключение дисплея
12:32:31 /ajax/xiaomimiio.html?op=test_api_cmd&dip=192.168.1.68&dtoken=&dcmd=set_led&dopt=["off"]
включение дисплея
12:32:31 /ajax/xiaomimiio.html?op=test_api_cmd&dip=192.168.1.68&dtoken=
&dcmd=set_led&dopt=["on"]

режимы
12:32:31 /ajax/xiaomimiio.html?op=test_api_cmd&dip=192.168.1.68&dtoken=&dcmd=set_mode&dopt=["auto"]
12:32:31 /ajax/xiaomimiio.html?op=test_api_cmd&dip=192.168.1.68&dtoken=
&dcmd=set_mode&dopt=["favorite"]
12:32:31 /ajax/xiaomimiio.html?op=test_api_cmd&dip=192.168.1.68&dtoken=***&dcmd=set_mode&dopt=["silent"]

скорость от 1-16
/ajax/xiaomimiio.html?op=test_api_cmd&dip=192.168.1.68&dtoken=&dcmd=set_level_favorite&dopt=[1]
/ajax/xiaomimiio.html?op=test_api_cmd&dip=192.168.1.68&dtoken=
&dcmd=set_level_favorite&dopt=[16]

включить защиту от детей
/ajax/xiaomimiio.html?op=test_api_cmd&dip=192.168.1.68&dtoken=***&dcmd=set_child_lock&dopt=["on"]

выключить защиту от детей
/ajax/xiaomimiio.html?op=test_api_cmd&dip=192.168.1.68&dtoken=***&dcmd=set_child_lock&dopt=["off"]

громкость 0-100
/ajax/xiaomimiio.html?op=test_api_cmd&dip=192.168.1.68&dtoken=&dcmd=set_volume&dopt=[0]
/ajax/xiaomimiio.html?op=test_api_cmd&dip=192.168.1.68&dtoken=
&dcmd=set_volume&dopt=[100]

@skysilver-lab
Copy link
Owner

Проверяли на совместимость с имеющимися в модуле другими моделями airpurifier? Команда запроса текущего статуса известна?

@dmitriytim
Copy link
Author

@skysilver-lab
Copy link
Owner

skysilver-lab commented Jul 29, 2020

Некоторые метрики не обновляют статус, значит не полностью идентичные модельки. По-быстрому не добавить поддержку, придется вникнуть.

@dmitriytim
Copy link
Author

говорите, что делать, я потестирую проверю.

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

2 participants