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

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

[插件集成] 【240726更新】向日葵插座免刷机接入ha,支持本地控制

  [复制链接]

5

主题

91

帖子

744

积分

高级会员

Rank: 4

积分
744
金钱
653
HASS币
10
 楼主| 发表于 2024-6-4 12:29:03 | 显示全部楼层
小铭同学 发表于 2024-6-4 11:52
好像不行了,重启了ha之后一直卡着进不去系统,排查了日子好像是这个问题,禁用后正常了 ...

4月28号的版本嘛,能贴日志嘛,ha什么版本
回复

使用道具 举报

0

主题

15

帖子

74

积分

注册会员

Rank: 2

积分
74
金钱
59
HASS币
0
发表于 2024-6-4 22:10:19 | 显示全部楼层
scry 发表于 2024-6-4 12:29
4月28号的版本嘛,能贴日志嘛,ha什么版本

我也是4月28号的版本,出现了这个问题。最开始是无法控制,现在变成了不禁用插件,ha会一直卡着进不去。
版本如下,是docker的版本
Core
2024.3.3
前端
20240307.0
回复

使用道具 举报

0

主题

15

帖子

74

积分

注册会员

Rank: 2

积分
74
金钱
59
HASS币
0
发表于 2024-6-4 22:15:10 | 显示全部楼层

2024-06-02 16:10:07.405 DEBUG (MainThread) [custom_components.sunlogin.sunlogin] get_plug_electric(update):connection error
2024-06-02 16:10:07.405 DEBUG (MainThread) [custom_components.sunlogin.sunlogin] get_plug_status(update):connection error
2024-06-02 16:10:07.916 DEBUG (MainThread) [custom_components.sunlogin.sunlogin] get_plug_electric(update):connection error
2024-06-02 16:10:07.917 DEBUG (MainThread) [custom_components.sunlogin.sunlogin] get_plug_status(update):connection error
2024-06-02 16:10:07.917 DEBUG (MainThread) [custom_components.sunlogin.sunlogin] get_plug_status(update):connection error
2024-06-02 16:10:07.918 DEBUG (MainThread) [custom_components.sunlogin.sunlogin] get_plug_electric(update):connection error
2024-06-02 16:10:17.387 DEBUG (MainThread) [custom_components.sunlogin.sunlogin] get_plug_electric(update):connection error
2024-06-02 16:10:17.387 DEBUG (MainThread) [custom_components.sunlogin.sunlogin] get_plug_status(update):connection error
2024-06-02 16:10:30.652 DEBUG (MainThread) [custom_components.sunlogin.sunlogin] in async_update
2024-06-02 16:10:30.652 DEBUG (MainThread) [custom_components.sunlogin.sunlogin] status: {'led': 0, 'def_st': 0, 'relay0': 0, 'power': 0, 'current': 0, 'voltage': 0, 'electricity_hour': 0, 'electricity_day': 0, 'electricity_week': 524.5169117, 'electricity_month': 0, 'electricity_lastmonth': 1640.8013167000001, 'remote': 1}
2024-06-02 16:10:30.652 DEBUG (MainThread) [custom_components.sunlogin.sunlogin] Finished fetching sunlogin_C2-BLE_20****5 data in 0.000 seconds (success: True)
2024-06-02 16:10:30.652 DEBUG (MainThread) [custom_components.sunlogin.switch] def_st: 0
2024-06-02 16:10:30.652 DEBUG (MainThread) [custom_components.sunlogin.switch] relay0: 0
2024-06-02 16:10:30.652 DEBUG (MainThread) [custom_components.sunlogin.switch] remote: 1
2024-06-02 16:10:30.652 DEBUG (MainThread) [custom_components.sunlogin.switch] led: 0
2024-06-02 16:10:30.653 DEBUG (MainThread) [custom_components.sunlogin.sunlogin] in async_update
2024-06-02 16:10:30.653 DEBUG (MainThread) [custom_components.sunlogin.sunlogin] status: {'led': 0, 'def_st': 0, 'relay0': 0, 'power': 0, 'current': 0, 'voltage': 0, 'electricity_hour': 1.93007, 'electricity_day': 337.18327, 'electricity_week': 3346.738269999999, 'electricity_month': 500.01117, 'electricity_lastmonth': 9845.348760089993, 'remote': 1}
2024-06-02 16:10:30.653 DEBUG (MainThread) [custom_components.sunlogin.sunlogin] Finished fetching sunlogin_C2-BLE_20***8 data in 0.000 seconds (success: True)
2024-06-02 16:10:30.653 DEBUG (MainThread) [custom_components.sunlogin.switch] def_st: 0
2024-06-02 16:10:30.653 DEBUG (MainThread) [custom_components.sunlogin.switch] relay0: 0
2024-06-02 16:10:30.653 DEBUG (MainThread) [custom_components.sunlogin.switch] remote: 1
2024-06-02 16:10:30.653 DEBUG (MainThread) [custom_components.sunlogin.switch] led: 0
2024-06-02 16:10:30.653 DEBUG (MainThread) [custom_components.sunlogin.sunlogin] in async_update
2024-06-02 16:10:30.653 DEBUG (MainThread) [custom_components.sunlogin.sunlogin] status: {'led': 0, 'def_st': 0, 'relay0': 0, 'power': 0, 'current': 0, 'voltage': 0, 'electricity_hour': 13.7791, 'electricity_day': 945.5533, 'electricity_week': 6513.715369999998, 'electricity_month': 2250.1552999999994, 'electricity_lastmonth': 40232.449772, 'remote': 1}
2024-06-02 16:10:30.653 DEBUG (MainThread) [custom_components.sunlogin.sunlogin] Finished fetching sunlogin_C2-BLE_1*** data in 0.000 seconds (success: True)
2024-06-02 16:10:30.653 DEBUG (MainThread) [custom_components.sunlogin.switch] def_st: 0
2024-06-02 16:10:30.653 DEBUG (MainThread) [custom_components.sunlogin.switch] relay0: 0
2024-06-02 16:10:30.654 DEBUG (MainThread) [custom_components.sunlogin.switch] remote: 1
2024-06-02 16:10:30.654 DEBUG (MainThread) [custom_components.sunlogin.switch] led: 0
2024-06-02 16:10:30.654 DEBUG (MainThread) [custom_components.sunlogin.switch] def_st: 0
2024-06-02 16:10:30.654 DEBUG (MainThread) [custom_components.sunlogin.switch] relay0: 0
2024-06-02 16:10:30.654 DEBUG (MainThread) [custom_components.sunlogin.switch] remote: 1
2024-06-02 16:10:30.654 DEBUG (MainThread) [custom_components.sunlogin.switch] def_st: 0
2024-06-02 16:10:30.654 DEBUG (MainThread) [custom_components.sunlogin.switch] relay0: 0
2024-06-02 16:10:30.654 DEBUG (MainThread) [custom_components.sunlogin.switch] remote: 1
2024-06-02 16:10:30.655 DEBUG (MainThread) [custom_components.sunlogin.switch] def_st: 0
2024-06-02 16:10:30.655 DEBUG (MainThread) [custom_components.sunlogin.switch] relay0: 0
2024-06-02 16:10:30.655 DEBUG (MainThread) [custom_components.sunlogin.switch] remote: 1
2024-06-02 16:10:30.655 DEBUG (MainThread) [custom_components.sunlogin.switch] led: 0
2024-06-02 16:10:30.655 DEBUG (MainThread) [custom_components.sunlogin.switch] led: 0
2024-06-02 16:10:30.655 DEBUG (MainThread) [custom_components.sunlogin.switch] led: 0
日志变这样了,是不是接口变了,可惜看不懂python,要是java还能看看
回复

