-
-
Notifications
You must be signed in to change notification settings - Fork 31.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
KNX integration stops working after some minutes #39298
Comments
Hey there @Julius2342, @farmio, @marvin-w, mind taking a look at this issue as its been labeled with an integration ( |
Hi! 👋 As a workaround you could use a tunneling connection until then. Could you maybe try to stop OpenHAB for a test to see if the telegrams are sent from this? I'd be interested in the source. I've only seen such telegrams from ETS searching for devices in programming mode or doing a Line-Scan. |
Hi - thanks for your fast reply! It seems to hold true, what they say about the HA community 👍 I tried with tunneling, but that also fails with the same error after some minutes. So I'll probably have to test taking OpenHAB offline. |
There is a calendar here: https://developers.home-assistant.io - I think it is 3 Weeks. |
Sure, here are the error messages, when Log Details (WARNING)
Logger: xknx.log
Source: /usr/local/lib/python3.8/site-packages/xknx/knxip/cemi_frame.py:121
First occurred: 8:58:45 PM (96 occurrences)
Last logged: 8:58:50 PM
Ignoring not implemented CEMI: <UnsupportedCEMIMessage description="APCI not supported: 0b100001100000000" />
Ignoring not implemented CEMI: <UnsupportedCEMIMessage description="CEMI too small. Length: 10; CEMI: b')\x00\xb0P\x11\x0b\x00\x00\x00\xc2'" />
Ignoring not implemented CEMI: <UnsupportedCEMIMessage description="CEMI too small. Length: 10; CEMI: b')\x00\xb0`\x00\x00\x11\x0b\x00\x81'" />
Ignoring not implemented CEMI: <UnsupportedCEMIMessage description="APCI not supported: 0b100001101000000" />
Ignoring not implemented CEMI: <UnsupportedCEMIMessage description="CEMI too small. Length: 10; CEMI: b')\x00\xb0`\x00\x00\x11\x0b\x00\xc2'" />
Log Details (ERROR)
Logger: homeassistant
Source: /usr/src/homeassistant/homeassistant/runner.py:115
First occurred: 8:58:45 PM (73 occurrences)
Last logged: 8:58:50 PM
Error doing job: Exception in callback _SelectorDatagramTransport._read_ready()
Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/local/lib/python3.8/asyncio/events.py", line 81, in _run
self._context.run(self._callback, *self._args)
File "/usr/local/lib/python3.8/asyncio/selector_events.py", line 1019, in _read_ready
self._protocol.datagram_received(data, addr)
File "/usr/local/lib/python3.8/site-packages/xknx/io/udp_client.py", line 56, in datagram_received
self.data_received_callback(data)
File "/usr/local/lib/python3.8/site-packages/xknx/io/udp_client.py", line 90, in data_received_callback
self.handle_knxipframe(knxipframe)
File "/usr/local/lib/python3.8/site-packages/xknx/io/udp_client.py", line 99, in handle_knxipframe
callback.callback(knxipframe, self)
File "/usr/local/lib/python3.8/site-packages/xknx/io/routing.py", line 34, in response_rec_callback
if knxipframe.body.src_addr == self.xknx.own_address:
File "/usr/local/lib/python3.8/site-packages/xknx/telegram/address.py", line 62, in __eq__
raise TypeError()
TypeError In addition, I set OpenHAB offline for some minutes (no extensive testing), but during that time no error occurred. Seems like you're right on this one. |
I will do some testing tomorrow as well.
Thank all for the effort and work on the KNX integration.
Maybe there are more KNX HA users than everyone thinks ;P
Op do 27 aug. 2020 20:29 schreef Matthias Alphart <notifications@github.com
…:
There is a calendar here: https://developers.home-assistant.io - I think
it is 3 Weeks.
If you're a little adventurous you can already test 0.115 if you run the
dev branch. Any feedback for this issue would be welcome. Or wait for the
beta and try it 1 week earlier.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#39298 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABJR36KJMJR5CTYMWCWOGM3SC2QY7ANCNFSM4QMGL7GA>
.
|
@LavermanJJ you seem to be still routing
|
Sorry for the delay. Been off for some days. You were right, tunneling works 👍 |
Feel free to close it right away. |
The problem
When starting with HA, setup went fine. Different KNX entities can be controlled and status is updated when changes come from KNX. However, after some time (< 15-20 min), the two log messages below occur and the integration is broken: Changing the state in HA has no effect on KNX and vice versa.
Environment
Problem-relevant
configuration.yaml
Traceback/Error logs
Log Details (WARNING) Logger: xknx.log Source: /usr/local/lib/python3.8/site-packages/xknx/knxip/cemi_frame.py:121 First occurred: 9:29:39 PM (112 occurrences) Last logged: 9:39:46 PM Ignoring not implemented CEMI: <UnsupportedCEMIMessage description="APCI not supported: 0b100001100000000" /> Ignoring not implemented CEMI: <UnsupportedCEMIMessage description="CEMI too small. Length: 10; CEMI: b')\x00\xb0P\x11\x0b\x00\x00\x00\xc2'" /> Ignoring not implemented CEMI: <UnsupportedCEMIMessage description="CEMI too small. Length: 10; CEMI: b')\x00\xb0`\x00\x00\x11\x0b\x00\x81'" /> Ignoring not implemented CEMI: <UnsupportedCEMIMessage description="APCI not supported: 0b100001101000000" /> Ignoring not implemented CEMI: <UnsupportedCEMIMessage description="CEMI too small. Length: 10; CEMI: b')\x00\xb0`\x00\x00\x11\x0b\x00\xc2'" /> Log Details (ERROR) Logger: homeassistant Source: /usr/src/homeassistant/homeassistant/runner.py:115 First occurred: 9:29:39 PM (85 occurrences) Last logged: 9:39:46 PM Error doing job: Exception in callback _SelectorDatagramTransport._read_ready() Error doing job: Task exception was never retrieved Traceback (most recent call last): File "/usr/local/lib/python3.8/asyncio/events.py", line 81, in _run self._context.run(self._callback, *self._args) File "/usr/local/lib/python3.8/asyncio/selector_events.py", line 1019, in _read_ready self._protocol.datagram_received(data, addr) File "/usr/local/lib/python3.8/site-packages/xknx/io/udp_client.py", line 56, in datagram_received self.data_received_callback(data) File "/usr/local/lib/python3.8/site-packages/xknx/io/udp_client.py", line 90, in data_received_callback self.handle_knxipframe(knxipframe) File "/usr/local/lib/python3.8/site-packages/xknx/io/udp_client.py", line 99, in handle_knxipframe callback.callback(knxipframe, self) File "/usr/local/lib/python3.8/site-packages/xknx/io/routing.py", line 34, in response_rec_callback if knxipframe.body.src_addr == self.xknx.own_address: File "/usr/local/lib/python3.8/site-packages/xknx/telegram/address.py", line 62, in __eq__ raise TypeError() TypeError
Additional information
The text was updated successfully, but these errors were encountered: