Downlinks
Restart Device
The device supports downlink commands to restart the device, the application port is 50 by default.
ff
6f (Reboot)
1 Byte, Uint8 01 => Reboot the device
ff
a2 (Restart)
1 Byte, Uint8
01 => Restart the LoRaWAN Interface.
Example
To restart the LoRaWAN interface you send the following HEX payload over fPort 50.
Device Configuration
The device supports downlink commands to configure the working of the device, and control the relay outputs.
The application port for sending the device configuration is fPort 50
ff
0x1B
Relay Status - Channel 1
0x1D
Default State - Channel 1
0x1E
State on Communication Watchdog - Channel 1
0x1F
Override Button Function - Channel 1
0x11
Reset Button Override - Channel 1
0x2B
Relay Status - Channel 2
0x2D
Default State - Channel 2
0x2E
State on Communication Watchdog - Channel 2
0x2F
Override Button Function - Channel 2
0x21
Reset Button Override - Channel 2
Example
To set the channel 1 output to on and disable the button function override for channel 1 you send the following HEX payload over fPort 50.
Device Parameter Reading
The device supports downlink commands to read its readable parameters, the application port is 100 by default.
FF
CC (Read Parameters)
Maximum of 10 parameter types (only readable parameters)
Example
To read the model, serial number and battery percentage you send the following HEX payload over fPort 100.
Periodic Transmissions
To configure the periodic uplinks by the device you can send a downlink to fPort 1.
If confirmed mode is off, the device will send a package 1 time; if confirmed mode is on, the device will resend a package maximum of 3 times if it does not get an acknowledgement from the network.
ff
14 (Interval)
2 Bytes, Uint 16
Set the interval of the uplink, in minutes.
15 (Confirmed)
1 Byte, Uint 8
Confirmed mode off => 0 or confirmed mode on => 1
16 (Active)
1 Byte, Uint 8
Set the status of the fPort : inactive => 0 or active => 1
17 (Registers)
Maximum of 10 registers to include in the uplink.
Example
To configure the device to transmit every 30 minutes over fPort 2 a confirmed uplink containing the following registers (the current status, the counter and the button override status of both channels, ambient temperature and humidity) you send the following HEX payload
Last updated