Skip to main content

1-Wire / Temperature — Configuration

Configuration Parameters

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

1-Wire Temperature Sensor Reading

KeyTypeDefaultDescription
MTempAccNumber1Number of readouts to upload together
MTempIDsString*List of sensor IDs or * for scanning
MTempSendIDBoolfalseInclude the sensor ID in LoRaWAN uplinks

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.

MTempIDs Parameter

Specifies a comma-separated list of sensor IDs. If the string is empty, all sensor readings are disabled. If * is specified, a scan is executed at boot and all newly detected sensors are added to the list.

Sensor ID

A complete sensor ID consists of 8 bytes:

byte 0: family code
bytes 1-6: serial number
byte 7: crc checksum

In data transmissions, only the serial number is used by the device. The family code and checksum are omitted for uploads. In configurations, the full ID is used.

MTempSendID Parameter

If MTempSendID is set to true, the sensor ID is included in LoRaWAN transmissions. If set to false, only the temperature values are transmitted.