Private GIT

Skip to content
Snippets Groups Projects
Commit 01e4abf8 authored by Marius's avatar Marius
Browse files

Added “.” output to know stuff is still happening

parent d8678210
Branches master
No related tags found
Loading
...@@ -42,8 +42,11 @@ class Hue2Influx: ...@@ -42,8 +42,11 @@ class Hue2Influx:
def run(self): def run(self):
print("hue2influx running ...") print("hue2influx running ...")
while True: while True:
self.sync_sensors() if self.sync_sensors() == False:
self.sync_lights() print("Error writing sensor points!")
if self.sync_lights() == False:
print("Error writing light points!")
print('.', end='', flush=True)
time.sleep(60) time.sleep(60)
def _get_sensors(self): def _get_sensors(self):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment