muhconf.ini.example 835 B

1234567891011121314151617181920212223
  1. [main]
  2. # Basically, when this is set to false you'll have no output except for errors, which is desired when running cronned ;]
  3. debug = false
  4. # Specify the sensor's sysfs directory name (should be the <SENSOR> in: /sys/bus/w1/devices/<SENSOR>/w1_slave)
  5. # If you have multiple sensors simply specify multiple "sensor = xxx" lines ;]
  6. sensor = 28-02155265b0ff
  7. # For every sample, try to read the sensor this many times until it produces some expected output (should usually take only 1 attempt but still ;])
  8. sample_maxattempts = 5
  9. [mysql]
  10. # Should be obvious lmao
  11. host = 127.0.0.1
  12. port = 3306
  13. user = ayylmao
  14. pass = gottem
  15. db = turds
  16. table = temperature
  17. column = temp
  18. # MySQL must be explicitly configured for SSL/TLS and is usually implemented in the form of STARTTLS (explicit TLS, running on the same port as plaintext)
  19. tls = false