Home > Telethings > telethings TELESWITCH – 2L Smart LoRaWAN Thermostat User Manual
telethings TELESWITCH – 2L Smart LoRaWAN Thermostat User Manual
Telethings
4. DATA PROTOCOL
If your own server is used, it is necessary to know the definition of data transfer
protocol, packets and data format used in that protocol. First of all, it is required to create
application on The Things Stack platform (private or public) for your devices and inside that
application you need to add as many devices as you need. After that it is possible to start
JOIN procedure in order to connect device with server. Once the JOIN procedure is
successfully finished it is possible to exchange data between server and joined device.
4.1. teleSwitch – 2L data packet
teleSwitch device sends a quite simple data packet that is 1 byte in size and contains
the ID of the button that was pressed. So, it is possible to receive values 1 and 2 from
device with 2 buttons, but from device with 3 buttons it is possible to receive values 1, 2 and
3.
Based on this information you can easily create payload formatter in your application on
the server.
Below is a table which you can use as a reference for creating user payload formatter
inside server application.
DATA
BUTTON ID
JOIN METADATA
PORT NUMBER
DATA SIZE IN BYTES OFFSET IN PACKET
100
10
1
1
0
0
Table 1. Reference for creating payload formatter
After every successfully join, device sends test byte in order to confirm that data transfer is
working without problems (JOIN METADATA).
NOTE:
If you want to integrate our device to your stack, scan the QR code on the device and send
us an e-mail with the serial number, so we can send you the device EUI and the device app
key.
8
| General | Details |
|---|---|
| Name | telethings TELESWITCH – 2L Smart LoRaWAN Thermostat User Manual |
| Make | Telethings |
| Language | English |
| Filetype | PDF (Download) |
| File size | 0.19 MB |

telethings teleRelays-2D Tele Thermostat User Manual

telethings teleRelays-2L Device Thermostat User Manual

telethings 2D Smart LoRaWAN Thermostat User Manual























