Table of Contents | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...
The Gateway needs a dedicated IP address on the same VLAN as the Modbus automate. It can be set up as DHCP or static IP.
The default configuration is static IP
address:
192.168.1.100
netmask:
255.255.255.0
gateway:
192.168.1.1
The Gateway should be synchronized to a NTP server in order to have valid timestamps of the LoRaWAN payload.
The default NTP servers configured are 0.pool.ntp.org and 1.pool.ntp.org, however this won't be valid if the Gateway doesn't have internet access.
...
µWiotys will use the following port :
Fonction | Port |
---|---|
Modbus | 502 (by default) |
BACnet | 47808 (by default) |
Application HTTP | Specific port to each application |
Support Wi6labs | 22 and 4443 |
...
Device EUI (DevEUI)
Device Activation Type (OTAA/ABP)
Application EUI (AppEUI)
Application key Key (AppKey)
Manufacturer model reference (see list device µWiotys Compatible devices)
Modbus Slave number device_protocol_id [1 to 200] (for Modbus only )
Only class A and C devices are supported. OTAA configuration is the default configuration. All advanced LoRa parameters are managed by Wi6labs.
Once the configuration is loaded on the Gateway, all devices and corresponding Modbus tables parameters will initialise be initialized after reboot.
Output Data
Modbus
...
µWiotys can be requested by several controllers, however keep in mind that it is useless to pull the registers too often. The LoRaWAN devices will update the registers approximately between 1 hour and 1 day depending on their configuration and type.
µWiotys supports read holding register (function code 3)
µWiotys supports write single register (function code 6) only for several registers (see Modbus table)
Note |
---|
Writing register will trigger LoRaWAN downlink. Please kindly wait ~10s between each command in order to avoid radio collision. |
Note that our µWiotys Modbus registers are formatted with Big-Endian Representation & Zero-based numbering.
Type of value used
Data type | register size | description | range |
---|---|---|---|
U16 | 1 | unsigned integer | [ 0 : 65 535 ] |
U32 | 2 | unsigned integer word swapping | [ 0 : 4 294 967 295 ] |
U64 | 4 | unsigned integer word swapping | [ 0 : 18 446 744 073 709 551 615 ] |
S16 | 1 | signed integer | [ -32 768 : +32 767 ] |
S32 | 2 | signed integer word swapping | [ -2 147 483 648 : +2 147 483 647 ] |
S64 | 4 | signed integer word swapping | [ -9 223 372 036 854 775 808 : +9 223 372 036 854 775 807 ] |
Float (F64/F32) | 2 | Floating point non-swap (abcd) | NA |
...
Expand | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
...
There are no specific operation to do to add a new sensor for BACnet. You can use the Online support interface (https://app.uwiotys.com/index.php/device/list ) to create your infrastructure.
Only Analog input (AI) and Analog values (AV) are currently supported.
...
Analog values are used to send information to the sensors. Only Classe C sensor are currently supported for this mode.
...
panelIconId | 1f469-200d-1f527 |
---|---|
panelIcon | :woman_mechanic: |
panelIconText | 👩🔧 |
bgColor | #FFC400 |
...
.
...
HTTP
...
data server
µwiotys µWiotys provide an http rest output. This output is configurable by FTP (see Output configuration). An HTTP request will be sent for each frame received in µWiotys, your server must respond with 200 OK.
The json the web interface.
...
The JSON sent will contain informations of the common table and the measured value.
Expand | |||||
---|---|---|---|---|---|
| |||||
|
If your server miss the request, all the data sent can be retrieve using the FTP in /uwiotys/log/uwiotys_functionnal.log
or using the data logger CSV output.
MQTT
Panel | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Coming soon… |
CSV Data logger
µWiotys provide also a CSV output. This output is configurable by FTP (see output-configuration).data loger locally on the gateway.
Panel | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Coming soon… |
You can retrieve the CSV files in the FTP under /uwiotys/log/$END_DEVICE_ID$DEVEUI/
. Each sensor has its own folder with its own data.