From 01e4abf869e0a97d3d72f7aeb3ca39ec8cfa735c Mon Sep 17 00:00:00 2001
From: Marius <marius@twostairs.com>
Date: Sun, 28 Apr 2019 12:14:33 +0200
Subject: [PATCH] =?UTF-8?q?Added=20=E2=80=9C.=E2=80=9D=20output=20to=20kno?=
 =?UTF-8?q?w=20stuff=20is=20still=20happening?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 hue2influx.py | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/hue2influx.py b/hue2influx.py
index 35d3b55..2aadf3f 100644
--- a/hue2influx.py
+++ b/hue2influx.py
@@ -42,8 +42,11 @@ class Hue2Influx:
     def run(self):
         print("hue2influx running ...")
         while True:
-            self.sync_sensors()
-            self.sync_lights()
+            if self.sync_sensors() == False:
+                print("Error writing sensor points!")
+            if self.sync_lights() == False:
+                print("Error writing light points!")
+            print('.', end='', flush=True)
             time.sleep(60)
 
     def _get_sensors(self):
-- 
GitLab