This page last changed on Sep 11, 2013 by psychopositiv.

Hi,

how could i send the time from the timeDateProtocoll to my KNX.

I need the time to send it to my KNX Display

Thank you!


KNXtime.JPG (image/jpeg)
KNXdate.JPG (image/jpeg)

I solved it with a rule that sends the date and time 2 times a day to the KNX
bus. You can edit the cron expression to get the rule to execute as often as you want.

The rule looks like this.

rule "Send Time and Date to KNX"

timer (cron: 0 5 0/12 * * ?)

when
  
  eval(true)
  
then

  execute.command("KNXTime");
  execute.command("KNXDate");
 
 end

"KNXtime" is a command that looks like this.

"KNXdate" is a command that looks like this.

Which version of the controller are you using? To be able to send the time and date with DPT.10.001 and DPT.11.001 you must have one of the latest beta versions of the controller, which supports DPT.10.001 and DPT.11.001. (I assume that your KNX display uses DPT.10.001 and DPT11.001 to set time and date?).

If you don't have a controller with that support, you can try with this.OpenRemote-Controller-2.1.0_SNAPSHOT-R8778-ORCJAVA-291-301.zip

Maybe Juha has a better controller alternative?

Posted by kenta at Sep 11, 2013 22:26
Document generated by Confluence on Jun 05, 2016 09:40