aboutsummaryrefslogtreecommitdiff
path: root/write-influx/write_influx.py
diff options
context:
space:
mode:
Diffstat (limited to 'write-influx/write_influx.py')
-rw-r--r--write-influx/write_influx.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/write-influx/write_influx.py b/write-influx/write_influx.py
index 7337c9d..ccfb15d 100644
--- a/write-influx/write_influx.py
+++ b/write-influx/write_influx.py
@@ -68,8 +68,8 @@ def on_message(client, userdata, msg):
influx_client = InfluxDBClient(host="db",
port=8086,
- username="admin",
- password="mypassword",
+ username="root",
+ password="root",
database="homie")
influx_client.create_database("homie")