ajout authentification teleinfo
This commit is contained in:
parent
9002994036
commit
ceaa8f516b
|
@ -54,7 +54,7 @@ logging.basicConfig(filename='/tmp/teleinfo-releve.log', level=logging.INFO, for
|
||||||
logging.info("Teleinfo starting..")
|
logging.info("Teleinfo starting..")
|
||||||
|
|
||||||
# connexion a la base de données InfluxDB
|
# 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"
|
DB_NAME = "teleinfo"
|
||||||
connected = False
|
connected = False
|
||||||
while not connected:
|
while not connected:
|
||||||
|
|
Loading…
Reference in a new issue