Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: add keller PR46x

...

Starting from v0.10.2 we support a command for LoRaWAN only!

ParameterValueComment
Cmd0 * * * * *:pressure(port=20)Special command to upload in same format but calculating a more stable pressure value

Modbus Register Mapping

The probe is a Modbus slave with the following registers:

...

FieldTypeValue
Headeruint80x00 on success, 0x80 if an error occurred
Pressurefloat32Pressure in Bar, ffffffff on error.
Temperaturefloat32

Temperature in °C, ffffffff on error.

Voltageuint16Voltage in mV, ffff on error

Keller PR46X

Configuration

Connected pressure sensor probe from Keller Druckmesstechnik PR46X series.


ParameterValueComment
WANlorawanFor LoRaWAN OTAA usage.
PlFmt5Sets the payload to a short format.
MbCmd0 0 * * * *:R,9600,8N1:010300020002,010300060002,FA0400050001Reads four Registers: 2 + 3 (Float, Pressure in Bar) and 6 + 7 (Float, Probe Temperature) + Device battery voltage
PowerOnDelay1500Battery variant only. Sets time (in ms) between activating sensor power and reading value (time for sensor to be ready).

Data Uplink (Port 20)

Code Block
Bytes | 0 .    | 1 . 2 . 3 . 4 . | 5 . 6 . 7 . 8 . | 9 . 10 . |
------+--------+-----------------+-----------------+----------+
Field | Header | Pressure        | Temperature     | Voltage  |


All values are encoded big-endian

FieldTypeValue
Headeruint80x00 on success, 0x80 if an error occurred
Pressurefloat32Pressure in Bar, ffffffff on error.
Temperaturefloat32

Temperature in °C, ffffffff on error.

Voltageuint16Voltage in mV, ffff on error

LoRaWAN JavaScript Reference Parser (All probe variants)

...