找回密码
 立即注册
楼主: bernard3378

[插件集成] Aqara Bridge - 用官方API把Aqara设备接入HA,支持复杂设备[V2.1.2]

  [复制链接]

3

主题

12

回帖

82

积分

注册会员

积分
82
金钱
67
HASS币
0
发表于 2025-3-7 08:40:43 | 显示全部楼层
这个是什么情况? 基本每周都要重新配置一次 1.png
2.png
回复

使用道具 举报

0

主题

24

回帖

92

积分

注册会员

积分
92
金钱
68
HASS币
0
发表于 2025-3-7 11:33:23 | 显示全部楼层
所有的灯实体都无法使用
回复

使用道具 举报

0

主题

24

回帖

92

积分

注册会员

积分
92
金钱
68
HASS币
0
发表于 2025-3-7 11:36:40 | 显示全部楼层
日志记录器: homeassistant.helpers.entity
来源: helpers/entity.py:990
首次出现: 10:03:31 (24 次总计出现)
上次记录: 11:21:34

Entity aqara_bridge.aqara_71c46c_light (<class 'custom_components.aqara_bridge.light.AiotLightEntity'>) does not have a platform, this may be caused by adding it manually instead of with an EntityComponent helper, please report it to the custom integration author
Entity aqara_bridge.aqara_661ba3_light (<class 'custom_components.aqara_bridge.light.AiotLightEntity'>) does not have a platform, this may be caused by adding it manually instead of with an EntityComponent helper, please report it to the custom integration author
Entity aqara_bridge.aqara_66240e_light (<class 'custom_components.aqara_bridge.light.AiotLightEntity'>) does not have a platform, this may be caused by adding it manually instead of with an EntityComponent helper, please report it to the custom integration author
Entity aqara_bridge.aqara_71f8f3_light (<class 'custom_components.aqara_bridge.light.AiotLightEntity'>) does not have a platform, this may be caused by adding it manually instead of with an EntityComponent helper, please report it to the custom integration author
Entity aqara_bridge.aqara_71fa9e_light (<class 'custom_components.aqara_bridge.light.AiotLightEntity'>) does not have a platform, this may be caused by adding it manually instead of with an EntityComponent helper, please report it to the custom integration author
回复

使用道具 举报

0

主题

24

回帖

92

积分

注册会员

积分
92
金钱
68
HASS币
0
发表于 2025-3-7 11:37:59 | 显示全部楼层
此错误来自自定义集成。

日志记录器: custom_components.aqara_bridge.core.aiot_manager
来源: custom_components/aqara_bridge/core/aiot_manager.py:558
集成: Aqara Bridge (文档, 问题)
首次出现: 10:03:30 (9 次总计出现)
上次记录: 10:03:30

Aqara device is not supported. Deivce model is 'app.group.temperature'.
Aqara device is not supported. Deivce model is 'aqara.lock.acn004'.
Aqara device is not supported. Deivce model is 'aqara.toilet.acn002'.
Aqara device is not supported. Deivce model is 'lumi.bhf_light.acn001'.
Aqara device is not supported. Deivce model is 'lumi.remote.cagl02'.
回复

使用道具 举报

0

主题

24

回帖

92

积分

注册会员

积分
92
金钱
68
HASS币
0
发表于 2025-3-7 11:40:24 | 显示全部楼层
日志记录器: homeassistant.components.light
来源: helpers/entity_platform.py:366
集成: 灯光 (文档, 问题)
首次出现: 10:03:36 (1 次总计出现)
上次记录: 10:03:36

Error while setting up aqara_bridge platform for light: 'NoneType' object is not iterable
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 366, in _async_setup_platform
    await asyncio.shield(awaitable)
  File "/config/custom_components/aqara_bridge/light.py", line 25, in async_setup_entry
    await manager.async_add_entities(
        config_entry, TYPE, cls_entities, async_add_entities
    )
  File "/config/custom_components/aqara_bridge/core/aiot_manager.py", line 660, in async_add_entities
    instance = t(
        self._hass,
    ...<2 lines>...
        **params[j].get(MK_INIT_PARAMS) or {},
    )
  File "/config/custom_components/aqara_bridge/light.py", line 32, in __init__
    AiotToggleableEntityBase.__init__(
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
        self, hass, device, res_params, TYPE, channel, **kwargs
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/config/custom_components/aqara_bridge/core/aiot_manager.py", line 351, in __init__
    super().__init__(hass, device, res_params, type_name, channel=channel, **kwargs)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/aqara_bridge/core/aiot_manager.py", line 111, in __init__
    resource_name = device.get_resource_name(resource_id)
  File "/config/custom_components/aqara_bridge/core/aiot_manager.py", line 89, in get_resource_name
    for r in self.resource_names:
             ^^^^^^^^^^^^^^^^^^^
TypeError: 'NoneType' object is not iterable
回复

使用道具 举报

0

主题

24

回帖

92

积分

注册会员

积分
92
金钱
68
HASS币
0
发表于 2025-3-7 13:14:48 | 显示全部楼层
期待更新
回复

使用道具 举报

1

主题

106

回帖

636

积分

高级会员

积分
636
金钱
529
HASS币
0
发表于 2025-3-10 10:50:39 | 显示全部楼层
本帖最后由 louis000 于 2025-3-10 13:35 编辑

散了散了  每周需要配置一次 不然账号就失效了  太累人

准备去破解刷固件后用 Aqara Gateway了(完蛋 M3 还不能破解  只能HK反接了啊。。。。)
绿米真闹心
回复

使用道具 举报

limo 手机认证

5

主题

85

回帖

796

积分

高级会员

积分
796
金钱
706
HASS币
0
发表于 2025-3-11 10:45:13 | 显示全部楼层
学习一下,哈哈哈哈哈哈
回复

使用道具 举报

0

主题

41

回帖

354

积分

中级会员

积分
354
金钱
313
HASS币
0
发表于 2025-3-11 11:26:41 | 显示全部楼层
louis000 发表于 2025-3-10 10:50
散了散了  每周需要配置一次 不然账号就失效了  太累人

准备去破解刷固件后用 Aqara Gateway了(完蛋 M3  ...

API 当月免费使用量真的消耗太快了,可能要增加事件推送的过滤,不然只能花钱了
回复

使用道具 举报

1

主题

25

回帖

300

积分

中级会员

积分
300
金钱
274
HASS币
0
发表于 2025-3-11 14:01:16 | 显示全部楼层
fp2添加成功,看了下官方的api还是挺丰富的。试着自己加了个区域人员数量。
1741672575888.jpg
感觉如果做得好的话说不定能实现app中的效果,等大佬用把官方api中的变量全部用起来。
1741672676901.jpg
回复

使用道具 举报

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

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2025-5-1 14:31 , Processed in 0.254695 second(s), 25 queries .

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

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