How to change the interval from a One-Wire sensor on the UniPi

Sometimes the default interval of the One-Wire sensor might be to slow. Here is a quick guide to change the value.


  1. Find the correct address of the One-Wire sensor
  2. The DS18B20 is our One-Wire sensor. It has the address 282B63C1070000C3. In the same line, we can see the interval being set to 15.
  3. Now we change the configuration of the UniPi itself. Open up the evok-neuron.conf file.
  4. Now add the following to the file (all the way at the bottom).

  5. Make sure to change the address accordingly.
  6. Now just restart the required service. 

  7. Now the One-Wire sensor should read about every 2-3 seconds. Due to limitations, it does not read every second.

 

Related articles