teleinfo-linky-with-raspberry/settings-example.py

20 lines
390 B
Python
Raw Normal View History

2023-01-08 15:03:04 +00:00
#!/usr/bin/env python
2023-01-08 15:44:21 +00:00
# device port serie
SERIAL='/dev/ttyAMA0'
# Fichier de log
LOGFILE='/var/log/teleinfo-releve.log'
2023-01-08 15:03:04 +00:00
# Nombre de trames a sauter entre deux transmission des mesures (par défaut 0)
# SKIPPED_TRAMES = 0
# Configuration influxdb
influxdb = {
'HOST': '127.0.0.1',
'PORT': '8086',
'USER': 'teleinfo',
# 'PASSWORD': 'password',
'DB_NAME': 'teleinfo',
}