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

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

[进阶教程] 通过localtuya接入涂鸦网关下的 蓝牙/zigbee 子设备

  [复制链接]

0

主题

13

帖子

72

积分

注册会员

Rank: 2

积分
72
金钱
59
HASS币
0
发表于 2023-4-16 12:49:41 | 显示全部楼层
beqikaer 发表于 2023-4-16 12:48
使用的uuid\node_id 都试过了

Logger: custom_components.localtuya.config_flow
Source: custom_components/localtuya/pytuya/__init__.py:273
Integration: LocalTuya integration (documentation, issues)
First occurred: 12:38:22 (1 occurrences)
Last logged: 12:38:22

Unexpected exception
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/asyncio/locks.py", line 390, in acquire
    await fut
asyncio.exceptions.CancelledError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/asyncio/tasks.py", line 456, in wait_for
    return fut.result()
asyncio.exceptions.CancelledError

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/config/custom_components/localtuya/config_flow.py", line 406, in async_step_basic_sub_device_info
    self.dps_strings = await validate_input(self.hass, user_input)
  File "/config/custom_components/localtuya/config_flow.py", line 242, in validate_input
    detected_dps = await interface.detect_available_dps(data[CONF_DEVICE_ID])
  File "/config/custom_components/localtuya/pytuya/__init__.py", line 610, in detect_available_dps
    status = await self.status(cid)
  File "/config/custom_components/localtuya/pytuya/__init__.py", line 528, in status
    status = await self.exchange(ACTION_STATUS, cid=cid)
  File "/config/custom_components/localtuya/pytuya/__init__.py", line 497, in exchange
    msg = await self.dispatcher.wait_for(seqno)
  File "/config/custom_components/localtuya/pytuya/__init__.py", line 273, in wait_for
    await asyncio.wait_for(self.listeners[seqno].acquire(), timeout=timeout)
  File "/usr/local/lib/python3.10/asyncio/tasks.py", line 458, in wait_for
    raise exceptions.TimeoutError() from exc
asyncio.exceptions.TimeoutError


这是日志
回复

使用道具 举报

0

主题

4

帖子

36

积分

新手上路

Rank: 1

积分
36
金钱
32
HASS币
0
发表于 2023-5-4 14:28:19 | 显示全部楼层
这太特么有用了
回复

使用道具 举报

0

主题

1

帖子

18

积分

新手上路

Rank: 1

积分
18
金钱
17
HASS币
0
发表于 2023-5-11 15:53:41 | 显示全部楼层
beqikaer 发表于 2023-4-16 12:49
Logger: custom_components.localtuya.config_flow
Source: custom_components/localtuya/pytuya/__init_ ...

我和你的问题一样,请问你解决了吗?
回复

使用道具 举报

0

主题

39

帖子

155

积分

注册会员

Rank: 2

积分
155
金钱
116
HASS币
0
发表于 2023-5-22 23:58:13 | 显示全部楼层
马上测试
回复

使用道具 举报

2

主题

77

帖子

461

积分

中级会员

Rank: 3Rank: 3

积分
461
金钱
379
HASS币
0
发表于 2023-7-21 00:57:56 | 显示全部楼层
dgsf520 发表于 2022-3-28 22:12
用你的方法。出现下面这个提示。有啥解决办法嘛?
Logger: homeassistant.config
Source: config.py:454

把HCAS里面下载的版本删除 然后再重新添加自定义集成即可
回复

使用道具 举报

2

主题

77

帖子

461

积分

中级会员

Rank: 3Rank: 3

积分
461
金钱
379
HASS币
0
发表于 2023-7-21 01:08:00 | 显示全部楼层
本帖最后由 tda2030a 于 2023-7-21 01:10 编辑

我也是添加subdevice提示未知错误 CID UUID都试过了 设备类型试了灯和复合开关都不太行 涂鸦BUG.png
回复

使用道具 举报

0

主题

14

帖子

142

积分

注册会员

Rank: 2

积分
142
金钱
128
HASS币
0
发表于 2023-7-31 00:41:10 | 显示全部楼层
tda2030a 发表于 2023-7-21 01:08
我也是添加subdevice提示未知错误 CID UUID都试过了 设备类型试了灯和复合开关都不太行
...

哎 我也是呀 还是不行
回复

使用道具 举报

5

主题

471

帖子

2106

积分

金牌会员

Rank: 6Rank: 6

积分
2106
金钱
1635
HASS币
0
发表于 2023-7-31 07:38:48 | 显示全部楼层
1060555000 发表于 2023-7-31 00:41
哎 我也是呀 还是不行

我折腾了无数次都不行,最后放弃了!买了一个第三方网关接入zha
回复

使用道具 举报

0

主题

26

帖子

1643

积分

金牌会员

Rank: 6Rank: 6

积分
1643
金钱
1617
HASS币
0
发表于 2023-8-11 09:32:49 | 显示全部楼层
tda2030a 发表于 2023-7-21 01:08
我也是添加subdevice提示未知错误 CID UUID都试过了 设备类型试了灯和复合开关都不太行
...

俺也一样,不知道有什么方法可以解决这个,全屋都是涂鸦的,太累了
微信截图_20230811093211.png
回复

使用道具 举报

5

主题

35

帖子

138

积分

注册会员

Rank: 2

积分
138
金钱
103
HASS币
0
发表于 2023-8-14 19:10:40 | 显示全部楼层
大佬很强!!!!!!!!

                               
登录/注册后可看大图
回复

使用道具 举报

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

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-5-14 13:53 , Processed in 0.221546 second(s), 32 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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