Versions Compared

Key

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

...

ParameterValueComment
WANlorawanFor LoRaWAN OTAA usage.
PlFmt5Sets the payload to a short format.
MbCmd0 0/5 * * * *:R,9600,8N1:010300160002,010300260002,fa0400050001Reads the Registers
  • 010300160002 - Read register 22-23
,
  • (pressure)
  • 010300260002 - Read register 38-39
and internal Register 5. fa0400050001 reads the battery voltage and is optional.
  • (temperature)
  • FA0400050001 - Read internal register 5 (vBat)

The CRON Expressions can be adjusted to set time of sensor reading.

PowerOnDelay1500Battery variant only. Sets time (in ms) between activating sensor power and reading value (time for sensor to be ready).

...

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

Temperature in °C, ffffffff on error.

Voltageuint16Voltage in mV, ffff on error

010300160002

Example

Code Block
# Example of a successful measurement
'003d94ce4541b7a5120e2a'
  '00'       -> Successful readout
  '3d94ce45' -> 0.073 mH2O
  '41b7a512' -> 22.96 °C
  '0e2a'     -> 3626 mV / 3.626 V

# Example
'80ffffffffffffffff'
  '80'       -> An error occurred.
  'ffffffff' -> Pressure could not be read.
  'ffffffff' -> Temperature could not be read.
  'ffff'     -> Voltage could not be read.

...