From 5899648d5e78cfb7de1cb868df810655b81c6743 Mon Sep 17 00:00:00 2001 From: Toni Arte Date: Tue, 7 Feb 2017 12:45:54 +0200 Subject: [PATCH] Add Domoticz 'Voltage' and 'Current' support for EMON #2 --- code/espurna/web.ino | 2 ++ code/html/index.html | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/code/espurna/web.ino b/code/espurna/web.ino index 1a319955..1f647524 100644 --- a/code/espurna/web.ino +++ b/code/espurna/web.ino @@ -350,6 +350,8 @@ void _wsStart(uint32_t client_id) { #if ENABLE_EMON root["dczPowIdx"] = getSetting("dczPowIdx").toInt(); + root["dczVoltIdx"] = getSetting("dczVoltIdx").toInt(); + root["dczCurrentIdx"] = getSetting("dczCurrentIdx").toInt(); #endif #if ENABLE_POW diff --git a/code/html/index.html b/code/html/index.html index 42686c7f..b0206acb 100644 --- a/code/html/index.html +++ b/code/html/index.html @@ -409,13 +409,13 @@
Set to 0 to disable notifications.
-
+
Set to 0 to disable notifications.
-
+
Set to 0 to disable notifications.