User Tools

Site Tools


datetime_v5_0

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

datetime_v5_0 [2015/11/27 22:09] (current)
Line 1: Line 1:
 +**Date & Time**
  
 +^Feature^Support^
 +|Sending|{{http://​wiki.pilight.org/​lib/​images/​notsupported.gif}}|
 +|Receiving|{{http://​wiki.pilight.org/​lib/​images/​supported.gif}}|
 +|Config|{{http://​wiki.pilight.org/​lib/​images/​supported.gif}}|
 +
 +==== Supported Brands ====
 +
 +//None//
 +
 +==== Sender Arguments ====
 +
 +//None//
 +
 +==== Config ====
 +<​code>​
 +        "​misc":​ {
 +                "​name":​ "​Misc",​
 +                "​datetime":​ {
 + "​name":​ "Date & Time",
 + "​protocol":​ [ "​datetime"​ ],
 + "​id":​ [{
 + "​longitude":​ "​4.895167",​
 + "​latitude":​ "​52.3702157",​
 + "​ntpserver":​ "​0.north-america.pool.ntp.org"​
 + }],
 + "​year":​ 2014,
 + "​month":​ 4,
 + "​day":​ 9,
 + "​hour":​ 21,
 + "​minute":​ 4,
 + "​second":​ 23
 + }
 +        }
 +</​code>​
 +
 +==== Optional Settings ====
 +
 +^Setting^Default^Format^Description^
 +|gui-show-datetime|1|1 or 0|Don'​t display the datetime values|
 +|gui-datetime-format|HH:​mm:​ss YYYY-MM-DD|see below|Datetime formatting|
 +
 +==== Notes ====
 +
 +The ntp-server id is optional. The ntp server will be used to check if the time is in sync with the atomic clock.
datetime_v5_0.txt ยท Last modified: 2015/11/27 22:09 (external edit)