Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 17 Next »

In this example, we use FileZilla to configure the device and Modbus Doctor to read Modbus data from µWiotys

Connect your gateway

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

You should be able to ping the gateway (default address is 192.168.1.100).
If this is not possible, please make sure that the necessary ports are open. (Those are listed in Description)

image-20240328-100507.png

! 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)

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 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.

FOR BACNET In the “Modbus address” you can choose any number but it has to follow each other (if you want to start with 13 through 20, you have to set 13,14,15,16…20) in 3.4.0

image-20240328-100801.png

Push device configuration with FileZilla

It is now time to connect to your gateway using a FTP client (like, for instance, FileZilla)

  1. Open Site manager

  2. Create a new site

  3. Configure host with the gateway's IP

  4. Port is 2222

  5. Use SFTP protocol

  6. Enter User and Password

  7. You now should be able to connect to the gateway

fileZilla3.png

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.

To do so : Edit → Settings

fileZilla2.png

Once connected to the FTP server, copy the devices configuration file devices_update.json (previously created) into the directory: /uwiotys/update_config/

After that, you need to reboot to process the device update.

See FTP configuration for more details.

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

  • No labels