Avisaro Online Documentation - Wiki
Impressum Kontakt Sitemap

How to set the clock

Description

The Avisaro Devices own an integrated clock. For all "Box" and "Cube" products, the RTC is battery backed, thus it keeps the time even if power is disconnected. Delivering the device the time is set. The "Modules" requires external supply to hold time.

With WLAN / LAN

If your device has got an WLAN or LAN interface you can set the time most easily via the administration page.

 

Enter the adminstration webpage - chose the menu 'clock' and set the time.

Via SD Card

To set the time create a file names autotun.txt and save it at a SD card. The file shall contain the command time in a format as descript here. Press the Enter-key at the end of the line.

 

 

TIME requires six arguments separated by spaces in the following order:

Year: 2000...2099

Month: 1...12

Day: 1...31

Hour: 0...23

Minute: 0...59

Second: 0...59

 

Example

TIME 2008 10 20 12 13 14 

Sets the RTC date to 2008/10/20 and time to 12:13:14

 

 

Insert the SD card into the data logger and restart the data logger at the time and second mentioned in the autorun.txt. The data logger will set the clock to the mentioned time.

 

Please do not forget to remove the file from the SD card afterwards to avoid wrong time setting afterwards.

 

Via data interface

To set the time via data interface you have to disable the script first. Then the time can be set with the command 'time'.

 

Afterwards the script must be restarted.