Hello all,
I have just set up a fresh openhabian install and now I encounter the same problems. On my bus system I do have a GIRA X1 (which can act as an KNX/IP Gateway) and also a GIRA KNX-IP GW.
I do not have a knxd running because it was my understanding that this is only an intermediate service between the bus and the openhab2 instance which is not needed.
This set up has been working on openhab pre 2.4 flawlessly.
Are there any new thoughts regarding the root cause of this problem?
My situation is exactly as desribed here: knx works fine for about 2 hours, then it disconnects and cannot reconnect.
Hello
Same issue on my Raspi. Iām using MDTās Ā«SCN-IP000.02 IP InterfaceĀ».
It works like i charm but only for a few hours, then the KNX is disconnected.
All other bindings are not affected, only the KNX Binding (binding-knx - 2.4.0).
I have absolute no clue what to change in my config. (see some excerpts and netstat below)
Is there anyone who solved the issue?
Thanks to all in advance who provide any hints or solutionā¦
BR, urs
openHABianPi
Ip = 192.168.10.23
Release = Raspbian GNU/Linux 9 (stretch)
Kernel = Linux 4.14.79+
Platform = Raspberry Pi Model B Rev 2
Updates = 0 apt updates available.
not a solution yet. But I installed knxd on the raspi running openhabian. I have set up knxd so that I can connect to the bus manually (knxtool commandline). However, I did not change my thing definition. This means, I do not use knxd for openhabian, but I have a constantly working connection right now.
Dear,
Iāve the same problem. Are there news about it?
Iām try to restart knx binding as write from andrzej_szymkowicz but Iām using sendCommand without good results because I receive a message where OH say to me problems with accessing permission of rsa file. Iām using openhabian and I donāt understand because there the openhab and the openhabian users. I think I need to use openhab user but I donāt fine its password on intenet.
Can you help me? My porting work for upgrate to KNX2 from KNX1 is not usable if KNX2 stop working.
rule "Restart KNX"
when
Time cron "0/10 * * ? * *"
then
val allThings = sendHttpGetRequest("http://192.168.1.81:8080/rest/things")
if(allThings.indexOf('BRIDGE_OFFLINE"},"editable":false,"label":"KNK [ATT] 1.1.4')>0){
logInfo("KNX", "KNX Autorestart")
var String esito = executeCommandLine("/etc/openhab2/scripts/restartknx.sh",5000)
if(esito!=''){
logInfo("KNX", "Autorestart completed (" + esito +")")
}
}
end
In the sh file I check offline thing status searching āBRIDGE_OFFLINEā},āeditableā:false,ālabelā:āKNK [ATT] 1.1.4ā string into json sendHttpGetRequest result. This is a specific string of a my knx thing and you must search a your specific different string.
Remember to change [YOUR_SYSTEM_USER] and [YOUR_SYSTEM_PASSWORD] with your openhabian credentials of a my knx thing and you can search a your specific different string.