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

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

  [复制链接]

0

主题

33

回帖

143

积分

注册会员

积分
143
金钱
110
HASS币
0
发表于 2025-2-27 20:32:20 | 显示全部楼层
bernard3378 发表于 2025-2-9 19:39
实测开关灯控传感器等没什么延迟,空调是有的,跟官方Homekit延迟差不多

AttributeError: 'AiotACPartnerP3Entity' object has no attribute '__attr_hvac_mode'. Did you mean: '__attr_hvac_modes'?
2025-02-27 20:03:34.257 ERROR (MainThread) [homeassistant.components.climate] Error adding entity climate.aqara_4885e9_ac_partner_p3 for domain climate with platform aqara_bridge
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 928, in _async_add_entity
    await entity.add_to_platform_finish()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1384, in add_to_platform_finish
    self.async_write_ha_state()
    ~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1023, in async_write_ha_state
    self._async_write_ha_state()
    ~~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1148, in _async_write_ha_state
    self.__async_calculate_state()
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1085, in __async_calculate_state
    state = self._stringify_state(available)
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1029, in _stringify_state
    if (state := self.state) is None:
                 ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/climate/__init__.py", line 353, in state
    hvac_mode = self.hvac_mode
                ^^^^^^^^^^^^^^
  File "src/propcache/_helpers_c.pyx", line 80, in propcache._helpers_c.cached_property.__get__
  File "/usr/src/homeassistant/homeassistant/components/climate/__init__.py", line 485, in hvac_mode
    return self._attr_hvac_mode
           ^^^^^^^^^^^^^^^^^^^^
回复

使用道具 举报

pwy 

0

主题

21

回帖

193

积分

注册会员

积分
193
金钱
172
HASS币
0
发表于 2025-2-27 22:13:14 | 显示全部楼层
这个错误是什么原因
截屏2025-02-27 22.11.56.png
回复

使用道具 举报

0

主题

7

回帖

107

积分

注册会员

积分
107
金钱
100
HASS币
0
发表于 2025-2-27 22:56:34 | 显示全部楼层
pwy 发表于 2025-2-27 22:13
这个错误是什么原因

我也是这样的。
HACS版本是:
Integration version:        2.0.5
Frontend version:        20250128065759
回复

使用道具 举报

7

主题

20

回帖

200

积分

中级会员

积分
200
金钱
173
HASS币
0
发表于 2025-3-1 12:48:05 | 显示全部楼层
想请教一下楼主, 这个和Aqara Gateway 有什么不同呢?
回复

使用道具 举报

1

主题

106

回帖

636

积分

高级会员

积分
636
金钱
529
HASS币
0
发表于 2025-3-2 23:12:13 | 显示全部楼层
pandalaohe 发表于 2025-3-1 12:48
想请教一下楼主, 这个和Aqara Gateway 有什么不同呢?

这个不用破解
回复

使用道具 举报

3

主题

26

回帖

248

积分

中级会员

积分
248
金钱
219
HASS币
0
发表于 2025-3-3 00:50:01 | 显示全部楼层
大佬  请教一下  在G3摄像头中  所有的事件都显示未知  这个怎么办  其他设备 我这看都暂时正常的  我就为了手势接入联动其他家设备折腾的
回复

使用道具 举报

0

主题

7

回帖

68

积分

注册会员

积分
68
金钱
61
HASS币
0
发表于 2025-3-3 11:02:31 | 显示全部楼层
大佬,这三个可以接入吗?
lumi.switch.acn034
lumi.camera.acn005
aqara.airrtc.ecn001
回复

使用道具 举报

7

主题

20

回帖

200

积分

中级会员

积分
200
金钱
173
HASS币
0
发表于 2025-3-3 20:51:15 | 显示全部楼层

明白了, 那是不是这个是需要联网,不能局域网,但是Gateway是走局域网?
回复

使用道具 举报

1

主题

106

回帖

636

积分

高级会员

积分
636
金钱
529
HASS币
0
发表于 2025-3-5 08:50:25 | 显示全部楼层
我发现有设备模型但是没有设备资源的是可以正常调用的  只是要自己写调用代码 不会整下面的
这个需要大佬解决了
回复

使用道具 举报

2

主题

23

回帖

178

积分

注册会员

积分
178
金钱
153
HASS币
0
发表于 2025-3-5 13:30:00 | 显示全部楼层
我家的地暖面板不知道能不能用
回复

使用道具 举报

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

本版积分规则

Archiver|手机版|小黑屋|Hassbian

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

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

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