-
-
Notifications
You must be signed in to change notification settings - Fork 598
Xiaomi Rice Cooker Normal5: get_prop only works if "all" properties are requested #380
Copy link
Copy link
Closed
Description
- model: chunmi.cooker.normal5
- firmware version: 1.2.8.0008
- python-miio version: 4.0.1
~/.virtualenvs/ha/bin/mirobo --ip 192.168.1.2 --token xxx raw_command get_prop '["all"]'
Sending cmd get_prop with params ['all']
['waiting', '0004', 'null', '34', '2', '-1', '1440', '100f', '05040f', '0008570a', '0100', 'ffff....']
~/.virtualenvs/ha/bin/mirobo --ip 192.168.1.2 --token xxx raw_command get_prop '["version"]'
Sending cmd get_prop with params ['version']
ERROR:miio.device:Got error when receiving: timed out
Error: No response from the device
~/.virtualenvs/ha/bin/mirobo --ip 192.168.1.2 --token xxx raw_command get_prop '["menu"]'
Sending cmd get_prop with params ['menu']
ERROR:miio.device:Unable to discover a device at address 192.168.42.150
Error: Unable to discover the device 192.168.42.150
~/.virtualenvs/ha/bin/mirobo --ip 192.168.1.2 --token xxx raw_command get_prop '["func", "menu", "stage", "temp", "t_func", "t_precook", "t_cook", "setting", "delay", "version", "favorite", "custom"]'
Sending cmd get_prop with params ['func', 'menu', 'stage', 'temp', 't_func', 't_precook', 't_cook', 'setting', 'delay', 'version', 'favorite', 'custom']
ERROR:miio.device:Got error when receiving: timed out
Error: No response from the deviceSo after I change https://github.com/rytilahti/python-miio/blob/0.4.1/miio/cooker.py#L729, now home assistant which calls status func works fine.
properties = ['func', 'menu', 'stage', 'temp', 't_func', 't_precook',
't_cook', 'setting', 'delay', 'version', 'favorite', 'custom']
- values = self.send("get_prop", properties)
+ values = self.send("get_prop", ['all'])Does anybody also have this output?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels