From dbebb65b4c1e49473c07f665dc2be8f1f9f506eb Mon Sep 17 00:00:00 2001 From: Glyn Hudson Date: Mon, 26 Feb 2024 15:22:46 +0000 Subject: [PATCH] add example node decoders --- firmware/emonth2.ino | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/firmware/emonth2.ino b/firmware/emonth2.ino index 2b1dc65..c129fe1 100644 --- a/firmware/emonth2.ino +++ b/firmware/emonth2.ino @@ -65,15 +65,27 @@ const char *firmware_version = {"4.1.6"}; emonhub.conf node decoder: See: https://github.com/openenergymonitor/emonhub/blob/emon-pi/configuration.md + For 1x external sensor (default): [[23]] - nodename = emonTH_5 - firmware = V2.x_emonTH_DHT22_DS18B20_RFM69CW_Pulse - hardware = emonTH_(Node_ID_Switch_DIP1:OFF_DIP2:OFF) + nodename = emonth2_23 [[[rx]]] names = temperature, external temperature, humidity, battery, pulseCount datacodes = h,h,h,h,L scales = 0.1,0.1,0.1,0.1,1 units = C,C,%,V,p + + For 4x external sensors (#define EXTERNAL_TEMP_SENSORS 4): + + [[23]] + nodename = emonth2_23 + [[[rx]]] + names = temperature, external temperature1, external temperature2, external temperature3, external temperature4, humidity, battery, pulsecount + datacodes = h, h, h, h, h, h, h, L + scales = 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 1.0 + units = C, C, C, C, C, %, V, p + + + */ // -------------------------------------------------------------------------------------------------------------