NTP time on KNX bus in openhab 3.4

Hello there,

Currently I’m still running openhab 1, so I thought it might be time to migrate to the latest version.
However I’m running into problems getting the NTP time on the KNX bus.
Since there doesn’t seem to be a straightforward solution, i’ve resorted to this forum. I found some hints in Sending NTP time to KNX in OpenHAB3?
But the solution doesn’t work for me.

I’ve created a knx.things file pasting the code:

UID: knx:device:KNXDateTime
label: KNX DateTime Wrapper
thingTypeUID: knx:device
pingInterval: 600
readInterval: 0
fetch: false
bridgeUID: knx:ip:Weinzierl730

  • id: time
    channelTypeUID: knx:datetime-control
    label: DateTime
    description: null
    ga: 10.001:6/0/1

Only to get errors like these:

Configuration model ‘knx.things’ has errors, therefore ignoring it: [3,1]: extraneous input ‘thingTypeUID’ expecting ‘:’
[7,3]: extraneous input ‘fetch’ expecting ‘:’
[10,1]: extraneous input ‘channels’ expecting ‘:’
[14,5]: extraneous input ‘description’ expecting ‘:’
[16,13]: missing EOF at ‘.’

As an openhab 3 newbie I could use some help here :wink:

That format is only valid for use in the UI. See KNX - Bindings | openHAB, Things | openHAB, and look through the many KNX postings to the forum for the syntax and formatting to use in .things files.

Consider me stupid :woozy_face:
Got it working in like 5 minutes after your reply

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.