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 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 LoRaWAN device, you will get one or several values for Analog or contact. Please refer to your device manual.
...
Depending on the type and configuration of your connected Lorawan LoRaWAN device, you will get one or several values. Please refer to your device manual.
...
Depending on the type and configuration of your connected Lorawan LoRaWAN device, you will get one or several values. 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 |
...
Depending on the type and configuration of your connected Lorawan LoRaWAN device, you will get one or several values. Please refer to your device manual.
This table is dedicated for LoraWan LoRaWAN to Modbus RTU RS485 devices. Please note that your LoraWan 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
Address (hex) | Address (dec) | Size | description | Unit | Data Type |
---|---|---|---|---|---|
5000 | 20480 | 2 | last payload timestamp | second | DATETIME |
5002 | 20482 | 1 | Identifaction Identification of sensor Modbus frame | U16 | |
5003 | 20483 | 1 | Slave address | U16 | |
5004 | 20484 | 1 | RFU | U16 | |
5005 | 20485 | 1 | Datasize | U16 | |
5006 | 20486 | 1 | Modbus Fonction | U16 | |
5007 | 20487 | 1 | Alarm info: | U16 | |
5008 | 20488 | 2 | RFU | U32 | |
500A | 20490 | 125 | data read 1 | ByteField | |
5087 | 20615 | 2 | RFU | U32 | |
5089 | 20617 | 2 | last payload timestamp | DATETIME | |
508B | 20619 | 1 | Identifaction Identification of sensor Modbus frame | U16 | |
508C | 20620 | 1 | Slave address | U16 | |
508D | 20621 | 1 | RFU | U16 | |
508E | 20622 | 1 | Datasize | U16 | |
508F | 20623 | 1 | Modbus Fonction | U16 | |
5090 | 20624 | 1 | Alarm info (alarm, up, down) | U16 | |
5091 | 20625 | 2 | RFU | U32 | |
5093 | 20627 | 125 | data read 2 | ByteField | |
5110 | 20752 | 2 | RFU | U32 | |
5112 | 20754 | 2 | last payload timestamp | DATETIME | |
5114 | 20756 | 1 | Identifaction Identification of sensor Modbus frame | U16 | |
5115 | 20757 | 1 | Slave address | U16 | |
5116 | 20758 | 1 | RFU | U16 | |
5117 | 20759 | 1 | Datasize | U16 | |
5118 | 20760 | 1 | Modbus Fonction | U16 | |
5119 | 20761 | 1 | Alarm info (alarm, up, down) | U16 | |
511A | 20762 | 2 | RFU | U32 | |
511C | 20764 | 125 | data read 3 | ByteField | |
5199 | 20889 | 2 | RFU | U32 | |
519B | 20891 | 2 | last payload timestamp | DATETIME | |
519D | 20893 | 1 | Identifaction Identification of sensor Modbus frame | U16 | |
519E | 20894 | 1 | Slave address | U16 | |
519F | 20895 | 1 | RFU | U16 | |
51A0 | 20896 | 1 | Datasize | U16 | |
51A1 | 20897 | 1 | Modbus Fonction | U16 | |
51A2 | 20898 | 1 | Alarm info (alarm, up, down) | U16 | |
51A3 | 20899 | 2 | RFU | U32 | |
51A5 | 20901 | 125 | data read 4 | ByteField | |
5222 | 21026 | 2 | RFU | U32 | |
5224 | 21028 | 2 | last payload timestamp | DATETIME | |
5226 | 21030 | 1 | Identifaction Identification of sensor Modbus frame | U16 | |
5227 | 21031 | 1 | Slave address | U16 | |
5228 | 21032 | 1 | RFU | U16 | |
5229 | 21033 | 1 | Datasize | U16 | |
522A | 21034 | 1 | Modbus Fonction | U16 | |
522B | 21035 | 1 | Alarm info (alarm, up, down) | U16 | |
522C | 21036 | 2 | RFU | U32 | |
522E | 21038 | 125 | data read 5 | ByteField | |
52AB | 21163 | 2 | RFU | U32 | |
52AD | 21165 | 2 | last payload timestamp | DATETIME | |
52AF | 21167 | 1 | Identifaction Identification of sensor Modbus frame | U16 | |
52B0 | 21168 | 1 | Slave address | U16 | |
52B1 | 21169 | 1 | RFU | U16 | |
52B2 | 21170 | 1 | Datasize | U16 | |
52B3 | 21171 | 1 | Modbus Fonction | U16 | |
52B4 | 21172 | 1 | Alarm info (alarm, up, down) | U16 | |
52B5 | 21173 | 2 | RFU | U32 | |
52B7 | 21175 | 125 | data read 6 | ByteField | |
5334 | 21300 | 2 | RFU | U32 | |
5336 | 21302 | 2 | last payload timestamp | DATETIME | |
5338 | 21304 | 1 | Identifaction Identification of sensor Modbus frame | U16 | |
5339 | 21305 | 1 | Slave address | U16 | |
533A | 21306 | 1 | RFU | U16 | |
533B | 21307 | 1 | Datasize | U16 | |
533C | 21308 | 1 | Modbus Fonction | U16 | |
533D | 21309 | 1 | Alarm info (alarm, up, down) | U16 | |
533E | 21310 | 2 | RFU | U32 | |
5340 | 21312 | 125 | data read 7 | ByteField | |
53BD | 21437 | 2 | RFU | U32 | |
53BF | 21439 | 2 | last payload timestamp | DATETIME | |
53C1 | 21441 | 1 | Identifaction Identification of sensor Modbus frame | U16 | |
53C2 | 21442 | 1 | Slave address | U16 | |
53C3 | 21443 | 1 | RFU | U16 | |
53C4 | 21444 | 1 | Datasize | U16 | |
53C5 | 21445 | 1 | Modbus Fonction | U16 | |
53C6 | 21446 | 1 | Alarm info (alarm, up, down) | U16 | |
53C7 | 21447 | 2 | RFU | U32 | |
53C9 | 21449 | 125 | data read 8 | ByteField | |
5446 | 21574 | 2 | RFU | U32 | |
5448 | 21576 | 2 | last payload timestamp | DATETIME | |
544A | 21578 | 1 | Identifaction Identification of sensor Modbus frame | U16 | |
544B | 21579 | 1 | Slave address | U16 | |
544C | 21580 | 1 | RFU | U16 | |
544D | 21581 | 1 | Datasize | U16 | |
544E | 21582 | 1 | Modbus Fonction | U16 | |
544F | 21583 | 1 | Alarm info (alarm, up, down) | U16 | |
5450 | 21584 | 2 | RFU | U32 | |
5452 | 21586 | 125 | data read 9 | ByteField | |
54CF | 21711 | 2 | RFU | U32 | |
54D1 | 21713 | 2 | last payload timestamp | DATETIME | |
54D3 | 21715 | 1 | Identifaction Identification of sensor Modbus frame | U16 | |
54D4 | 21716 | 1 | Slave address | U16 | |
54D5 | 21717 | 1 | RFU | U16 | |
54D6 | 21718 | 1 | Datasize | U16 | |
54D7 | 21719 | 1 | Modbus Fonction | U16 | |
54D8 | 21720 | 1 | Alarm info (alarm, up, down) | U16 | |
54D9 | 21721 | 2 | RFU | U32 | |
54DB | 21723 | 125 | data read 10 | ByteField | |
5558 | 21848 | 2 | RFU | U32 |
Write RS485 Modbus registers with your
...
LoRaWAN Device
Writing registers is only possible possible with LoraWan LoRaWAN class C devices!
Address (hex) | Address (dec) | Size | description | Unit | Data Type |
---|---|---|---|---|---|
555B | 21851 | 1 | send request (write) | U16 | |
555C | 21852 | 1 | remote Modbus RS485 slave ID [0 to 255] (write) | U16 | |
555D | 21853 | 1 | remote Modbus RS485 register adress address (write) | U16 | |
555E | 21854 | 1 | RFU | U16 | |
555F | 21855 | 1 | Register value to write in remote Modbus RS485 (write) | U16 |