『瀚思彼岸』» 智能家居技术论坛

 找回密码
 立即注册
查看: 1203|回复: 1

[求助] 求助>_<传感器接入后一直是不再可用的状态

[复制链接]

7

主题

48

帖子

562

积分

高级会员

Rank: 4

积分
562
金钱
514
HASS币
0
发表于 2022-11-3 23:05:40 | 显示全部楼层 |阅读模式
网关是Aqara hub E1,接入米家然后再用xiaomi gateway 3接入的homeassistant,其他的设备全部正常,但是后来又加了3个移动传感器,一直是未检测到移动,如下图,米家和HomeKit都可以正常检测到移动
1.png
重启路由器,重启homeassistant 重新添加子设备 都试过了。
有没有大佬救一救
以下是gateway 3的相关日志
2.png
此错误来自自定义集成。

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'

回复

使用道具 举报

7

主题

48

帖子

562

积分

高级会员

Rank: 4

积分
562
金钱
514
HASS币
0
 楼主| 发表于 2022-11-4 10:16:18 | 显示全部楼层
这个问题困扰我太久了,求各位大佬帮忙看看,之前临时的解决办法是我把设备接入到aqara P3网关下面,ha倒是可以正常使用了,但光照度传感功能就没有了,因为aqara人体传感器E1不支持HomeKit光照度传感,最近又买了几个传感器发现全都没法正常使用
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-11-25 09:36 , Processed in 0.067799 second(s), 27 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表