-
-
Notifications
You must be signed in to change notification settings - Fork 574
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Status not worked for AirHumidifier CA1 #383
Comments
Did you block the internet access of the device? |
I didn't block the internet for the device. |
Alright! Could you provide the output of:
|
Here it is:
|
Perfect. Now we try to request some properties:
Please reduce the property list step by step. There must be a property which isn't supported and must not be requested. |
I'll tried this. Error the same:
I found, that using one parameter works fine and returns answer but using two or more parameters gets Timeout error and turn off the device
|
Could you request all properties one by one (f.e. by a foreach loop)? I want to make sure all properties are supported. |
There is a fan device (hardware) which has the same behavior: https://github.com/rytilahti/python-miio/blob/master/miio/fan.py#L287-L295 |
I checked all properties one by one and all works except:
|
Just in case: method "depth" returns water level. The maximum water level is 120. |
Could you install the fixed version just for testing:
Thanks in advance! |
I'm afraid there is the same error.
And see slightly different stack trace:
Asking one by one still works, but sometimes takes 15+ seconds:
|
sudo pip3 install https://github.com/syssi/python-miio/archive/feature/fix-air-humidifier-ca1.zip -U
|
@zoral566 Could you provide the output of
Thanks in advance! |
pi@raspberrypi:~/domoticz/plugins/domoticz-AirHumidifier $ sudo pip3 install -U https://github.com/rytilahti/python-miio/archive/master.zip pi@raspberrypi:~/domoticz/plugins/domoticz-AirHumidifier $ miiocli airhumidifierca1 --ip 192.168.1.204 --token 581386dbf6457cdf84aef497e6a167fd info Error: No such command "airhumidifierca1". pi@raspberrypi:~/domoticz/plugins/domoticz-AirHumidifier $ miiocli airhumidifierca1 --ip 192.168.1.204 --token 581386dbf6457cdf84aef497e6a167fd status Error: No such command "airhumidifierca1". Thank you for dealing with the problem |
It looks like you've installed the package multiple times to different locations. The version you are calling (
|
really was in two places. Under / home /pi/.local and / usr / local / bin /. i run run from (without sudo ) pip3 install https://github.com/rytilahti/python-miio/archive/master.zip -U |
I have the same issue. status() not working and properties can be retrieved one by one, not all in one request. 'pip3 install https://github.com/rytilahti/python-miio/archive/master.zip -U' didn't solve my problem. Commands for info and status work well.
Could you please help me with the issue? |
Please create a new issue and provide a code example. |
Thanks, I've created #606. |
Hi,
I have a problem with controlling Xiaomi (SmartMi) Humidifier 2:
firmware version: 1.5.6.1024
python-miio version: 4.0.1
Here is my code:
and what I got:
By the way
h.on()
,h.off()
, andh.set_mode()
works.Do you have any clue what is wrong?
The text was updated successfully, but these errors were encountered: