Table of Contents | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Data model
uWiotys µWiotys supports holding register data model.
Registries 0x0 to 0x05 is filled with device configuration upon GW startup.
All other registries registers are filled upon LoRaWAN message sent by the device.
Info |
---|
A registry register set to default value 0xFFFF (or 0x7FFF for signed values) indicates that the value has never been updated. |
...
Address (hex) | Address (dec) | Size | description | Unit | Data Type |
---|---|---|---|---|---|
0x00 | 0 | 1 | µWiotys version | U16 | |
0x01 | 1 | 4 | DevEUI | U64 | |
0x05 | 5 | 1 | Device Wi6Labs Wi6labs reference ID | U16 | |
0x06 | 6 | 2 | Last uplink timestamp (in UNIX format) | U32 | |
0x08 | 8 | 2 | Last uplink frame counter | U32 | |
0x0A | 10 | 4 | RFU | U64 | |
0x0E | 14 | 1 | SF | U16 | |
0x0F | 15 | 1 | RSSI | S16 | |
0x10 | 16 | 1 | SNR | S16 | |
0x11 | 17 | 1 | Device Battery | % | U16 |
0x12 | 18 | 1 | Device Battery | mv | U16 |
0x13 | 19 | 1 | Device version | U16 | |
0x14 | 20 | 1 | Device configuration | U16 | |
0x15 | 21 | 125 | Payload | Byte Field |
...
Depending on the type and configuration of your connected LoRaWAN device, you will get one or several values. Please refer to your device manual. If your device only return one value for temperature, it will be available in temperature 0 and updated with each new payload. If your device returns 2 values for temperature, it will be available in temperature 0 and 1, check out the manufacturer documentation for more informations.
Address (hex) | Address (dec) | Size | Description | Unit | Data Type |
---|---|---|---|---|---|
0x1000 | 4096 | 2 | last payload timestamp | second | U32 |
0x1002 | 4098 | 1 | Temperature 0 | Celsius / 10 | S16 |
0x1003 | 4099 | 1 | Humidity 0 | % integer from 0 to 100 | U16 |
0x1004 | 4100 | 1 | Temperature 1 | Celsius / 10 | S16 |
0x1005 | 4101 | 1 | Humidity 1 | % integer from 0 to 100 | U16 |
0x1006 | 4102 | 1 | Temperature 2 | Celsius / 10 | S16 |
0x1007 | 4103 | 1 | Humidity 2 | % integer from 0 to 100 | U16 |
0x1008 | 4104 | 1 | Temperature 3 | Celsius / 10 | S16 |
0x1009 | 4105 | 1 | Humidity 3 | % integer from 0 to 100 | U16 |
0x100A | 4106 | 1 | Temperature 4 | Celsius / 10 | S16 |
0x100B | 4107 | 1 | Humidity 4 | % integer from 0 to 100 | U16 |
0x100C | 4108 | 1 | Temperature 5 | Celsius / 10 | S16 |
0x100D | 4109 | 1 | Humidity 5 | % integer from 0 to 100 | U16 |
Industrial
Depending on the type and configuration of your connected LoRaWAN device, you will get one or several values for Analog or contact. Please refer to your device manual.
...
Address (hex) | Address (dec) | Size | description | Unit | Data Type |
---|---|---|---|---|---|
0x4000 | 16384 | 2 | last payload timestamp | second | U32 |
0x4002 | 16386 | 2 | index1 | U32 | |
0x4004 | 16388 | 1 | meter_weight | U16 | |
0x4005 | 16389 | 2 | RFU | S32 | |
0x4007 | 16391 | 1 | RFU | U16 | |
0x4008 | 16392 | 2 | index2 | U32 | |
0x400B | 16395 | 2 | RFU | S32 | |
0x400A | 16394 | 1 | RFU | U16 | |
0x400D | 16397 | 1 | RFU | U16 | |
0x400E | 16398 | 2 | index3 | U32 | |
0x4010 | 16400 | 1 | RFU | U16 | |
0x4011 | 16401 | 2 | RFU | S32 | |
0x4013 | 16403 | 1 | RFU | U16 | |
0x4014 | 16404 | 1 | energy_unit | 0:Wh | U16 |
0x4015 | 16405 | 4 | energy_1 | U64 | |
0x4019 | 16409 | 4 | energy_2 | U64 | |
0x401D | 16413 | 4 | energy_3 | U64 | |
0x4021 | 16417 | 4 | energy_4 | U64 | |
0x4025 | 16421 | 4 | energy_5 | U64 | |
0x4029 | 16425 | 4 | energy_6 | U64 | |
0x402D | 16429 | 8 | RFU | ByteField | |
0x4035 | 16437 | 1 | unit_current | 0 : mA | U16 |
0x4036 | 16438 | 4 | current_1 | U64 (rare case : F(32)) | |
0x403A | 16442 | 4 | current_2 | U64 | |
0x403E | 16446 | 4 | current_3 | U64 | |
0x4042 | 16450 | 8 | RFU | ByteField | |
0x404A | 16458 | 1 | unit_voltage | 0:mV | U16 |
0x404B | 16459 | 2 | voltage_1 | U32 (rare case : F(32)) | |
0x404D | 16461 | 2 | voltage_2 | U32 | |
0x404F | 16463 | 2 | voltage_3 | U32 | |
0x4051 | 16465 | 8 | RFU | ByteField | |
0x4059 | 16473 | 1 | unit_power | 0:W | U16 |
0x405A | 16474 | 2 | power_1 | U32 | |
0x405C | 16476 | 2 | power_2 | U32 | |
0x405E | 16478 | 2 | power_3 | U32 | |
0x4060 | 16480 | 2 | power_4 | U32 | |
0x4062 | 16482 | 2 | power_5 | U32 | |
0x4064 | 16484 | 2 | power_6 | U32 | |
0x4066 | 16486 | 2 | power_7 | U32 | |
0x4068 | 16488 | 2 | power_8 | U32 | |
0x406A | 16490 | 8 | RFU | ByteField | |
0x4072 | 16498 | 1 | unit_volume | 0 : L(liter) | U16 |
0x4073 | 16499 | 4 | volume | U64 | |
0x4077 | 16503 | 1 | unit_flow | 0 : L/h | U16 |
0x4078 | 16504 | 4 | flow | U64 |
...
This table is dedicated for LoRaWAN to Modbus RTU RS485 devices. Please note that your LoRaWAN device must be configured with proper RS485 parameters matching your secondary BMS configuration : baud rate, parity, stop bit, data bits, slave, register adressaddress. Contact Wi6labs support for this initial configuration
...
Read RS485 Modbus registers with your LoRaWAN Device
...