Comments (24)
有遇到过类似问题,需要在HA重载集成才能好,不过出现频率不高(可能几周一次),暂时还没找到原因。
我会开日志关注一下,看看下次出现的时候能不能找到线索
from homeassistant-terncy-component.
感謝,不過我三樓最多稱兩天,最晚一天就需要重新載人。我目前把ha定位關掉測試看看
from homeassistant-terncy-component.
有遇到过类似问题,需要在HA重载集成才能好,不过出现频率不高(可能几周一次),暂时还没找到原因。
我会开日志关注一下,看看下次出现的时候能不能找到线索
大佬我又来找您 了,我这一个小时不到全部不可用,等一下又好,然后又不可用,HA是core 2024.1.6版本的
from homeassistant-terncy-component.
from homeassistant-terncy-component.
from homeassistant-terncy-component.
from homeassistant-terncy-component.
from homeassistant-terncy-component.
有遇到过类似问题,需要在HA重载集成才能好,不过出现频率不高(可能几周一次),暂时还没找到原因。
我会开日志关注一下,看看下次出现的时候能不能找到线索大佬我又来找您 了,我这一个小时不到全部不可用,等一下又好,然后又不可用,HA是core 2024.1.6版本的
我这还挺稳定的诶,我也是2024.1.6。
你是最近才这样的吗?网络方面或者其它有什么变化吗?
from homeassistant-terncy-component.
from homeassistant-terncy-component.
我後來發現問題所在了,如果有用多網關融合,主網關那組設備會容易沒有回應。只要解除融合就穩定多了,你可以試看看
from homeassistant-terncy-component.
from homeassistant-terncy-component.
发生这个异常后,不要动HA,重启网关能恢复吗?
from homeassistant-terncy-component.
如果还发现有问题,请试试这个版本: https://github.com/rxwen/homeassistant-terncy-component/releases/tag/v1.0.40
from homeassistant-terncy-component.
温总,这有几个开关一起这状态,现在都 不知道是那个开关了,房间和名称都 不同步
from homeassistant-terncy-component.
from homeassistant-terncy-component.
这个嘛,应该是某个不到3路的开关的第3个按键。(现在这样确实不太好认)
from homeassistant-terncy-component.
from homeassistant-terncy-component.
我今天才发现门锁里面的电量是不变化的,一直是80,从来没变化 过
from homeassistant-terncy-component.
如果还发现有问题,请试试这个版本: https://github.com/rxwen/homeassistant-terncy-component/releases/tag/v1.0.40
先 close 此问题。如有问题再 open
from homeassistant-terncy-component.
from homeassistant-terncy-component.
from homeassistant-terncy-component.
-
Core 2024.3.3
-
Supervisor 2024.03.1
-
Operating System 12.1
-
前端 20240307.0
-
terncy v1.0.40
我这边也是一样的问题,单个网关
实体在 HA 中时不时变成不可用
只能在集成中重载(我日常就靠定时重载任务解决,但总会遇上不可用状态)
不动HA,重启网关,无法解决这个问题
下面是日志:
Details
日志: homeassistant.components.websocket_api.http.connection
来源: components/websocket_api/commands.py:239
集成: Home Assistant WebSocket API (文档, 问题)
首次发生: 22:11:00 (6 全部发生)
上次记录: 22:21:08
[139937861737024] sent 1000 (OK); no close frame received
[139937861736640] sent 1000 (OK); no close frame received
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/websockets/legacy/protocol.py", line 959, in transfer_data
message = await self.read_message()
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/websockets/legacy/protocol.py", line 1029, in read_message
frame = await self.read_data_frame(max_size=self.max_size)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/websockets/legacy/protocol.py", line 1104, in read_data_frame
frame = await self.read_frame(max_size)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/websockets/legacy/protocol.py", line 1161, in read_frame
frame = await Frame.read(
^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/websockets/legacy/framing.py", line 68, in read
data = await reader(2)
^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/asyncio/streams.py", line 750, in readexactly
raise exceptions.IncompleteReadError(incomplete, n)
asyncio.exceptions.IncompleteReadError: 0 bytes read on a total of 2 expected bytes
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 239, in handle_call_service
response = await hass.services.async_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2319, in async_call
response_data = await coro
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2356, in _execute_service
return await target(service_call)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 905, in entity_service_call
single_response = await _handle_entity_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 975, in _handle_entity_call
result = await task
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/light/init.py", line 628, in async_handle_light_on_service
await light.async_turn_on(**filter_turn_on_params(light, params))
File "/usr/src/homeassistant/homeassistant/components/switch_as_x/entity.py", line 155, in async_turn_on
await self.hass.services.async_call(
File "/usr/src/homeassistant/homeassistant/core.py", line 2319, in async_call
response_data = await coro
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2356, in _execute_service
return await target(service_call)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 905, in entity_service_call
single_response = await _handle_entity_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 975, in _handle_entity_call
result = await task
^^^^^^^^^^
File "/config/custom_components/terncy/switch.py", line 78, in async_turn_on
await self.api.set_attribute(
File "/config/custom_components/terncy/core/gateway.py", line 224, in set_attribute
ret = await self.api.set_attribute(eid, attr, value, method)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/terncy/terncy.py", line 321, in set_attribute
await self._connection.send(json.dumps(data))
File "/usr/local/lib/python3.12/site-packages/websockets/legacy/protocol.py", line 635, in send
await self.ensure_open()
File "/usr/local/lib/python3.12/site-packages/websockets/legacy/protocol.py", line 935, in ensure_open
raise self.connection_closed_exc()
websockets.exceptions.ConnectionClosedError: sent 1000 (OK); no close frame received
from homeassistant-terncy-component.
很有帮助的日志, 看上去似乎是 HA 和网关之间的连接不太稳定.
会尽快试着修一下.
from homeassistant-terncy-component.
我在本地无法复现这个问题。请测试下这个1.0.41版本。
https://github.com/rxwen/homeassistant-terncy-component/releases/tag/v1.0.41
from homeassistant-terncy-component.
Related Issues (20)
- TERNCY-WS01: Have all buttons under one device?
- 断外网情况下的多网关是什么情况? HOT 2
- 请问是否支持小燕智能门锁 HOT 48
- 请问是否支持小燕人体存在传感器 TERNCY-PS01 HOT 5
- 添加集成显示错误 无法加载配置向导: 500 Internal Server Error Server got itself in trouble HOT 5
- 小燕门磁温度正常显示,开合状态未知 HOT 5
- HA重启后集成不可用 HOT 5
- 请问精卫DIM002如何在小燕APP里调节电流呢? HOT 1
- 无法加载配置向导: 500 Internal Server Error Server got itself in trouble HOT 10
- 这个项目还会一直更新吗? HOT 2
- 网关断电再次重启以后集成不可用,必须重启HA HOT 9
- 无线开关没有正确暴露 HOT 10
- HA导入小燕设备的实体ID HOT 10
- Could add power entity access supporting of smart plug? HOT 3
- Expose Control for All LEDs on Terncy Wall Switches in Home Assistant HOT 2
- 1.0.42中人体传感器HA中不可用,型号TERNCY-PP03 HOT 16
- homeassistant core 2024.5.3 device can't find HOT 19
- 小燕网关与HA通信失效 HOT 12
- 大金冷氣搭配小燕空調控制器 HOT 2
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 homeassistant-terncy-component.