XKNX / knx-integration

Home Assistant KNX integration proxy repository
9 stars 0 forks source link

Entities unavailable from time to time #12

Open Saargebeat opened 1 week ago

Saargebeat commented 1 week ago

Hello guys,

if i watch my HA Controls, the KNX Entities are becoming unavailable from time to time (only for about 1 second)

How can we troubleshoot this? Is it maybe some known issue?

farmio commented 1 week ago

Hi 👋! Entities go "unavailable" when the Knx tunnelling connection is lost. So it seems you have an unstable connection for some reason.

Saargebeat commented 6 days ago

i am using my Timberwolf Server. Ill go to a classic KNX IP Interface and try that

Anything i could check to improve connection until then?

Are there logs somewhere that prove the connection was lost?

farmio commented 6 days ago

Anything i could check to improve connection until then?

From HA side there is not much you can do. You could try to use TCP instead of UDP, but the server would have to support that (Tunnelling v2). If you use "Automatic" connection this is the default anyway - if supported. Anyway, UDP should also just work fine.

Are there logs somewhere that prove the connection was lost?

Open your Home Assistant instance and show your Home Assistant logs. Unfortunately KNX IP doesn't provide much information about why a disconnect happened to a client (HA / xknx), so you'd have to take a look at the tunnelling servers logs (but most interfaces don't provide any 😬).