KNX/IP Disconnected - Printable Version +- Logic Machine Forum (https://forum.logicmachine.net) +-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1) +--- Forum: Scripting (https://forum.logicmachine.net/forumdisplay.php?fid=8) +--- Thread: KNX/IP Disconnected (/showthread.php?tid=293) Pages:
1
2
|
KNX/IP Disconnected - Angeles - 06.05.2016 Hi: How can I Know that the bus KNX is disconnected outside Alerts. I want to send an email to know that situation. Thanks. RE: KNX/IP Disconnected - rocfusion - 21.02.2017 Hi, So is there a way to do this? Is there a way to get specific alerts to generate an email? Thanks, Roger RE: KNX/IP Disconnected - admin - 21.02.2017 Yes, via a resident script: Code: if not client then RE: KNX/IP Disconnected - PassivPluss - 21.02.2017 Good. Is there a way to fo the same with knx physical adresses as well? I was thinking to maybe ones a day run a script that checks programmed adresses and makes an alert if trouble and and ok message to the log if ok RE: KNX/IP Disconnected - admin - 21.02.2017 There's knxlib.ping(phys_addr) function that you can use. But it will work only if your LM has direct KNX/TP connection. RE: KNX/IP Disconnected - PassivPluss - 21.02.2017 Ok. Thx. Yes i have tp so that will work RE: KNX/IP Disconnected - rocfusion - 22.02.2017 (21.02.2017, 08:35)admin Wrote: Yes, via a resident script: Thank you. I added the function into the group address status script. From before. RE: KNX/IP Disconnected - morkovka - 30.08.2021 (22.02.2017, 01:47)rocfusion Wrote:I tried this function and it's not working in the current version of Wiser - does anyone have a current working version of this function to check the local KNX TP link?(21.02.2017, 08:35)admin Wrote: Yes, via a resident script: Tried in a resident script and scheduled script (I prefer scheduled script), anyway the statushandler() function never gets called. RE: KNX/IP Disconnected - forsterm - 31.08.2021 Hi, I tested it with Wiser for KNX with firmware 2.6.2 and it was working for me. You have to use resident script with sleep time 0. (30.08.2021, 20:27)morkovka Wrote:(22.02.2017, 01:47)rocfusion Wrote:I tried this function and it's not working in the current version of Wiser - does anyone have a current working version of this function to check the local KNX TP link?(21.02.2017, 08:35)admin Wrote: Yes, via a resident script: RE: KNX/IP Disconnected - morkovka - 31.08.2021 Strange, I wonder what am I doing wrong. I'm using this, in a resident script with sleep time 0: Code: -- KNX TP connectivity check And I get nothing in the logs, error logs, alerts... any ideas? (31.08.2021, 06:36)forsterm Wrote: Hi, RE: KNX/IP Disconnected - admin - 31.08.2021 You won't get any log until the connection status changes. If you want to get the current status the use status = buslib.isconnected() RE: KNX/IP Disconnected - morkovka - 31.08.2021 (31.08.2021, 07:53)admin Wrote: You won't get any log until the connection status changes. If you want to get the current status the use status = buslib.isconnected() Thank you, that works well! What's the difference between 'knxlib' and 'buslib'? RE: KNX/IP Disconnected - admin - 31.08.2021 No difference, both variables reference the same library functions RE: KNX/IP Disconnected - Hyxion14 - 01.10.2021 What can be the reason for KNX / TP disconnected messages? In my alerts, I have many messages from KNX / TP connected and KNX / TP disconnected, but I do not know why. Thanks. RE: KNX/IP Disconnected - admin - 01.10.2021 Which hardware version do you have? RE: KNX/IP Disconnected - Hyxion14 - 01.10.2021 HW: LM5 Lite (i.MX6) SW: 20200703 RE: KNX/IP Disconnected - morkovka - 01.10.2021 I also experience this, once every few days - in the Error log I see: Quote:KNX/TP: Transmitter Error (send 0 receive 1) And in the Alerts log, at the same exact time (same second), it says: Quote:KNX/TP: Connected Using W4K i.MX6. RE: KNX/IP Disconnected - admin - 01.10.2021 Transmitter error and temperature warning usually means that there are too many devices on the KNX line. RE: KNX/IP Disconnected - morkovka - 05.10.2021 (01.10.2021, 14:06)admin Wrote: Transmitter error and temperature warning usually means that there are too many devices on the KNX line. What temperature warning? I don't see it. Just the transmitter error coupled with a 'connected' (as if the device's KNX line was disconnected and reconnected) RE: KNX/IP Disconnected - admin - 05.10.2021 Temperature warning is another indication of an overloaded line. It's not guaranteed to appear though. The more devices are on the KNX line the harder it is to transmit data. This leads to the chip overheating and/or not being able to transmit at all (send 0 receive 1 error). |