Hello,
I am using an RaspPI with emonSD
I have my Sensor from RPICT4V3 v2.0 - lechacal
I have done my setup and getting the Vlaues and everything works fine
But I have of this and send to an remote Server.
So I have change the node ID of one
I have read on this forum that I need to enter a baseid
I have done this, but all the time I get node 11
this is my config:
[hub]
### loglevel must be one of DEBUG, INFO, WARNING, ERROR, and CRITICAL
### see here : http://docs.python.org/2/library/logging.html
loglevel = DEBUG #(default:WARNING)
[interfacers]
[[SerialDirect]]
Type = EmonHubSerialInterfacer
[[[init_settings]]]
com_port = /dev/ttyAMA0
com_baud = 38400
[[[runtimesettings]]]
pubchannels = ToEmonCMS,
[[emoncmsorg]]
Type = EmonHubEmoncmsHTTPInterfacer
[[[init_settings]]]
[[[runtimesettings]]]
subchannels = ToEmonCMS,
url = server/emoncms #uncomment to save on local pi
apikey = key
senddata = 1 # Enable sending data to Emoncms.org
sendstatus = 1 # Enable sending WAN IP to Emoncms.org MyIP > https://emoncms.org/myip/list
sendinterval= 1 # Bulk send interval to Emoncms.org in seconds
baseid = 5
[[5]]
nodename = RPICT4V3
hardware = RPICT4V3
[[[rx]]]
names = Vrms1,Vrms2,Vrms3,Realpower1,Realpower2,Realpower3,Realpower4
datacode = 0
scales = 1,1,1,1,1,1,1
units = V,V,V,W,W,W,W
log
2018-04-06 16:02:45,575 DEBUG SerialDirect 84 Sent to channel(start)' : ToEmonCMS
2018-04-06 16:02:45,575 DEBUG SerialDirect 84 Sent to channel(end)' : ToEmonCMS
2018-04-06 16:02:50,797 DEBUG SerialDirect 85 NEW FRAME : 11 0.2 0.2 0.2 0.2 0.1 0.2 0.2 0.2
2018-04-06 16:02:50,798 DEBUG SerialDirect 85 Timestamp : 1523030570.8
2018-04-06 16:02:50,798 DEBUG SerialDirect 85 From Node : 11
2018-04-06 16:02:50,799 DEBUG SerialDirect 85 Values : [0.2, 0.2, 0.2, 0.2, 0.1, 0.2, 0.2, 0.2]
2018-04-06 16:02:50,800 DEBUG SerialDirect 85 Sent to channel(start)' : ToEmonCMS
2018-04-06 16:02:50,800 DEBUG SerialDirect 85 Sent to channel(end)' : ToEmonCMS
2018-04-06 16:02:55,921 DEBUG SerialDirect 86 NEW FRAME : 11 0.2 0.2 0.2 0.2 0.1 0.2 0.2 0.2
2018-04-06 16:02:55,922 DEBUG SerialDirect 86 Timestamp : 1523030575.92
2018-04-06 16:02:55,923 DEBUG SerialDirect 86 From Node : 11
2018-04-06 16:02:55,923 DEBUG SerialDirect 86 Values : [0.2, 0.2, 0.2, 0.2, 0.1, 0.2, 0.2, 0.2]
2018-04-06 16:02:55,924 DEBUG SerialDirect 86 Sent to channel(start)' : ToEmonCMS
2018-04-06 16:02:55,924 DEBUG SerialDirect 86 Sent to channel(end)' : ToEmonCMS
2018-04-06 16:02:56,720 DEBUG emoncmsorg Buffer size: 6
2018-04-06 16:02:56,721 INFO emoncmsorg sending: https://server/emoncms/input/bulk.json?apikey=***&data=[[1523030550.201648,11,0.2,0.2,0.2,0.2,0.1,0.2,0.2,0.2],[1523030555.326267,11,0.2,0.2,0.2,0.2,0.1,0.2,0.2,0.2],[1523030560.44954,11,0.2,0.2,0.2,0.2,0.1,0.2,0.2,0.2],[1523030565.572611,11,0.2,0.2,0.2,0.2,0.1,0.2,0.2,0.2],[1523030570.797156,11,0.2,0.2,0.2,0.2,0.1,0.2,0.2,0.2],[1523030575.921488,11,0.2,0.2,0.2,0.2,0.1,0.2,0.2,0.2]]&sentat=1523030576
2018-04-06 16:02:56,889 DEBUG emoncmsorg acknowledged receipt with 'ok' from https://server/emoncms
how can I change it ?