Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

...

...

...

...

...

...

...

minLevel1
maxLevel6
outlinefalse
styledefault
typelist
printablefalse
Info

In this example, we use FileZilla to configure the device

...

.

Connect your gateway

First, install the gateway with proper accessories and connect it to your local network.

...

image-20240328-100507.png

Panel
panelIconIdatlassian-minus
panelIcon:minus:
panelIconText:minus:
bgColor#FFEBE6

! WARNING ! (minus)

Please do NOT reset factory your gateway by keep pushing the reset button or the reset factory option from the web interface ! (or you will lose the µWiotys firmware)

Before push the button, contact your saler to know the process

Configure your devices

Next, you need to create the configuration file (named devices_update.json) that contains necessary informations : Reference, DevEUI, AppKey, Modbus Slave address,...

You can check out our Online support interface https://app.uwiotys.com/index.php/device/list to help you create your configuration file
or FTP configuration for expert details.

Once your configuration is ready make sure to rename it devices_update.json.

Panel
panelIconId1f469-200d-1f527
panelIcon:woman_mechanic:
panelIconText👩‍🔧
bgColor#FFC400

For BACnet : In the “Modbus address” you can choose any number for BACnet ID but it has to follow each other (if you want to start with 13 through 20, you have to set 13,14,15…20) in 3.4.0 (Corrected from 3.4.5)

...

Push device configuration with FileZilla

...

fileZilla3.png

Note

Warning!!! The answer time of µWiotys' FTP can be very long, especially on fixed IP. If necessary, you should extend FileZilla timeout to 60 seconds.

Don’t forget to refresh in order to see your current files

To do so : Edit → Settings

...

See FTP configuration for more details.

Note

Warning The LoRa LoRaWAN device should only be started after the configuration is successfully done.
µWiotys configuration must be valid before the device does a Join Request.

Read

...

Configuration

TCP/IP IP address is µWiotys IP address Numport : 502 - Timeout : 1000.

To read Modbus device previously configured, select slave 5 in modbus doctor.

Get device configuration

...

Address

...

Size

...

Description

...

Type

...

0x0000

...

1

...

Modbus dictionary's version

...

uint16

...

0x0001

...

4

...

Device EUI

...

uint64

...

0x0005

...

1

...

Device Wi6labs reference ID

...

uint16

What you can see on Modbus Doctor:

read_config_modbus5.pngImage Removed

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

What you can see on Modbus Doctor:

read_thr_modbus5.pngImage Removed

Real values:

Timestamps = 0x5FCDCF36 (word swapping) = 1 607 323 446 seconds = 7/12/2020 6:44:06
(check https://www.epochconverter.com/ for conversion example)

Temperature = 0xDE = 222 Celsius/10 = 22,2 °C

...

sensors data (Modbus/BACnet)

Finally, you can see your device's data based on the µWiotys output protocol.