diff --git a/html-templates/Nodelist.html b/html-templates/Nodelist.html index 756a869..a638471 100644 --- a/html-templates/Nodelist.html +++ b/html-templates/Nodelist.html @@ -28,4 +28,15 @@

<%= node.vanityname %>

+ +
+

Flow Rate

+

<%= Math.round(channels['promagmbs.volume_flow'].value * 100) / 100 %>

+

<%= channels['promagmbs.volume_flow_units'].value %>

+
+
+

Totalizer 1 Today

+

<%= Math.round(channels['promagmbs.totalizer_1_today'].value * 100) / 100 %>

+

<%= channels['promagmbs.totalizer_1_units'].value %>

+
diff --git a/html-templates/Overview.html b/html-templates/Overview.html index c1dcddf..1bad538 100644 --- a/html-templates/Overview.html +++ b/html-templates/Overview.html @@ -1,36 +1,200 @@
-
-

HEADER 1

-
-

CHANNEL 1

+

Volume Flow

- +
- - <%= channels["promagmbs.channel_1"].timestamp %> + + <%= channels["promagmbs.volume_flow"].timestamp %>
+
+
+
+
+
+

Totalizer 1

+
+
+
+
+ + + +
+ + <%= channels["promagmbs.totalizer_1"].timestamp %> + +
+
+
+

Today

+
+
+
+
+ + + +
+ + <%= channels["promagmbs.totalizer_1_today"].timestamp %> + +
+

Yesterday: <%= Math.round(channels['promagmbs.totalizer_1_yesterday'].value) %> <%= channels['promagmbs.totalizer_1_units'].value %>

+
+ +
+ +
+
+

Totalizer 2

+
+
+
+
+ + + +
+ + <%= channels["promagmbs.totalizer_2"].timestamp %> + +
+
+ +
+

Today

+
+
+
+
+ + + +
+ + <%= channels["promagmbs.totalizer_2_today"].timestamp %> + +
+

Yesterday: <%= Math.round(channels['promagmbs.totalizer_2_yesterday'].value) %> <%= channels['promagmbs.totalizer_2_units'].value %>

+
+
+ +
+
+

Totalizer 3

+
+
+
+
+ + + +
+ + <%= channels["promagmbs.totalizer_3"].timestamp %> + +
+
+ +
+

Today

+
+
+
+
+ + + +
+ + <%= channels["promagmbs.totalizer_3_today"].timestamp %> + +
+

Yesterday: <%= Math.round(channels['promagmbs.totalizer_3_yesterday'].value) %> <%= channels['promagmbs.totalizer_3_units'].value %>

+
+
diff --git a/html-templates/Promag400.png b/html-templates/Promag400.png new file mode 100644 index 0000000..539c206 Binary files /dev/null and b/html-templates/Promag400.png differ diff --git a/html-templates/Trends.html b/html-templates/Trends.html index 3b3c010..36cfca8 100644 --- a/html-templates/Trends.html +++ b/html-templates/Trends.html @@ -18,7 +18,7 @@ data-ylabel="" data-xlabel="Date" data-units="" - data-channelnames="promagmbs.channel_1,"> + data-channelnames="promagmbs.volume_flow,promagmbs.totalizer_1,promagmbs.totalizer_2,promagmbs.totalizer_3,promagmbs.totalizer_1_today,promagmbs.totalizer_2_today,promagmbs.totalizer_3_today,promagmbs.totalizer_1_yesterday,promagmbs.totalizer_2_yesterday,promagmbs.totalizer_3_yesterday">