From aba5ed61f5e0b49f330352492b5455e1e50b9d7b Mon Sep 17 00:00:00 2001 From: Patrick McDonagh Date: Fri, 1 Dec 2017 12:33:28 -0600 Subject: [PATCH] Completes MAXH2O-81. Adds toggle to hide/show control buttons. --- HTML/Configuration.html | 43 +++++++++++++++++++++++++++++++ HTML/Overview.html | 56 +++++++++++++++++++++-------------------- config.txt | 14 +++++------ 3 files changed, 79 insertions(+), 34 deletions(-) diff --git a/HTML/Configuration.html b/HTML/Configuration.html index a69df3e..1cc08fb 100644 --- a/HTML/Configuration.html +++ b/HTML/Configuration.html @@ -67,6 +67,48 @@ +
+ +
+ + diff --git a/HTML/Overview.html b/HTML/Overview.html index 6c2baa4..f2e299f 100644 --- a/HTML/Overview.html +++ b/HTML/Overview.html @@ -1,32 +1,34 @@ -
- +<% if (channels["flowmonitor.start_stop_enabled"].value == "True"){ %> + +<% } %>
diff --git a/config.txt b/config.txt index 0a927ee..52744c5 100644 --- a/config.txt +++ b/config.txt @@ -1,11 +1,11 @@ { "files": { - "file3": "persistence.py", - "file2": "utilities.py", + "file3": "persistence.py", + "file2": "utilities.py", "file1": "flow-monitor.py" - }, - "deviceName": "flowmonitor", - "driverId": "0180", - "releaseVersion": "9", + }, + "deviceName": "flowmonitor", + "driverId": "0140", + "releaseVersion": "9", "driverFileName": "flow-monitor.py" -} \ No newline at end of file +}