OH 3 DTP 19.001 Time and Date for KNX bus

Tags: #<Tag:0x00007efed2808b58> #<Tag:0x00007efed2808a40> #<Tag:0x00007efed2808810>

Dear all,

I’m pretty new to OH3 and I’m now starting to do the configuration for my smart home. Now I’m struggling to get the time from NTP binding to KNX bus. I have mdt components which request date and time in DTP 19.001.

I read some old stuff from OH2, but I have no idea how to use .things in OH3.

Thank you for your support.

Kind regards,
Jens

Hi all,

I have created following file in \openHAB-conf\things

knx.things

Bridge knx:ip:f0fa0971d3 "KNX/IP Gateway" @ "KNX" [
ipAddress="192.168.178.88",
portNumber=3671,
localIp="192.168.178.103",
type="TUNNEL",
readingPause=50,
responseTimeout=10,
readRetriesLimit=3,
autoReconnectPeriod=30,
localSourceAddr="0.0.0"

] {

Thing device knx_virtual "KNX-virtual" @ "KNX"{
  Channels:
    Type datetime-control : DateTimeKNX [ ga="19.001:1/1/1" ]
}

f0fa0971d3 I have taken from my KNX IP-Gateway. Do I need to declare it again or can I just define a channel?

Is there a log file which is indicating if my file has been read?
I tried several files in tail -f /var/log/openhab/

thank you for your support!