Hello there,
while most of the things are working, I have a problem getting a value to display in UI.
In the logs I can see the KNX device sending to an GA. Here from openhab.log:
[DEBUG] [calimero.link.224.0.23.12:3671 ] - indication 1.1.40->1/2/5 L_Data.ind, low priority hop count 6, tpdu 00 80 0c a1
[DEBUG] [calimero.link.224.0.23.12:3671 ] - indication 1.1.40->1/2/5 L_Data.ind, low priority hop count 6, tpdu 00 80 0c a1
[DEBUG] [.internal.handler.DeviceThingHandler] - Thing 'knx:device:KG_ISG:KG_WP' received a Group Write telegram from '1.1.40' for destination '1/2/5'
[DEBUG] [.internal.handler.DeviceThingHandler] - Thing 'knx:device:KG_ISG:KG_WP' received a Group Write telegram from '1.1.40' for destination '1/2/5'
[DEBUG] [.internal.handler.DeviceThingHandler] - Thing 'knx:device:KG_ISG:KG_WP' received a Group Write telegram from '1.1.40' for destination '1/2/5'
[DEBUG] [calimero.link.224.0.23.12:3671 ] - indication 1.1.40->1/2/5 L_Data.ind, low priority hop count 6, tpdu 00 80 0c a1
[DEBUG] [calimero.link.224.0.23.12:3671 ] - indication 1.1.40->1/2/5 L_Data.ind, low priority hop count 6, tpdu 00 80 0c a1
[DEBUG] [.internal.handler.DeviceThingHandler] - Thing 'knx:device:KG_ISG:KG_WP' received a Group Write telegram from '1.1.40' for destination '1/2/5'
Strange, I never see the Thing coming online in events.log:
[event.ThingStatusInfoEvent] - 'knx:ip:KG_ISG' updated: ONLINE
[hingStatusInfoChangedEvent] - 'knx:ip:KG_ISG' changed from UNKNOWN to ONLINE
[event.ThingStatusInfoEvent] - 'knx:device:KG_ISG:KG_WP' updated: UNKNOWN
[hingStatusInfoChangedEvent] - 'knx:device:KG_ISG:KG_WP' changed from OFFLINE (BRIDGE_OFFLINE) to UNKNOWN
Things file (192.168.109.100 is local IP of openHAB server, 1.1.1 is a dummy PA for openHAB):
Bridge knx:ip:KG_ISG "IPR-KG KNX-Gateway" @ "KG-UV" [
type="Router",
localIp="192.168.109.100",
localSourceAddr="1.1.1",
useNAT=false,
readingPause=50,
responseTimeout=10,
readRetriesLimit=3,
autoReconnectPeriod=5
] {
Thing device KG_WP "KG-WP" @ "KG-UV" [ address="1.1.40", fetch=false, pingInterval=600, readInterval=30 ] {
Type number : HKL_KG_TECHNIK_HK2_Istwert "HK2 Isttemperatur" [ ga="9.001:<1/2/5" ]
}
}
Items (snippet):
Number HKL_KG_TECHNIK_HK2_Istwert "HK2 Istwert [%.1f °C]" <temperature> (gHeizung) { channel="knx:ip:KG_ISG:KG_WP:HKL_KG_TECHNIK_HK2_Istwert"}
Sitemap (snippet):
Frame label="Test" {
Text item=HKL_KG_TECHNIK_HK2_Istwert label="Heizkreis 2 IST [%.1f °C]"
}
Also strange: whenever I declare a KNX Bridge as type ROUTER, Paper UI will show it as Offline the whole time. Declaring it with type TUNNEL, Paper UI will show it Online. All my KNX IP Routers offer several tunnels for communication beside routing mode.
Although I should not mix up questions topics: shouldn’t I get “number” offered, if I typed in the letters n followed by u in a things file? I am using VS Code and LSP port (5007) on openHAB server is not blocked. Thinking about it: sometimes syntax errors are shown, but code completion almost never works. Or is it just syntax checking, no “intellisense”?
{
"openhab.host": "openhab.tupti.net",
"openhab.port": 8080
}
Kind regards,
Carsten