From 476516be5fb358e7451bb3242b638a220f8b691f Mon Sep 17 00:00:00 2001 From: Jack <56127525+That-Guy-Jack@users.noreply.github.com> Date: Sat, 7 Aug 2021 18:50:52 +0100 Subject: [PATCH] Update sensor-iot.py --- sensor-iot.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/sensor-iot.py b/sensor-iot.py index bb0673f..69ea51c 100644 --- a/sensor-iot.py +++ b/sensor-iot.py @@ -6,11 +6,11 @@ from influxdb import InfluxDBClient def get_reading(config): # InfluxDB connection info - host = "192.168.5.16" - port = "8086" - user = "jack" - password = "Jack32145" - dbname = "roomtemp" + host = "DBSERVER" + port = "PORT" + user = "USER" + password = "DBpassword" + dbname = "influxDBname" # Create the InfluxDB client object client = InfluxDBClient(host, port, user, password, dbname)