Comments (28)
@lightrabbit 看日志是没有正常获取到room id,看你之前的评论是改了请求名称SYS_GET_ROOM_INFO_V1,从我的日志看,用的就是这个方法,感觉需要给改回来
这样看B611和D611的差别还挺大的,你看方便加我微信号吗?有时间的时候可以一起调试一下,微信号和我github号相同。
def do(self):
if Config.is_new_version and Config.is_c611:
p = GetRoomInfoParam(EnumCmdType.SYS_GET_ROOM_INFO_V1)
else:
p = GetRoomInfoParam(EnumCmdType.SYS_GET_ROOM_INFO)
p.room_ids.append(0xffff)
加了些判断,现在可以了
from ha-dsair.
同样想问,啥时候支持新风
from ha-dsair.
没有这个设备,没办法调试。等我下次装修搞到新风设备的时候吧😂
from ha-dsair.
没有这个设备,没办法调试。等我下次装修搞到新风设备的时候吧😂
我现在手头上有个环境可以debug
from ha-dsair.
同问
from ha-dsair.
尝试加入了新风的控制,目前只实现了开关控制,热交换和风量调节还在研究。
可以在我的 fork 里面下载代码测试
我的新风机型是 vam250gmve,控制器是 D611,看反编译的安卓代码好像只能支持开关控制。
但是在 iOS 版里又能看到热交换和风量的选项,不过好像也只是个按钮,点击后新风的面板并不会改变状态。
所以风量以及热交换状态一类的还在研究,不知道你们的新风在 金制空气 里面能不能控制风量热交换一类的。
另外,你们试过最新改版的 金制空气app 和 D611 的新固件了吗?
from ha-dsair.
iOS版本的金制空气(包括新版、旧版)一直可以控制风量、热交换。
from ha-dsair.
iOS版本的金制空气(包括新版、旧版)一直可以控制风量、热交换。
难道是我的新风机型号比较旧,不兼容么... 我更新固件和app再试一下
多谢反馈
from ha-dsair.
尝试加入了新风的控制,目前只实现了开关控制,热交换和风量调节还在研究。 可以在我的 fork 里面下载代码测试
我的新风机型是 vam250gmve,控制器是 D611,看反编译的安卓代码好像只能支持开关控制。 但是在 iOS 版里又能看到热交换和风量的选项,不过好像也只是个按钮,点击后新风的面板并不会改变状态。 所以风量以及热交换状态一类的还在研究,不知道你们的新风在 金制空气 里面能不能控制风量热交换一类的。
另外,你们试过最新改版的 金制空气app 和 D611 的新固件了吗?
我使用最新的app和固件,现在的这个插件都不支持了,获取不到网关的信息了~
from ha-dsair.
尝试加入了新风的控制,目前只实现了开关控制,热交换和风量调节还在研究。 可以在我的 fork 里面下载代码测试
我的新风机型是 vam250gmve,控制器是 D611,看反编译的安卓代码好像只能支持开关控制。 但是在 iOS 版里又能看到热交换和风量的选项,不过好像也只是个按钮,点击后新风的面板并不会改变状态。 所以风量以及热交换状态一类的还在研究,不知道你们的新风在 金制空气 里面能不能控制风量热交换一类的。
另外,你们试过最新改版的 金制空气app 和 D611 的新固件了吗?
最好提个pr,别分化版本了~
from ha-dsair.
2022-08-19 22:40:39.809 ERROR (Thread-5) [root] Uncaught thread exception
Traceback (most recent call last):
File "/usr/local/lib/python3.10/threading.py", line 1016, in _bootstrap_inner
self.run()
File "/config/custom_components/ds_air/ds_air_service/service.py", line 134, in run
Service.poll_status()
File "/config/custom_components/ds_air/ds_air_service/service.py", line 342, in poll_status
for v in Service._ventilations:
TypeError: 'NoneType' object is not iterable
from ha-dsair.
@lynn901 @ItownTech
尝试加入了新风的控制,目前只实现了开关控制,热交换和风量调节还在研究。 可以在我的 fork 里面下载代码测试
我的新风机型是 vam250gmve,控制器是 D611,看反编译的安卓代码好像只能支持开关控制。 但是在 iOS 版里又能看到热交换和风量的选项,不过好像也只是个按钮,点击后新风的面板并不会改变状态。 所以风量以及热交换状态一类的还在研究,不知道你们的新风在 金制空气 里面能不能控制风量热交换一类的。
另外,你们试过最新改版的 金制空气app 和 D611 的新固件了吗?我使用最新的app和固件,现在的这个插件都不支持了,获取不到网关的信息了~
@lynn901 @ItownTech
尝试加入了新风的控制,目前只实现了开关控制,热交换和风量调节还在研究。 可以在我的 fork 里面下载代码测试
我的新风机型是 vam250gmve,控制器是 D611,看反编译的安卓代码好像只能支持开关控制。 但是在 iOS 版里又能看到热交换和风量的选项,不过好像也只是个按钮,点击后新风的面板并不会改变状态。 所以风量以及热交换状态一类的还在研究,不知道你们的新风在 金制空气 里面能不能控制风量热交换一类的。
另外,你们试过最新改版的 金制空气app 和 D611 的新固件了吗?我使用最新的app和固件,现在的这个插件都不支持了,获取不到网关的信息了~
我是最新的app和固件,这个插件支持的挺好的
from ha-dsair.
@ItownTech 我重新配了,空调和传感器是可以正常使用的,但是使用 @ypwub5 提供的插件,无法正常启动~
from ha-dsair.
@lynn901 hello 前一阵折腾了些其他事... 最近研究了下可能是大金有两种新风系统类型导致的,我只做了 app 里定义为 ventilation 的类型, 没有处理 SmallVAM 这类新风。
有时间可以帮忙测试一下这个 branch 吗,启动后看下 log 里面有没有一条类似 small vam found 的 waring。
from ha-dsair.
@ypwub5 好的,我十一期间debug一下,方便的话加一下微信~
from ha-dsair.
你好,原代码更新了,你这里可以把新风也更新下嘛
from ha-dsair.
@zfgjy2005 hello/ vent 分支同步了一下这边的 test ,我这里测试 D611 最新固件可以使用,但依然是只支持开关控制,因为最新固件依然不能切换我家新风机的旁通和热交换,没法测试,也就没做对应的功能
然后我打开了我 fork 的 issue 功能,新风问题去那边讨论吧,等差不多完善了我再看看能不能 merge 到这边
from ha-dsair.
收到,谢谢@ypwub5
from ha-dsair.
@ypwub5 好的,我十一期间debug一下,方便的话加一下微信~
debug成功了吗,我也遇到取不到ventilations的问题
from ha-dsair.
@ypwub5 好的,我十一期间debug一下,方便的话加一下微信~
debug成功了吗,我也遇到取不到ventilations的问题
没有成功,依旧是无法正常启动,没法debug
from ha-dsair.
@lynn901 hello 前一阵折腾了些其他事... 最近研究了下可能是大金有两种新风系统类型导致的,我只做了 app 里定义为 ventilation 的类型, 没有处理 SmallVAM 这类新风。
有时间可以帮忙测试一下这个 branch 吗,启动后看下 log 里面有没有一条类似 small vam found 的 waring。
@ypwub5 可以加你一下微信吗?最新有时间可以折腾一下这个
from ha-dsair.
@ypwub5 我最近也在测试新风的功能,我的设备是SmallVAM的,网关则是DTA117D611。
然后我发现在我这里GetRoomInfo会拿不到新风的信息,但是用 CAPABILITY_QUERY
直接带上 room_id
和 unit_id
去查询就能拿到信息。
然后SmallVAM和VAM的 subbody 的定义会有些不同,可能需要单独的协议来处理,这个我也还在整。
更新:
找到原因了,得用 SYS_GET_ROOM_INFO_V1 去获取房间信息,这样就能拿到 SmallVAM 的新风,之前拿不到估计是因为这是一个新增的设备,为了确保后向兼容,就给隐藏起来了。
from ha-dsair.
@lynn901 @ypwub5 我目前调通了自己这的设备,目前可以做到 开关、调整风速、修改模式 这三个功能。
代码在这个 branch 上。我这目前启动后是能看到新风设备的。
然后我看SmallVAM的协议里面还能看到新风的进风口的PM2.5和温湿度信息,后续看看能不能把它作为传感器实体加到HA里。
from ha-dsair.
@lynn901 @ypwub5 我目前调通了自己这的设备,目前可以做到 开关、调整风速、修改模式 这三个功能。 代码在这个 branch 上。我这目前启动后是能看到新风设备的。
然后我看SmallVAM的协议里面还能看到新风的进风口的PM2.5和温湿度信息,后续看看能不能把它作为传感器实体加到HA里。
我可以正常加载插件并且可以正常获取到传感器和空调设备,但是没有获取到新风设备,需要独立配置什么吗?
from ha-dsair.
我可以正常加载插件并且可以正常获取到传感器和空调设备,但是没有获取到新风设备,需要独立配置什么吗?
@lynn901 你看看能不能看到本地的代码,就是 custom_component/ds_air/
底下的内容,看一下里面有没有 fan.py
。
如果没有的话,可能是你用 HACS 安装的时候,它默认用了 test
分支,而不是我链接里的 smallVAM
分支。
我现在把我这个仓库的默认分支改成了 smallVAM
。你可以删掉之前的,重新安装一下再试试看。
理论上来说不需要额外配置什么,就只要确保 网关型号
那里选的是 DTA117C611
,就可以了。
from ha-dsair.
我可以正常加载插件并且可以正常获取到传感器和空调设备,但是没有获取到新风设备,需要独立配置什么吗?
@lynn901 你看看能不能看到本地的代码,就是
custom_component/ds_air/
底下的内容,看一下里面有没有fan.py
。 如果没有的话,可能是你用 HACS 安装的时候,它默认用了test
分支,而不是我链接里的smallVAM
分支。 我现在把我这个仓库的默认分支改成了smallVAM
。你可以删掉之前的,重新安装一下再试试看。理论上来说不需要额外配置什么,就只要确保
网关型号
那里选的是DTA117C611
,就可以了。
我的网关型号是DTA117B611,产生如下报错
2023-10-21 07:53:13.054 DEBUG (Thread-6) [custom_components.ds_air.ds_air_service.service] recv hex: 0x0258000d0001000f0000000819000000005900010121440300246f28c9cee00fe7a9bae6b094e4bca0e6849fe599a87f00db0000020b00a5020103000000011801ff7fff7fff7f4b000000e8030000023c000a000101011600080003
2023-10-21 07:53:13.054 DEBUG (Thread-6) [custom_components.ds_air.ds_air_service.service] ^[[31mrecv:^[[0m
2023-10-21 07:53:13.055 DEBUG (Thread-6) [custom_components.ds_air.ds_air_service.service] ^[[31mSensor2InfoResult:^[[0m {
2023-10-21 07:53:13.055 DEBUG (Thread-6) [custom_components.ds_air.ds_air_service.service] cmd_id: 15
2023-10-21 07:53:13.055 DEBUG (Thread-6) [custom_components.ds_air.ds_air_service.service] cmd_type: SENSOR2_INFO
2023-10-21 07:53:13.055 DEBUG (Thread-6) [custom_components.ds_air.ds_air_service.service] count: 1
2023-10-21 07:53:13.055 DEBUG (Thread-6) [custom_components.ds_air.ds_air_service.service] mode: 1
2023-10-21 07:53:13.055 DEBUG (Thread-6) [custom_components.ds_air.ds_air_service.service] need_ack: 1
2023-10-21 07:53:13.055 DEBUG (Thread-6) [custom_components.ds_air.ds_air_service.service] room_id: 33
2023-10-21 07:53:13.055 DEBUG (Thread-6) [custom_components.ds_air.ds_air_service.service] sensor_type: 3
2023-10-21 07:53:13.055 DEBUG (Thread-6) [custom_components.ds_air.ds_air_service.service] sensors: [
2023-10-21 07:53:13.055 DEBUG (Thread-6) [custom_components.ds_air.ds_air_service.service] 0: ^[[31mSensor:^[[0m {
2023-10-21 07:53:13.055 DEBUG (Thread-6) [custom_components.ds_air.ds_air_service.service] alias: 空气传感器
2023-10-21 07:53:13.056 DEBUG (Thread-6) [custom_components.ds_air.ds_air_service.service] co2: 677
2023-10-21 07:53:13.056 DEBUG (Thread-6) [custom_components.ds_air.ds_air_service.service] co2_lower: 0
2023-10-21 07:53:13.056 DEBUG (Thread-6) [custom_components.ds_air.ds_air_service.service] co2_upper: 1000
2023-10-21 07:53:13.056 DEBUG (Thread-6) [custom_components.ds_air.ds_air_service.service] connected: True
2023-10-21 07:53:13.056 DEBUG (Thread-6) [custom_components.ds_air.ds_air_service.service] hcho: 0
2023-10-21 07:53:13.056 DEBUG (Thread-6) [custom_components.ds_air.ds_air_service.service] hcho_upper: 10
2023-10-21 07:53:13.056 DEBUG (Thread-6) [custom_components.ds_air.ds_air_service.service] humidity: 512
2023-10-21 07:53:13.056 DEBUG (Thread-6) [custom_components.ds_air.ds_air_service.service] humidity_lower: 32767
2023-10-21 07:53:13.056 DEBUG (Thread-6) [custom_components.ds_air.ds_air_service.service] humidity_upper: 32767
2023-10-21 07:53:13.056 DEBUG (Thread-6) [custom_components.ds_air.ds_air_service.service] id: 0
2023-10-21 07:53:13.056 DEBUG (Thread-6) [custom_components.ds_air.ds_air_service.service] mac: 246f28c9cee0
2023-10-21 07:53:13.056 DEBUG (Thread-6) [custom_components.ds_air.ds_air_service.service] name: 空气传感器
2023-10-21 07:53:13.056 DEBUG (Thread-6) [custom_components.ds_air.ds_air_service.service] pm25: 11
2023-10-21 07:53:13.057 DEBUG (Thread-6) [custom_components.ds_air.ds_air_service.service] pm25_lower: 0
2023-10-21 07:53:13.057 DEBUG (Thread-6) [custom_components.ds_air.ds_air_service.service] pm25_upper: 75
2023-10-21 07:53:13.057 DEBUG (Thread-6) [custom_components.ds_air.ds_air_service.service] room_id: 33
2023-10-21 07:53:13.057 DEBUG (Thread-6) [custom_components.ds_air.ds_air_service.service] sensor_type: 3
2023-10-21 07:53:13.057 DEBUG (Thread-6) [custom_components.ds_air.ds_air_service.service] sleep_mode_count: 1
2023-10-21 07:53:13.057 DEBUG (Thread-6) [custom_components.ds_air.ds_air_service.service] start_time: 0
2023-10-21 07:53:13.057 DEBUG (Thread-6) [custom_components.ds_air.ds_air_service.service] stop_time: 0
2023-10-21 07:53:13.057 DEBUG (Thread-6) [custom_components.ds_air.ds_air_service.service] switch_on_off: True
2023-10-21 07:53:13.057 DEBUG (Thread-6) [custom_components.ds_air.ds_air_service.service] temp: 219
2023-10-21 07:53:13.057 DEBUG (Thread-6) [custom_components.ds_air.ds_air_service.service] temp_lower: 32767
2023-10-21 07:53:13.057 DEBUG (Thread-6) [custom_components.ds_air.ds_air_service.service] temp_upper: 280
2023-10-21 07:53:13.057 DEBUG (Thread-6) [custom_components.ds_air.ds_air_service.service] time_millis: 1697845993.0546288
2023-10-21 07:53:13.057 DEBUG (Thread-6) [custom_components.ds_air.ds_air_service.service] tvoc: 3
2023-10-21 07:53:13.057 DEBUG (Thread-6) [custom_components.ds_air.ds_air_service.service] tvoc_upper: 60
2023-10-21 07:53:13.057 DEBUG (Thread-6) [custom_components.ds_air.ds_air_service.service] type1: 127
2023-10-21 07:53:13.057 DEBUG (Thread-6) [custom_components.ds_air.ds_air_service.service] type2: 0
2023-10-21 07:53:13.058 DEBUG (Thread-6) [custom_components.ds_air.ds_air_service.service] unique_id: daikin_33_0
2023-10-21 07:53:13.054 DEBUG (Thread-6) [custom_components.ds_air.ds_air_service.service] recv hex: 0x0258000d0001000f0000000819000000005900010121440300246f28c9cee00fe7a9bae6b094e4bca0e6849fe599a87f00db0000020b00a5020103000000011801ff7fff7fff7f4b000000e8030000023c000a000101011600080003
2023-10-21 07:53:13.054 DEBUG (Thread-6) [custom_components.ds_air.ds_air_service.service] ^[[31mrecv:^[[0m
2023-10-21 07:53:13.055 DEBUG (Thread-6) [custom_components.ds_air.ds_air_service.service] ^[[31mSensor2InfoResult:^[[0m {
2023-10-21 07:53:13.055 DEBUG (Thread-6) [custom_components.ds_air.ds_air_service.service] cmd_id: 15
2023-10-21 07:53:13.055 DEBUG (Thread-6) [custom_components.ds_air.ds_air_service.service] cmd_type: SENSOR2_INFO
2023-10-21 07:53:13.055 DEBUG (Thread-6) [custom_components.ds_air.ds_air_service.service] count: 1
2023-10-21 07:53:13.055 DEBUG (Thread-6) [custom_components.ds_air.ds_air_service.service] mode: 1
2023-10-21 07:53:13.055 DEBUG (Thread-6) [custom_components.ds_air.ds_air_service.service] need_ack: 1
2023-10-21 07:53:13.055 DEBUG (Thread-6) [custom_components.ds_air.ds_air_service.service] room_id: 33
2023-10-21 07:53:13.055 DEBUG (Thread-6) [custom_components.ds_air.ds_air_service.service] sensor_type: 3
2023-10-21 07:53:13.055 DEBUG (Thread-6) [custom_components.ds_air.ds_air_service.service] sensors: [
2023-10-21 07:53:13.055 DEBUG (Thread-6) [custom_components.ds_air.ds_air_service.service] 0: ^[[31mSensor:^[[0m {
2023-10-21 07:53:13.055 DEBUG (Thread-6) [custom_components.ds_air.ds_air_service.service] alias: 空气传感器
2023-10-21 07:53:13.056 DEBUG (Thread-6) [custom_components.ds_air.ds_air_service.service] co2: 677
2023-10-21 07:53:13.056 DEBUG (Thread-6) [custom_components.ds_air.ds_air_service.service] co2_lower: 0
2023-10-21 07:53:13.056 DEBUG (Thread-6) [custom_components.ds_air.ds_air_service.service] co2_upper: 1000
2023-10-21 07:53:13.056 DEBUG (Thread-6) [custom_components.ds_air.ds_air_service.service] connected: True
2023-10-21 07:53:13.056 DEBUG (Thread-6) [custom_components.ds_air.ds_air_service.service] hcho: 0
2023-10-21 07:53:13.056 DEBUG (Thread-6) [custom_components.ds_air.ds_air_service.service] hcho_upper: 10
2023-10-21 07:53:13.056 DEBUG (Thread-6) [custom_components.ds_air.ds_air_service.service] humidity: 512
2023-10-21 07:53:13.056 DEBUG (Thread-6) [custom_components.ds_air.ds_air_service.service] humidity_lower: 32767
2023-10-21 07:53:13.056 DEBUG (Thread-6) [custom_components.ds_air.ds_air_service.service] humidity_upper: 32767
2023-10-21 07:53:13.056 DEBUG (Thread-6) [custom_components.ds_air.ds_air_service.service] id: 0
2023-10-21 07:53:13.056 DEBUG (Thread-6) [custom_components.ds_air.ds_air_service.service] mac: 246f28c9cee0
2023-10-21 07:53:13.056 DEBUG (Thread-6) [custom_components.ds_air.ds_air_service.service] name: 空气传感器
2023-10-21 07:53:13.056 DEBUG (Thread-6) [custom_components.ds_air.ds_air_service.service] pm25: 11
2023-10-21 07:53:13.057 DEBUG (Thread-6) [custom_components.ds_air.ds_air_service.service] pm25_lower: 0
2023-10-21 07:53:13.057 DEBUG (Thread-6) [custom_components.ds_air.ds_air_service.service] pm25_upper: 75
2023-10-21 07:53:13.057 DEBUG (Thread-6) [custom_components.ds_air.ds_air_service.service] room_id: 33
2023-10-21 07:53:13.057 DEBUG (Thread-6) [custom_components.ds_air.ds_air_service.service] sensor_type: 3
2023-10-21 07:53:13.057 DEBUG (Thread-6) [custom_components.ds_air.ds_air_service.service] sleep_mode_count: 1
2023-10-21 07:53:13.057 DEBUG (Thread-6) [custom_components.ds_air.ds_air_service.service] start_time: 0
2023-10-21 07:53:13.057 DEBUG (Thread-6) [custom_components.ds_air.ds_air_service.service] stop_time: 0
2023-10-21 07:53:13.057 DEBUG (Thread-6) [custom_components.ds_air.ds_air_service.service] switch_on_off: True
2023-10-21 07:53:13.057 DEBUG (Thread-6) [custom_components.ds_air.ds_air_service.service] temp: 219
2023-10-21 07:53:13.057 DEBUG (Thread-6) [custom_components.ds_air.ds_air_service.service] temp_lower: 32767
2023-10-21 07:53:13.057 DEBUG (Thread-6) [custom_components.ds_air.ds_air_service.service] temp_upper: 280
2023-10-21 07:53:13.057 DEBUG (Thread-6) [custom_components.ds_air.ds_air_service.service] time_millis: 1697845993.0546288
2023-10-21 07:53:13.057 DEBUG (Thread-6) [custom_components.ds_air.ds_air_service.service] tvoc: 3
2023-10-21 07:53:13.057 DEBUG (Thread-6) [custom_components.ds_air.ds_air_service.service] tvoc_upper: 60
2023-10-21 07:53:13.057 DEBUG (Thread-6) [custom_components.ds_air.ds_air_service.service] type1: 127
2023-10-21 07:53:13.057 DEBUG (Thread-6) [custom_components.ds_air.ds_air_service.service] type2: 0
2023-10-21 07:53:13.058 DEBUG (Thread-6) [custom_components.ds_air.ds_air_service.service] unique_id: daikin_33_0
2023-10-21 07:53:13.058 DEBUG (Thread-6) [custom_components.ds_air.ds_air_service.service] unit_id: 0
2023-10-21 07:53:13.058 DEBUG (Thread-6) [custom_components.ds_air.ds_air_service.service] voc: STEP_1
2023-10-21 07:53:13.058 DEBUG (Thread-6) [custom_components.ds_air.ds_air_service.service] voc_lower: 2}]
2023-10-21 07:53:13.058 DEBUG (Thread-6) [custom_components.ds_air.ds_air_service.service] subbody_ver: 1
2023-10-21 07:53:13.058 DEBUG (Thread-6) [custom_components.ds_air.ds_air_service.service] target: SENSOR}
2023-10-21 07:53:43.010 DEBUG (Thread-7) [custom_components.ds_air.ds_air_service.service] send hex: 0x02000003
2023-10-21 07:53:43.010 DEBUG (Thread-7) [custom_components.ds_air.ds_air_service.service] ^[[31msend:^[[0m
2023-10-21 07:53:43.010 DEBUG (Thread-7) [custom_components.ds_air.ds_air_service.service] ^[[31mHeartbeatParam:^[[0m {
2023-10-21 07:53:43.010 DEBUG (Thread-7) [custom_components.ds_air.ds_air_service.service] cmd_id: 16
2023-10-21 07:53:43.010 DEBUG (Thread-7) [custom_components.ds_air.ds_air_service.service] cmd_type: SYS_ACK
2023-10-21 07:53:43.010 DEBUG (Thread-7) [custom_components.ds_air.ds_air_service.service] cnt: 16
2023-10-21 07:53:43.011 DEBUG (Thread-7) [custom_components.ds_air.ds_air_service.service] has_result: False
2023-10-21 07:53:43.011 DEBUG (Thread-7) [custom_components.ds_air.ds_air_service.service] need_ack: 1
2023-10-21 07:53:43.011 DEBUG (Thread-7) [custom_components.ds_air.ds_air_service.service] subbody_ver: 1
2023-10-21 07:53:43.011 DEBUG (Thread-7) [custom_components.ds_air.ds_air_service.service] target: SYSTEM}
2023-10-21 07:53:50.029 DEBUG (Thread-5) [custom_components.ds_air.ds_air_service.service] send hex: 0x02000003
2023-10-21 07:53:50.030 DEBUG (Thread-5) [custom_components.ds_air.ds_air_service.service] ^[[31msend:^[[0m
2023-10-21 07:53:50.030 DEBUG (Thread-5) [custom_components.ds_air.ds_air_service.service] ^[[31mHeartbeatParam:^[[0m {
2023-10-21 07:53:50.030 DEBUG (Thread-5) [custom_components.ds_air.ds_air_service.service] cmd_id: 17
2023-10-21 07:53:50.030 DEBUG (Thread-5) [custom_components.ds_air.ds_air_service.service] cmd_type: SYS_ACK
2023-10-21 07:53:50.030 DEBUG (Thread-5) [custom_components.ds_air.ds_air_service.service] cnt: 17
2023-10-21 07:53:50.030 DEBUG (Thread-5) [custom_components.ds_air.ds_air_service.service] has_result: False
2023-10-21 07:53:50.031 DEBUG (Thread-5) [custom_components.ds_air.ds_air_service.service] need_ack: 1
2023-10-21 07:53:50.031 DEBUG (Thread-5) [custom_components.ds_air.ds_air_service.service] subbody_ver: 1
2023-10-21 07:53:50.031 DEBUG (Thread-5) [custom_components.ds_air.ds_air_service.service] target: SYSTEM}
2023-10-21 07:54:09.182 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry 金制空气 for ds_air
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 388, in async_setup
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/ds_air/init.py", line 49, in async_setup_entry
await hass.async_add_executor_job(Service.init, host, port, scan_interval)
asyncio.exceptions.CancelledError: aiohttp connection lost
2023-10-21 07:54:43.012 DEBUG (Thread-7) [custom_components.ds_air.ds_air_service.service] send hex: 0x02000003
2023-10-21 07:54:43.012 DEBUG (Thread-7) [custom_components.ds_air.ds_air_service.service] ^[[31msend:^[[0m
2023-10-21 07:54:43.012 DEBUG (Thread-7) [custom_components.ds_air.ds_air_service.service] ^[[31mHeartbeatParam:^[[0m {
2023-10-21 07:54:43.012 DEBUG (Thread-7) [custom_components.ds_air.ds_air_service.service] cmd_id: 18
2023-10-21 07:54:43.012 DEBUG (Thread-7) [custom_components.ds_air.ds_air_service.service] cmd_type: SYS_ACK
2023-10-21 07:54:43.012 DEBUG (Thread-7) [custom_components.ds_air.ds_air_service.service] cnt: 18
2023-10-21 07:54:43.012 DEBUG (Thread-7) [custom_components.ds_air.ds_air_service.service] has_result: False
2023-10-21 07:54:43.012 DEBUG (Thread-7) [custom_components.ds_air.ds_air_service.service] need_ack: 1
from ha-dsair.
@lightrabbit 看日志是没有正常获取到room id,看你之前的评论是改了请求名称SYS_GET_ROOM_INFO_V1,从我的日志看,用的就是这个方法,感觉需要给改回来
from ha-dsair.
@lightrabbit 看日志是没有正常获取到room id,看你之前的评论是改了请求名称SYS_GET_ROOM_INFO_V1,从我的日志看,用的就是这个方法,感觉需要给改回来
这样看B611和D611的差别还挺大的,你看方便加我微信号吗?有时间的时候可以一起调试一下,微信号和我github号相同。
from ha-dsair.
Related Issues (20)
- Mypal先生我的ha dsair不能用了 HOT 1
- 开始报错了 HOT 1
- homekit 中湿度显示的问题 HOT 5
- 设备无法通过端口访问 HOT 9
- 又来热乎的报错了... HOT 4
- 有没有可能支持卫浴机的换气开关 HOT 1
- 预订了一台DTA117D611,请问手机端配置应该选用哪款APP(iOS) HOT 10
- 接入HA后使用正常,但是hass bridge到homekit后无法控制 HOT 2
- HA 最新版本报错 HOT 1
- DTA117D611如何接入 HOT 1
- 开关键消失,失灵
- 添加集成失败 HOT 2
- 如何禁用掉homekit里面的制热模式,只保留制冷模式? HOT 7
- 风向功能无效 HOT 1
- 多个网关支持?
- 求助 安装不了一直转圈 HOT 11
- 请教一下,连不上8008端口是什么情况? HOT 1
- DTA117D611选择了C611端口也是默认一直转圈安装不了
- Deprecated const
- 求支持HD和新风
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ha-dsair.