Excellent - Thank you, I had searched for details, but failed to find them.
It seems I’m running an old version:
pi@emonhub ~/emonhub/src $ python emonhub.py --version
emonHub Pre-Release Development Version (rc1.0)
pi@emonhub ~/emonhub/src $
I’m now trying to transfer over the settings from rc1.0 to the latest, my existing rc1.0 look like this:
[nodes]
# List of nodes by node ID
# 'datacode' is default for node and 'datacodes' are per value data codes.
# if both are present 'datacode' is ignored in favour of 'datacodes'
[[10]]
datacodes = h, h, h, h
However, the thing that’s throwing me here is that I have two nodes reporting back to the emontx, the log file gives:
2016-07-16 08:07:36,177 DEBUG 11 NEW FRAME : 1468652856.18 10 0 255 33 2 0 0 216 94
2016-07-16 08:07:36,183 DEBUG 11 Timestamp : 1468652856.18
2016-07-16 08:07:36,186 DEBUG 11 Node : 10
2016-07-16 08:07:36,189 DEBUG 11 Values : [-256, 545, 0, 24280]
2016-07-16 08:07:36,195 DEBUG 11 Append to 'emonCMS' buffer => time: 1468652856.18, data: [10, -256, 545, 0, 24280], ref: 11
2016-07-16 08:07:36,301 INFO Sending: http://emoncms.org/input/bulk.json?apikey=E-M-O-N-C-M-S-A-P-I-K-E-Y&data=[[1468652856.18,10,-256,545,0,24280]]&sentat=1468652856
2016-07-16 08:07:36,385 DEBUG Receipt acknowledged with 'ok' from http://emoncms.org
2016-07-16 08:07:40,871 DEBUG 12 NEW FRAME : 1468652860.87 17 179 16 72 15 253 14 34 14 197 13 102 10
2016-07-16 08:07:40,877 DEBUG 12 Timestamp : 1468652860.87
2016-07-16 08:07:40,880 DEBUG 12 Node : 17
2016-07-16 08:07:40,884 DEBUG 12 Values : [4275, 3912, 3837, 3618, 3525, 2662]
2016-07-16 08:07:40,907 DEBUG 12 Append to 'emonCMS' buffer => time: 1468652860.87, data: [17, 4275, 3912, 3837, 3618, 3525, 2662], ref: 12
2016-07-16 08:07:41,012 INFO Sending: http://emoncms.org/input/bulk.json?apikey=E-M-O-N-C-M-S-A-P-I-K-E-Y&data=[[1468652860.87,17,4275,3912,3837,3618,3525,2662]]&sentat=1468652861
2
Unless I’m reading the wrong .conf file (I’ve followed the symlink from the /etc/init.d/emonhub file, I don’t
There are two questions:
- Do I need to define node 17 in the new .conf file too
- How do I define the config for my nodes 10 and 17 ?
Thanks
James