Skip to main content

MultiTemperature Add-On

Configuration Parameters

In addition to the GW4 configuration parameters the add-on has the following specific parameters:

OneWire Multi-Temperature Sensor Reading

DescriptionKeyTypePossible ValuesDefault
Number of readouts to be uploaded together (saves energy)MTempAccNumber1-6001
List of sensor IDs or * for scanningMTempIDsString *
Detailed Description

MTempIDs Parameter

The MTempIDs parameter specifies a list of sensor IDs separated by a ,. If the string it empty, all sensor readings are disabled. If a * is specified, a scan will be executed at boot and all new sensors added to the list.

MTempAcc Parameter

The MTempAcc parameter specifies the number of readouts before the data is uploaded. When set to 1 the data is uploaded immediately. The data may be uploaded earlier if not enough free memory is available to store the measurements.

LoRaWAN Communication

When measuring of multi temperature sensors is enabled and sensors are detected or configured, the Gateway will send the sensor IDs on boot on ports 40 and the sensor data in regular intervals on port 30. If the data will not fit into one message, the consecutive messages are transmitted on ports 41 to 42 for the sensor IDs and ports 31 to 32 for the measurement data.

Byte | 0 . 1 . 2 . 3 . 4 . 5  | 6 . 7 . 8 . 9 .10 .11 | ... | ...         |
+------------------------------------------------+-----+-------------+
Data | Sensor ID 1 | Sensor ID 2 | ... | Sensor ID n |

To save space the first byte (The sensor family code, 0x28) and the last byte (CRC) are omited.

Byte | 0 . 1         | 2 . 3         | 4 .   | ...           |
+---------------+---------------+-------+---------------+
Data | Temperature 1 | Temperature 2 | ... | Temperature n |