Level Probe — Configuration
Configuration Parameters
In addition to the GW4 configuration parameters the add-on has the following specific parameters:
Modbus Reading
| Key | Type | Default | Description |
|---|---|---|---|
modbusInternalAddress | Number | 250 | Modbus address for internal gateway sensors |
addonAccumulate | Number | 1 | Readouts to accumulate before upload (1–60) |
modbusCmdConf | String | — | Modbus interface parameters and list of commands |
loraFormat | Number | 5 | LoRaWAN payload format |
PowerOnDelay | Number | 1000 | Wait time in ms before executing commands (0–60000) |
PwrAfterBrownoutDur | Number | 0 | Seconds to power Modbus after first power-on (0–3600) |
modbusCmdConf
Specifies the interface parameters and list of Modbus requests, separated by :. Interface parameters are A (ASCII) or R (RTU), baudrate, and serial settings, separated by ,. See Modbus Config Generator for details.
Set to empty to disable Modbus functionality.
Example — RTU, 9600 baud, 8N1, two requests to device address 1, one to internal address 250:
R,9600,8N1:010300020002,010300060002,FA0400050001
modbusInternalAddress
Modbus slave address under which the gateway exposes its own internal measurements, so they can be queried with the same modbusCmdConf syntax as external slaves:
- Internal gateway temperature
- Supply voltage measurement
The default 250 is chosen because Modbus addresses 248–255 are reserved by the Modbus specification and are therefore never used by real slave devices. This avoids address conflicts with meters and sensors on the bus.
loraFormat
Specifies the LoRaWAN payload format for Modbus uplinks. Introduced with firmware v1.6.0.
| Value | Format |
|---|---|
1 | Verbose |
4 | Compact with timestamp |
5 | Compact without timestamp (default) |
PayloadFormatloraFormat is specific to Modbus over LoRaWAN. It is unrelated to PayloadFormat, which defines the encoding of wireless M-Bus LoRaWAN uplinks. Both parameters can be present on the same device and are configured independently.