diff --git a/teleinfo.py b/teleinfo.py index a05f415..8c67cd1 100755 --- a/teleinfo.py +++ b/teleinfo.py @@ -54,7 +54,7 @@ logging.basicConfig(filename='/tmp/teleinfo-releve.log', level=logging.INFO, for logging.info("Teleinfo starting..") # connexion a la base de données InfluxDB -client = InfluxDBClient('192.168.0.10', 8086) +client = InfluxDBClient(host='192.168.0.10', port=8086, username='teleinfo', password='CLnXahFiUHjVF8xIjsLS') DB_NAME = "teleinfo" connected = False while not connected: