Skip to content

Commit dbebb65

Browse files
committed
add example node decoders
1 parent a09b9a2 commit dbebb65

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

firmware/emonth2.ino

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,15 +65,27 @@ const char *firmware_version = {"4.1.6"};
6565
emonhub.conf node decoder:
6666
See: https://github.com/openenergymonitor/emonhub/blob/emon-pi/configuration.md
6767
68+
For 1x external sensor (default):
6869
[[23]]
69-
nodename = emonTH_5
70-
firmware = V2.x_emonTH_DHT22_DS18B20_RFM69CW_Pulse
71-
hardware = emonTH_(Node_ID_Switch_DIP1:OFF_DIP2:OFF)
70+
nodename = emonth2_23
7271
[[[rx]]]
7372
names = temperature, external temperature, humidity, battery, pulseCount
7473
datacodes = h,h,h,h,L
7574
scales = 0.1,0.1,0.1,0.1,1
7675
units = C,C,%,V,p
76+
77+
For 4x external sensors (#define EXTERNAL_TEMP_SENSORS 4):
78+
79+
[[23]]
80+
nodename = emonth2_23
81+
[[[rx]]]
82+
names = temperature, external temperature1, external temperature2, external temperature3, external temperature4, humidity, battery, pulsecount
83+
datacodes = h, h, h, h, h, h, h, L
84+
scales = 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 1.0
85+
units = C, C, C, C, C, %, V, p
86+
87+
88+
7789
*/
7890
// -------------------------------------------------------------------------------------------------------------
7991

0 commit comments

Comments
 (0)