Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents
minLevel1
maxLevel6
outlinefalse
styledefault
typelist
printablefalse

...

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

...

To read float, see an exemple at FAQ.

...

HTTP REST data server

µwiotys provide an http rest output. This output is configurable by FTP (see output-Output configuration). An http HTTP request will be sent for each frame received in µwiotysµWiotys, your server must respond with 200 OK.
The json sent will contain informations of the common table and the measured value.

Expand
titleExample of the JSON output HTTP
Code Block
languagejson
{
  "RSSI": -22,
  "SF": 12,
  "SNR": 9,
  "deveui": "0000000000000008",
  "device_battery_percent": 99,
  "error": "",
  "id_reference": 78,
  "payload": "048ea5942c000044444444",
  "temperature_0": 199,
  "temperature_1": 5119,
  "timestamp_uplink": 1709051995,
  "uplink_fcnt": 1,
  "version": 30300
}   

If your server miss the request, all the data sent can be retrieve using the FTP in /uwiotys/log/uwiotys_functionnal.log ou using the data logger CSV output.

...