The nanode that I used to use to capture EmonTx data having failed, I thought I'd try the EmonPi that I got from the Kickstarter project (complete with US power supplies!) It started OK, updated it and setup the emonhub. Looks as if it works but doesn't.
Emonpi failing to update local emoncms server WARNING emoncmsorg send failure: wanted 'ok' but got ''
Submitted by billt on Thu, 07/04/2016 - 19:37The nanode that I used to use to capture EmonTx data having failed, I thought I'd try the EmonPi that I got from the Kickstarter project (complete with US power supplies!) It started OK, updated it and setup the emonhub. Looks as if it works but doesn't.
Emonhub log viewer gives: 2016-04-07 19:24:18,643 INFO emoncmsorg sending: http://192.168.0.2/emoncms/input/bulk.json?apikey=E-M-O-N-C-M-S-A-P-I-K-E-Y&data=[[1460057032,5,0,0,0,0,0,0,0,0,0,0,4],[1460057034,8,18,7,0,0,246.31,0,-76],[1460057037,5,0,0,0,0,0,0,0,0,0,0,4],[1460057042,5,0,0,0,0,0,0,0,0,0,0,4],[1460057045,8,16,4,1,0,246.09,0,-76],[1460057047,5,0,0,0,0,0,0,0,0,0,0,4],[1460057052,5,0,0,0,0,0,0,0,0,0,0,4],[1460057056,8,15,6,1,0,245.33,0,-76],[1460057057,5,0,0,0,0,0,0,0,0,0,0,4]]&sentat=1460057058 2016-04-07 19:24:18,787 WARNING emoncmsorg send failure: wanted 'ok' but got ''
WAMP access log gives this, which is obviously wrong
192.168.0.170 - - [07/Apr/2016:20:24:18 +0100] "POST /emoncms/input/bulk.json?apikey=xxxxxxxxxxxxxxxxxxxxxxx HTTP/1.1" 200 -
A correct input is like this 192.168.0.2 - - [07/Apr/2016:20:24:20 +0100] "POST /emoncms/input/post?apikey=xxxxxxxxxxxxxxxxxxxxxxxxxxxxx&time=1460057060&json={XXX604_ch1_w:-3.00,XXX604_ch2_w:-0.50,XXX604_aux1_w:0.00,XXX604_aux2_w:0.00,XXX604_aux3_w:0.00,XXX604_aux4_w:0.00,
XXX604_aux5_w:449.81,XXX604_ch1_wh:114866.10,XXX604_ch2_wh:-97394.33,XXX604_aux1_wh:254514.74,XXX604_aux2_wh:421336.83,XXX604_aux3_wh:7360.12,
XXX604_aux4_wh:633424.44,XXX604_aux5_wh:240926.22} HTTP/1.1" 200 2 Emonhub config entry [[emoncmsorg]] Type = EmonHubEmoncmsHTTPInterfacer [[[init_settings]]] [[[runtimesettings]]] pubchannels = ToRFM12, subchannels = ToEmonCMS, url = http://192.168.0.2/emoncms apikey = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx senddata = 1 sendstatus = 1
Any ideas about what I'm doing wrong?