...
Once your configuration is ready make sure to rename it devices_update.json.
...
3. Push device configuration with FileZilla 3.51.0
It is now time to connect to your gateway using a FTP client (like, for instance, FileZilla)
...
Warning The Lora device should only be started after the configuration is succesfully done. µWiotys configuration must be valid before the device does a Join Request.
4. Read with Modbus Doctor 2.7
Configuration
TCP/IP IP adress is µWiotys IP adress Numport : 502 Timeout : 1000
To read modbus device previously configured, select slave 5 in modbus doctor.
Get device configuration
Adress | size | Description | Type |
---|---|---|---|
0x0000 | 1 | Modbus dictionary's version | uint16 |
0x0001 | 4 | Device EUI | uint64 |
0x0005 | 1 | Device Wi6labs reference ID | uint16 |
register 0x0h length 0x8h
...
Get device Value
Address | Size | Description | Unit | Data Type |
---|---|---|---|---|
0x1000 | 2 | last payload timestamp | second | U32 |
0x1002 | 1 | Temperature 0 | Celsius / 10 | S16 |
0x1003 | 1 | Humidity 0 | % from 0 to 100 | U16 |
register 0x1000h length 0x4h
...
Timestamps = 0x5FCDCF36 (word swapping) = 1 607 323 446 seconds = 7/12/2020 6:44:06
(check http://www.timestamp.fr/ for convertion conversion example)
Temperature = 0xDE = 222 Celsius/10 = 22,2 °C
...