我粗略的查了一下,发现好像我所有未接入HA的米家产品都不是MIoT的?汗。
尝试过N多设备,都不支持,但是提供了所有log文件,是否也能参加评比呢?哈哈。
我想要个homekit 月球灯。。。哈哈哈哈
- Yeelight 皓白3030 LED面板灯
京东购买链接:https://item.jd.com/100009281736.html#crumb-wrap
Model: yeelink.light.panel1
Jeremy@Jeremys-MBP ~ % miiocli -d device --ip 192.168.1.101 --token 9f04bfxxxxxxx6228d3 raw_command get_properties “[{‘did’: ‘result’, ‘siid’: 2, ‘piid’: 1}]”
INFO:miio.cli:Debug mode active
Running command raw_command
DEBUG:miio.protocol:Unable to decrypt, returning raw bytes: b’’
DEBUG:miio.miioprotocol:Got a response: Container:
data = Container:
data = b’’ (total 0)
value = b’’ (total 0)
offset1 = 32
offset2 = 32
length = 0
header = Container:
data = b’!1\x00 \x00\x00\x00\x00\x13\xf9\xfc\xf1\x00\x0en\x00’ (total 16)
value = Container:
length = 32
unknown = 0
device_id = unhexlify(‘13f9fcf1’)
ts = 1970-01-11 22:41:04
offset1 = 0
offset2 = 16
length = 16
checksum = b’\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff’ (total 16)
DEBUG:miio.miioprotocol:Discovered 13f9fcf1 with ts: 1970-01-11 22:41:04, token: b’ffffffffffffffffffffffffffffffff’
DEBUG:miio.miioprotocol:192.168.1.101:54321 >>: {‘id’: 1, ‘method’: ‘get_properties’, ‘params’: [{‘did’: ‘result’, ‘siid’: 2, ‘piid’: 1}]}
DEBUG:miio.miioprotocol:192.168.1.101:54321 (ts: 1970-01-11 22:41:08, id: 1) << {‘id’: 1, ‘error’: {‘code’: -9999, ‘message’: ‘user ack timeout’}}
DEBUG:miio.click_common:Exception: {‘code’: -9999, ‘message’: ‘user ack timeout’}
Traceback (most recent call last):
File “/usr/local/lib/python3.9/site-packages/miio/click_common.py”, line 59, in call
return self.main(*args, **kwargs)
File “/usr/local/lib/python3.9/site-packages/click/core.py”, line 782, in main
rv = self.invoke(ctx)
File “/usr/local/lib/python3.9/site-packages/click/core.py”, line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/usr/local/lib/python3.9/site-packages/click/core.py”, line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/usr/local/lib/python3.9/site-packages/click/core.py”, line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/usr/local/lib/python3.9/site-packages/click/core.py”, line 610, in invoke
return callback(*args, **kwargs)
File “/usr/local/lib/python3.9/site-packages/miio/click_common.py”, line 280, in wrap
kwargs[“result”] = func(*args, **kwargs)
File “/usr/local/lib/python3.9/site-packages/click/decorators.py”, line 73, in new_func
return ctx.invoke(f, obj, *args, **kwargs)
File “/usr/local/lib/python3.9/site-packages/click/core.py”, line 610, in invoke
return callback(*args, **kwargs)
File “/usr/local/lib/python3.9/site-packages/miio/click_common.py”, line 245, in command_callback
return miio_command.call(miio_device, *args, **kwargs)
File “/usr/local/lib/python3.9/site-packages/miio/click_common.py”, line 193, in call
return method(*args, **kwargs)
File “/usr/local/lib/python3.9/site-packages/miio/device.py”, line 162, in raw_command
return self.send(command, parameters)
File “/usr/local/lib/python3.9/site-packages/miio/device.py”, line 143, in send
return self._protocol.send(
File “/usr/local/lib/python3.9/site-packages/miio/miioprotocol.py”, line 213, in send
self._handle_error(payload[“error”])
File “/usr/local/lib/python3.9/site-packages/miio/miioprotocol.py”, line 273, in _handle_error
raise DeviceError(error)
miio.exceptions.DeviceError: {‘code’: -9999, ‘message’: ‘user ack timeout’}
Error: {‘code’: -9999, ‘message’: ‘user ack timeout’}
- Yeelight 凉霸
京东购买链接:https://item.jd.com/100009281736.html#crumb-wrap
Model: yeelink.ven_fan.vf1
jeremy@Jeremys-MBP ~ % miiocli -d device --ip 192.168.1.141 --token 07bexxxxxxxxxxxxx06f9a raw_command get_properties “[{‘did’: ‘result’, ‘siid’: 2, ‘piid’: 1}]”
INFO:miio.cli:Debug mode active
Running command raw_command
DEBUG:miio.protocol:Unable to decrypt, returning raw bytes: b’’
DEBUG:miio.miioprotocol:Got a response: Container:
data = Container:
data = b’’ (total 0)
value = b’’ (total 0)
offset1 = 32
offset2 = 32
length = 0
header = Container:
data = b’!1\x00 \x00\x00\x00\x00\x12\xae\xb52\x00\x05tF’ (total 16)
value = Container:
length = 32
unknown = 0
device_id = unhexlify(‘12aeb532’)
ts = 1970-01-05 03:17:26
offset1 = 0
offset2 = 16
length = 16
checksum = b’\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff’ (total 16)
DEBUG:miio.miioprotocol:Discovered 12aeb532 with ts: 1970-01-05 03:17:26, token: b’ffffffffffffffffffffffffffffffff’
DEBUG:miio.miioprotocol:192.168.1.141:54321 >>: {‘id’: 1, ‘method’: ‘get_properties’, ‘params’: [{‘did’: ‘result’, ‘siid’: 2, ‘piid’: 1}]}
DEBUG:miio.miioprotocol:192.168.1.141:54321 (ts: 1970-01-05 03:17:30, id: 1) << {‘id’: 1, ‘error’: {‘code’: -9999, ‘message’: ‘user ack timeout’}, ‘exe_time’: 4020}
DEBUG:miio.click_common:Exception: {‘code’: -9999, ‘message’: ‘user ack timeout’}
Traceback (most recent call last):
File “/usr/local/lib/python3.9/site-packages/miio/click_common.py”, line 59, in call
return self.main(*args, **kwargs)
File “/usr/local/lib/python3.9/site-packages/click/core.py”, line 782, in main
rv = self.invoke(ctx)
File “/usr/local/lib/python3.9/site-packages/click/core.py”, line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/usr/local/lib/python3.9/site-packages/click/core.py”, line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/usr/local/lib/python3.9/site-packages/click/core.py”, line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/usr/local/lib/python3.9/site-packages/click/core.py”, line 610, in invoke
return callback(*args, **kwargs)
File “/usr/local/lib/python3.9/site-packages/miio/click_common.py”, line 280, in wrap
kwargs[“result”] = func(*args, **kwargs)
File “/usr/local/lib/python3.9/site-packages/click/decorators.py”, line 73, in new_func
return ctx.invoke(f, obj, *args, **kwargs)
File “/usr/local/lib/python3.9/site-packages/click/core.py”, line 610, in invoke
return callback(*args, **kwargs)
File “/usr/local/lib/python3.9/site-packages/miio/click_common.py”, line 245, in command_callback
return miio_command.call(miio_device, *args, **kwargs)
File “/usr/local/lib/python3.9/site-packages/miio/click_common.py”, line 193, in call
return method(*args, **kwargs)
File “/usr/local/lib/python3.9/site-packages/miio/device.py”, line 162, in raw_command
return self.send(command, parameters)
File “/usr/local/lib/python3.9/site-packages/miio/device.py”, line 143, in send
return self._protocol.send(
File “/usr/local/lib/python3.9/site-packages/miio/miioprotocol.py”, line 213, in send
self._handle_error(payload[“error”])
File “/usr/local/lib/python3.9/site-packages/miio/miioprotocol.py”, line 273, in _handle_error
raise DeviceError(error)
miio.exceptions.DeviceError: {‘code’: -9999, ‘message’: ‘user ack timeout’}
Error: {‘code’: -9999, ‘message’: ‘user ack timeout’}
3.Name: Aqara晾衣架
Model: lumi.airer.acn01
京东link: https://item.jd.com/49751266327.html
jeremy@Jeremys-MBP ~ % miiocli -d device --ip 192.168.1.231 --token a95dxxxxxxxxxxxxx55572 raw_command get_properties “[{‘did’: ‘result’, ‘siid’: 2, ‘piid’: 1}]”
INFO:miio.cli:Debug mode active
Running command raw_command
DEBUG:miio.protocol:Unable to decrypt, returning raw bytes: b’’
DEBUG:miio.miioprotocol:Got a response: Container:
data = Container:
data = b’’ (total 0)
value = b’’ (total 0)
offset1 = 32
offset2 = 32
length = 0
header = Container:
data = b’!1\x00 \x00\x00\x00\x00\x06\xfa9=\x00\x0eq\x97’ (total 16)
value = Container:
length = 32
unknown = 0
device_id = unhexlify(‘06fa393d’)
ts = 1970-01-11 22:56:23
offset1 = 0
offset2 = 16
length = 16
checksum = b’\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff’ (total 16)
DEBUG:miio.miioprotocol:Discovered 06fa393d with ts: 1970-01-11 22:56:23, token: b’ffffffffffffffffffffffffffffffff’
DEBUG:miio.miioprotocol:192.168.1.231:54321 >>: {‘id’: 1, ‘method’: ‘get_properties’, ‘params’: [{‘did’: ‘result’, ‘siid’: 2, ‘piid’: 1}]}
DEBUG:miio.miioprotocol:192.168.1.231:54321 (ts: 1970-01-11 22:56:27, id: 1) << {‘id’: 1, ‘error’: {‘code’: -9999, ‘message’: ‘user ack timeout’}}
DEBUG:miio.click_common:Exception: {‘code’: -9999, ‘message’: ‘user ack timeout’}
Traceback (most recent call last):
File “/usr/local/lib/python3.9/site-packages/miio/click_common.py”, line 59, in call
return self.main(*args, **kwargs)
File “/usr/local/lib/python3.9/site-packages/click/core.py”, line 782, in main
rv = self.invoke(ctx)
File “/usr/local/lib/python3.9/site-packages/click/core.py”, line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/usr/local/lib/python3.9/site-packages/click/core.py”, line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/usr/local/lib/python3.9/site-packages/click/core.py”, line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/usr/local/lib/python3.9/site-packages/click/core.py”, line 610, in invoke
return callback(*args, **kwargs)
File “/usr/local/lib/python3.9/site-packages/miio/click_common.py”, line 280, in wrap
kwargs[“result”] = func(*args, **kwargs)
File “/usr/local/lib/python3.9/site-packages/click/decorators.py”, line 73, in new_func
return ctx.invoke(f, obj, *args, **kwargs)
File “/usr/local/lib/python3.9/site-packages/click/core.py”, line 610, in invoke
return callback(*args, **kwargs)
File “/usr/local/lib/python3.9/site-packages/miio/click_common.py”, line 245, in command_callback
return miio_command.call(miio_device, *args, **kwargs)
File “/usr/local/lib/python3.9/site-packages/miio/click_common.py”, line 193, in call
return method(*args, **kwargs)
File “/usr/local/lib/python3.9/site-packages/miio/device.py”, line 162, in raw_command
return self.send(command, parameters)
File “/usr/local/lib/python3.9/site-packages/miio/device.py”, line 143, in send
return self._protocol.send(
File “/usr/local/lib/python3.9/site-packages/miio/miioprotocol.py”, line 213, in send
self._handle_error(payload[“error”])
File “/usr/local/lib/python3.9/site-packages/miio/miioprotocol.py”, line 273, in _handle_error
raise DeviceError(error)
miio.exceptions.DeviceError: {‘code’: -9999, ‘message’: ‘user ack timeout’}
Error: {‘code’: -9999, ‘message’: ‘user ack timeout’}
- Name: Yeelight 烁影直流风扇灯
Model: yeelink.light.fancl2
京东Link:https://item.jd.com/71184611990.html
jeremy@Jeremys-MBP ~ % miiocli -d device --ip 192.168.1.247 --token 15exxxxxxxxxxxxxxxxxxe85 raw_command get_properties “[{‘did’: ‘result’, ‘siid’: 2, ‘piid’: 1}]”
INFO:miio.cli:Debug mode active
Running command raw_command
DEBUG:miio.protocol:Unable to decrypt, returning raw bytes: b’’
DEBUG:miio.miioprotocol:Got a response: Container:
data = Container:
data = b’’ (total 0)
value = b’’ (total 0)
offset1 = 32
offset2 = 32
length = 0
header = Container:
data = b’!1\x00 \x00\x00\x00\x00\x13\xe5\x91P\x00\x04\xdd)’ (total 16)
value = Container:
length = 32
unknown = 0
device_id = unhexlify(‘13e59150’)
ts = 1970-01-04 16:32:41
offset1 = 0
offset2 = 16
length = 16
checksum = b’\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff’ (total 16)
DEBUG:miio.miioprotocol:Discovered 13e59150 with ts: 1970-01-04 16:32:41, token: b’ffffffffffffffffffffffffffffffff’
DEBUG:miio.miioprotocol:192.168.1.247:54321 >>: {‘id’: 1, ‘method’: ‘get_properties’, ‘params’: [{‘did’: ‘result’, ‘siid’: 2, ‘piid’: 1}]}
DEBUG:miio.miioprotocol:192.168.1.247:54321 (ts: 1970-01-04 16:32:41, id: 1) << {‘id’: 1, ‘result’: [{‘did’: ‘result’, ‘siid’: 2, ‘piid’: 1, ‘code’: 0, ‘value’: False}], ‘exe_time’: 230}
[{‘did’: ‘result’, ‘siid’: 2, ‘piid’: 1, ‘code’: 0, ‘value’: False}]
5.Name: 云米4L YM-R4001A 饮水机
Model: yunmi.kettle.r3
京东购买link:https://item.jd.com/7937908.html
jeremy@Jeremys-MBP ~ % miiocli -d device --ip 192.168.1.118 --token cff1xxxxxxxxxxxxxxxxbb9 raw_command get_properties “[{‘did’: ‘result’, ‘siid’: 2, ‘piid’: 1}]”
INFO:miio.cli:Debug mode active
Running command raw_command
DEBUG:miio.protocol:Unable to decrypt, returning raw bytes: b’’
DEBUG:miio.miioprotocol:Got a response: Container:
data = Container:
data = b’’ (total 0)
value = b’’ (total 0)
offset1 = 32
offset2 = 32
length = 0
header = Container:
data = b’!1\x00 \x00\x00\x00\x00\r\xfd\x8el\x00\x05w\x90’ (total 16)
value = Container:
length = 32
unknown = 0
device_id = unhexlify(‘0dfd8e6c’)
ts = 1970-01-05 03:31:28
offset1 = 0
offset2 = 16
length = 16
checksum = b’\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff’ (total 16)
DEBUG:miio.miioprotocol:Discovered 0dfd8e6c with ts: 1970-01-05 03:31:28, token: b’ffffffffffffffffffffffffffffffff’
DEBUG:miio.miioprotocol:192.168.1.118:54321 >>: {‘id’: 1, ‘method’: ‘get_properties’, ‘params’: [{‘did’: ‘result’, ‘siid’: 2, ‘piid’: 1}]}
DEBUG:miio.miioprotocol:192.168.1.118:54321 (ts: 1970-01-05 03:31:28, id: 1) << {‘id’: 1, ‘result’: [{‘did’: ‘result’, ‘siid’: 2, ‘piid’: 1, ‘code’: -4004}], ‘exe_time’: 150}
[{‘did’: ‘result’, ‘siid’: 2, ‘piid’: 1, ‘code’: -4004}]
5.Name: Yeelight阅读灯凯叔讲故事版
Model: yeelink.light.lamp5
京东link:https://item.jd.com/44690256656.html#crumb-wrap
jeremy@Jeremys-MBP ~ % miiocli -d device --ip 192.168.1.230 --token 8a1xxxxxxxxxxxxxxxxxxxxx250d raw_command get_properties “[{‘did’: ‘result’, ‘siid’: 2, ‘piid’: 1}]”
INFO:miio.cli:Debug mode active
Running command raw_command
DEBUG:miio.protocol:Unable to decrypt, returning raw bytes: b’’
DEBUG:miio.miioprotocol:Got a response: Container:
data = Container:
data = b’’ (total 0)
value = b’’ (total 0)
offset1 = 32
offset2 = 32
length = 0
header = Container:
data = b’!1\x00 \x00\x00\x00\x00\x073\xcf}\x00\x00\xad\xa6’ (total 16)
value = Container:
length = 32
unknown = 0
device_id = unhexlify(‘0733cf7d’)
ts = 1970-01-01 12:20:54
offset1 = 0
offset2 = 16
length = 16
checksum = b’\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00’ (total 16)
DEBUG:miio.miioprotocol:Discovered 0733cf7d with ts: 1970-01-01 12:20:54, token: b’00000000000000000000000000000000’
DEBUG:miio.miioprotocol:192.168.1.230:54321 >>: {‘id’: 1, ‘method’: ‘get_properties’, ‘params’: [{‘did’: ‘result’, ‘siid’: 2, ‘piid’: 1}]}
DEBUG:miio.miioprotocol:192.168.1.230:54321 (ts: 1970-01-01 12:20:54, id: 1) << {‘error’: {‘code’: -10000, ‘message’: ‘Method not found.’}, ‘id’: 1}
DEBUG:miio.click_common:Exception: {‘code’: -10000, ‘message’: ‘Method not found.’}
Traceback (most recent call last):
File “/usr/local/lib/python3.9/site-packages/miio/click_common.py”, line 59, in call
return self.main(*args, **kwargs)
File “/usr/local/lib/python3.9/site-packages/click/core.py”, line 782, in main
rv = self.invoke(ctx)
File “/usr/local/lib/python3.9/site-packages/click/core.py”, line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/usr/local/lib/python3.9/site-packages/click/core.py”, line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/usr/local/lib/python3.9/site-packages/click/core.py”, line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/usr/local/lib/python3.9/site-packages/click/core.py”, line 610, in invoke
return callback(*args, **kwargs)
File “/usr/local/lib/python3.9/site-packages/miio/click_common.py”, line 280, in wrap
kwargs[“result”] = func(*args, **kwargs)
File “/usr/local/lib/python3.9/site-packages/click/decorators.py”, line 73, in new_func
return ctx.invoke(f, obj, *args, **kwargs)
File “/usr/local/lib/python3.9/site-packages/click/core.py”, line 610, in invoke
return callback(*args, **kwargs)
File “/usr/local/lib/python3.9/site-packages/miio/click_common.py”, line 245, in command_callback
return miio_command.call(miio_device, *args, **kwargs)
File “/usr/local/lib/python3.9/site-packages/miio/click_common.py”, line 193, in call
return method(*args, **kwargs)
File “/usr/local/lib/python3.9/site-packages/miio/device.py”, line 162, in raw_command
return self.send(command, parameters)
File “/usr/local/lib/python3.9/site-packages/miio/device.py”, line 143, in send
return self._protocol.send(
File “/usr/local/lib/python3.9/site-packages/miio/miioprotocol.py”, line 213, in send
self._handle_error(payload[“error”])
File “/usr/local/lib/python3.9/site-packages/miio/miioprotocol.py”, line 273, in _handle_error
raise DeviceError(error)
miio.exceptions.DeviceError: {‘code’: -10000, ‘message’: ‘Method not found.’}
Error: {‘code’: -10000, ‘message’: ‘Method not found.’}
6.Name: 米家飞利浦护眼灯
Model: philips.light.rwread
京东Link: https://item.jd.com/100007255308.html
jeremy@Jeremys-MBP ~ % miiocli -d device --ip 192.168.1.248 --token ac7axxxxxxxxxxxxxxxx77ffc raw_command get_properties “[{‘did’: ‘result’, ‘siid’: 2, ‘piid’: 1}]”
INFO:miio.cli:Debug mode active
Running command raw_command
DEBUG:miio.protocol:Unable to decrypt, returning raw bytes: b’’
DEBUG:miio.miioprotocol:Got a response: Container:
data = Container:
data = b’’ (total 0)
value = b’’ (total 0)
offset1 = 32
offset2 = 32
length = 0
header = Container:
data = b’!1\x00 \x00\x00\x00\x00\x0e\xa6\xfb\xce\x00\x01\xdc\x1a’ (total 16)
value = Container:
length = 32
unknown = 0
device_id = unhexlify(‘0ea6fbce’)
ts = 1970-01-02 09:51:22
offset1 = 0
offset2 = 16
length = 16
checksum = b’\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff’ (total 16)
DEBUG:miio.miioprotocol:Discovered 0ea6fbce with ts: 1970-01-02 09:51:22, token: b’ffffffffffffffffffffffffffffffff’
DEBUG:miio.miioprotocol:192.168.1.248:54321 >>: {‘id’: 1, ‘method’: ‘get_properties’, ‘params’: [{‘did’: ‘result’, ‘siid’: 2, ‘piid’: 1}]}
DEBUG:miio.miioprotocol:192.168.1.248:54321 (ts: 1970-01-02 09:51:22, id: 1) << {‘id’: 1, ‘result’: [{‘did’: ‘result’, ‘siid’: 2, ‘piid’: 1, ‘code’: -4004}], ‘exe_time’: 240}
[{‘did’: ‘result’, ‘siid’: 2, ‘piid’: 1, ‘code’: -4004}]