From fe70d31cea4869c7f8214dbc1d00fb917816e9a8 Mon Sep 17 00:00:00 2001 From: James Barnett Date: Sat, 31 Mar 2018 21:28:45 +0100 Subject: Add plug state and uptime. Placeholder tiles for averages --- views/index.hbs | 99 ++++++++++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 94 insertions(+), 5 deletions(-) (limited to 'views/index.hbs') diff --git a/views/index.hbs b/views/index.hbs index 3a8233f..3f023e6 100644 --- a/views/index.hbs +++ b/views/index.hbs @@ -35,11 +35,7 @@

- {{device.alias}} {{#device.relayState}} - ON - {{/device.relayState}} {{^device.relayState}} - OFF - {{/device.relayState}} + {{device.alias}}

@@ -103,6 +99,98 @@
+ + +
+ +
+
+
+

+ Plug state +

+
+
+
+

+ - +

+
+
+
+ +
+
+
+

+ Uptime +

+
+
+
+

-

+
+
+
+ +
+
+
+

+ Total today +

+
+
+
+

- kWH

+
+
+
+ +
+
+
+

+ Total this month +

+
+
+
+

- kWH

+
+
+
+ +
+
+
+

+ Daily avg +

+
+
+
+

- kWH

+
+
+
+ +
+
+
+

+ Monthly avg +

+
+
+
+

- kWH

+
+
+
+ +
+
@@ -159,6 +247,7 @@ + -- cgit v1.2.3