1-Wire sensor ID auto replacement

All 1-Wire sensor devices are featured with Allow to replace OneWire Sensor ID Meta Field.

This MetaField enables the logic of replacing an existing OneWire SensorID in GpsGate with a new one received from the device. Read more about meta fields here.

By default, this feature is disabled. To enable this option, follow the instructions below.

How it works

The SensorID that should be replaced is selected from registered sensors that are not present in the chunk data from the device.

For example, if the device supports 4 OneWire sensors, which have registered

"SensorID_1", "SensorID_2", "SensorID_3", "SensorID_4"

If the device sends "SensorID_1", "SensorID_2", "SensorID_4", "SensorID_5"

"SensorID_3" will be replaced with "SensorID_5" and the IDs configuration will look like:

"SensorID_1", "SensorID_2", "SensorID_5", "SensorID_4".

How to enable it

To enable this feature, you need to access the Site Admin > Devices > Types and select the option Allow to replace OneWire Sensor ID

For example, for the Teltonika FM1100 device, we will follow these steps:


This feature can cause data mixing between different sensors types because a different sensor type can be assigned to the same variable during the replacing process. For example, an old sensor is ambient sensor temperature and a new sensor could be engine coolant temperature.

Take this into account before enabling this feature.