Device time & time zone

Device time zone

This command offsets the time from the currently set one, allowing to compensate for the time zone difference.

Byte index

Hex value / Meaning

0

5F – command code

1

Offset hours (two's complement), range [-12:12]. Applied when setting time (0x5D).

Example command: 0x5FFD

FD = -3, so when setting time with command 0x5D three hours will be subtracted and the final result will be 3 hours behind.

Time zone lookup table:

Negative zone shift
Command byte 1 value
Positive zone shift
Command byte 1 value

-12

0xF4

12

0x0C

-11

0xF5

11

0x0B

-10

0xF6

10

0x0A

-9

0xF7

9

0x09

-8

0xF8

8

0x08

-7

0xF9

7

0x07

-6

0xFA

6

0x06

-5

0xFB

5

0x05

-4

0xFC

4

0x04

-3

0xFD

3

0x03

-2

0xFE

2

0x02

-1

0xFF

1

0x01

Device time

In order the device to execute accurately its heating events in terms of week day, hour and minute, its time need to be set prior execute any heating event. If the LoRaWAN network server is unable to provide time to the device, when it's requested, the user is advised to set the device time once per week or at least at device join. Care should be taken to not remove the device batteries after it becomes offline. Otherwise the device time will be lost. Device operates with unsigned 32-bit UNIX timestamp which provides date and time until year of 2106.

Byte index

Hex value / Meaning

0

5D – command code

1

Unix timestamp – MSB.

4

Unix timestamp – LSB.

Example command: 0x5D6860D660

0x6860D660 = 1751176800 – converted from unsigned 32-bit UNIX timestamp the value corresponds to Sun Jun 29 2025 06:00:00 GMT+0000.

Automatic time syncing using LoRaWAN Network Server

This command allows to stop/resume periodical time requesting by the corresponding MAC command. If not stopped, the device requests time from the network at join and later with period of 7 days.

Byte index

Hex value / Meaning

0

6D – command code

1

00 – stops periodical time requesting. 01 – resume periodical time requesting (default for the device).

Example 1: 0x6D00 – stops periodical time requesting.

Last updated

Was this helpful?