使用道具 举报

5

主题

91

帖子

744

积分

高级会员

Rank: 4

积分
744
金钱
653
HASS币
10
 楼主| 发表于 2024-6-4 23:25:52 | 显示全部楼层
gdjd6 发表于 2024-6-4 22:15
2024-06-02 16:10:07.405 DEBUG (MainThread) [custom_components.sunlogin.sunlogin] get_plug_electric( ...

找到问题了,开了添加前更新状态,然后接口废弃一直等待请求,就卡着了
2.2.1更新了接口不会卡重启,等2.2.3版本会更新状态同步机制,以后都不会有这种问题了
回复

使用道具 举报

0

主题

15

帖子

74

积分

注册会员

Rank: 2

积分
74
金钱
59
HASS币
0
发表于 2024-6-4 23:53:35 | 显示全部楼层
scry 发表于 2024-6-4 23:25
找到问题了,开了添加前更新状态,然后接口废弃一直等待请求,就卡着了
2.2.1更新了接口不会卡重启,等2. ...

今天发的这2个有什么区别。。。没看明白,大佬
回复

使用道具 举报

5

主题

91

帖子

744

积分

高级会员

Rank: 4

积分
744
金钱
653
HASS币
10
 楼主| 发表于 2024-6-4 23:55:31 | 显示全部楼层
gdjd6 发表于 2024-6-4 23:53
今天发的这2个有什么区别。。。没看明白,大佬

2.2.1要重新配置,但是更新了接口,另一个没啥用,只是修复了重启bug,没换接口,只能用本地
回复

使用道具 举报

0

主题

15

帖子

74

积分

注册会员

Rank: 2

积分
74
金钱
59
HASS币
0
发表于 2024-6-5 15:04:13 | 显示全部楼层
scry 发表于 2024-6-4 23:55
2.2.1要重新配置,但是更新了接口,另一个没啥用,只是修复了重启bug,没换接口,只能用本地 ...

2.2.1可以了,谢谢大佬
回复

使用道具 举报

0

主题

7

帖子

118

积分

注册会员

Rank: 2

积分
118
金钱
111
HASS币
0
发表于 2024-6-5 16:30:42 | 显示全部楼层
2.2.1版本已经可以正常使用了  感谢大佬的付出
回复

使用道具 举报

2

主题

37

帖子

357

积分

中级会员

Rank: 3Rank: 3

积分
357
金钱
320
HASS币
0
发表于 2024-6-6 00:53:35 | 显示全部楼层
scry 发表于 2024-6-4 12:29
4月28号的版本嘛,能贴日志嘛,ha什么版本

感谢大佬,日志和楼下的差不多,更新了之后可以了,
回复

使用道具 举报

0

主题

10

帖子

66

积分

注册会员

Rank: 2

积分
66
金钱
56
HASS币
0
发表于 2024-6-14 23:02:19 | 显示全部楼层
经常折腾的重启就废了  坐等大佬更新么么哒
回复

使用道具 举报

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

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-9-29 08:19 , Processed in 0.056283 second(s), 30 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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