- 积分
- 562
- 金钱
- 514
- 威望
- 0
- 贡献
- 0
- HASS币
- 0
高级会员
- 积分
- 562
- 金钱
- 514
- HASS币
- 0
|
网关是Aqara hub E1,接入米家然后再用xiaomi gateway 3接入的homeassistant,其他的设备全部正常,但是后来又加了3个移动传感器,一直是未检测到移动,如下图,米家和HomeKit都可以正常检测到移动
重启路由器,重启homeassistant 重新添加子设备 都试过了。
有没有大佬救一救
以下是gateway 3的相关日志
此错误来自自定义集成。
Logger: custom_components.xiaomi_gateway3.core.gateway
Source: custom_components/xiaomi_gateway3/core/device.py:344
Integration: Xiaomi Gateway 3 (documentation, issues)
First occurred: 22:51:16 (5 occurrences)
Last logged: 22:56:57
192.168.31.166 | Processing MQTT: zigbee/send b'{"cmd":"report","id":2000000246,"did":"lumi.54ef441000665265","dev_src":"0","time":1667487075987,"rssi":-80,"mi_spec":[{"siid":2,"eiid":1,"arguments":[{"piid":1,"value":26}]}]}'
192.168.31.166 | Processing MQTT: zigbee/send b'{"cmd":"report","id":2000000249,"did":"lumi.54ef441000664a0e","dev_src":"0","time":1667487159147,"rssi":-75,"mi_spec":[{"siid":2,"eiid":1,"arguments":[{"piid":1,"value":31}]}]}'
192.168.31.166 | Processing MQTT: zigbee/send b'{"cmd":"report","id":2000000250,"did":"lumi.54ef441000665265","dev_src":"0","time":1667487164547,"rssi":-75,"mi_spec":[{"siid":2,"eiid":1,"arguments":[{"piid":1,"value":18}]}]}'
192.168.31.166 | Processing MQTT: zigbee/send b'{"cmd":"report","id":2000000257,"did":"lumi.54ef441000664a0e","dev_src":"0","time":1667487350907,"rssi":-87,"mi_spec":[{"siid":2,"eiid":1,"arguments":[{"piid":1,"value":33}]}]}'
192.168.31.166 | Processing MQTT: zigbee/send b'{"cmd":"report","id":2000000259,"did":"lumi.54ef441000664a0e","dev_src":"0","time":1667487418147,"rssi":-87,"mi_spec":[{"siid":2,"eiid":1,"arguments":[{"piid":1,"value":31}]}]}'
Traceback (most recent call last):
File "/config/custom_components/xiaomi_gateway3/core/gateway/__init__.py", line 156, in mqtt_message
await self.dispatcher_send(SIGNAL_MQTT_PUB, msg=msg)
File "/config/custom_components/xiaomi_gateway3/core/gateway/base.py", line 109, in dispatcher_send
await handler(**kwargs)
File "/config/custom_components/xiaomi_gateway3/core/gateway/lumi.py", line 61, in lumi_mqtt_publish
await self.lumi_process_lumi(msg.json)
File "/config/custom_components/xiaomi_gateway3/core/gateway/lumi.py", line 108, in lumi_process_lumi
payload = device.decode_lumi(data[k])
File "/config/custom_components/xiaomi_gateway3/core/device.py", line 355, in decode_lumi
conv.decode(self, payload, v)
File "/config/custom_components/xiaomi_gateway3/core/converters/base.py", line 84, in decode
payload.update(device.decode_lumi(value))
File "/config/custom_components/xiaomi_gateway3/core/device.py", line 344, in decode_lumi
prop = f"{param['siid']}.p.{param['piid']}"
KeyError: 'siid'
|
|