I have a EmonTx, (running CT123), NanodeRFSMT, and a Emon GLCD (although the latter is not normally used) I am posting to emoncms. (emoncms.org/BakerA01)
I'm monitoring a off-grid power system which is a mix of wind, pv, battery/inverter, with a backup generator. I have been sending data (using two NanodeRFSMT's) to both COSM and emoncms - both have been set with different mac addresses, and are using DHCP and DNS. Cosm works fine, but the graphical interface is more limited.
For emoncms originally I was posting from 'node 10' 12 variables via CSV, but was very unreliable, have reduced to 9 variables now. – is there a hard limit to the length of CSV?
My problem is for 'node 10' I'm not getting "OK received" back from Emoncms (other than very occasionally) which causes emonbase to reset quite a lot, however when switching on emonGLCD, "node20" that always gets "OK received" I am seeing the "node 10" data feeds on emoncms so at least the data is being posted.
Any thoughts?
I have included a cut and paste from the serial port of the NanodeRFSMT to illustrate the problem (I edited to remove API write code)
//”Node 10 is EmonTX, node 20 is Emon GLCD” Log from emonBase (NanodeRFSMT) serial port whilst connected to emoncms using example code from github for all units”
Time request sent
Time: t07,11,26
Data sent: /api/post.json?apikey=”My api key was here”&node=20&csv=1937
OK recieved
Data sent: /api/post.json?apikey=”My api key was here”&node=10&csv=793,57,3,40,360,360,0,0,0
Data sent: /api/post.json?apikey=”My api key was here”&node=20&csv=1943
OK recieved
Data sent: /api/post.json?apikey=”My api key was here”&node=10&csv=791,56,4,40,0,0,0,0,0
//“ I switched off emonGLCD at this point to see if that made a difference”
Data sent: /api/post.json?apikey=”My api key was here”&node=10&csv=793,53,9,40,80,80,0,0,0
Data sent: /api/post.json?apikey=”My api key was here”&node=10&csv=792,57,5,40,320,320,0,0,0
Data sent: /api/post.json?apikey=”My api key was here”&node=10&csv=793,56,8,40,120,120,0,0,0
Time request sent
Time: t07,12,26
Data sent: /api/post.json?apikey=”My api key was here”&node=10&csv=792,53,11,40,200,200,0,0,0
Not getting "OK received" back from emoncms
Submitted by bakerA01 on Sun, 31/03/2013 - 08:00Hi all, Happy Easter,
I have a EmonTx, (running CT123), NanodeRFSMT, and a Emon GLCD (although the latter is not normally used) I am posting to emoncms. (emoncms.org/BakerA01)
I'm monitoring a off-grid power system which is a mix of wind, pv, battery/inverter, with a backup generator. I have been sending data (using two NanodeRFSMT's) to both COSM and emoncms - both have been set with different mac addresses, and are using DHCP and DNS. Cosm works fine, but the graphical interface is more limited.
For emoncms originally I was posting from 'node 10' 12 variables via CSV, but was very unreliable, have reduced to 9 variables now. – is there a hard limit to the length of CSV?
My problem is for 'node 10' I'm not getting "OK received" back from Emoncms (other than very occasionally) which causes emonbase to reset quite a lot, however when switching on emonGLCD, "node20" that always gets "OK received" I am seeing the "node 10" data feeds on emoncms so at least the data is being posted.
Any thoughts?
I have included a cut and paste from the serial port of the NanodeRFSMT to illustrate the problem (I edited to remove API write code)
//”Node 10 is EmonTX, node 20 is Emon GLCD” Log from emonBase (NanodeRFSMT) serial port whilst connected to emoncms using example code from github for all units”
Time request sent
Time: t07,11,26
Data sent: /api/post.json?apikey=”My api key was here”&node=20&csv=1937
OK recieved
Data sent: /api/post.json?apikey=”My api key was here”&node=10&csv=793,57,3,40,360,360,0,0,0
Data sent: /api/post.json?apikey=”My api key was here”&node=20&csv=1943
OK recieved
Data sent: /api/post.json?apikey=”My api key was here”&node=10&csv=791,56,4,40,0,0,0,0,0
//“ I switched off emonGLCD at this point to see if that made a difference”
Data sent: /api/post.json?apikey=”My api key was here”&node=10&csv=793,53,9,40,80,80,0,0,0
Data sent: /api/post.json?apikey=”My api key was here”&node=10&csv=792,57,5,40,320,320,0,0,0
Data sent: /api/post.json?apikey=”My api key was here”&node=10&csv=793,56,8,40,120,120,0,0,0
Time request sent
Time: t07,12,26
Data sent: /api/post.json?apikey=”My api key was here”&node=10&csv=792,53,11,40,200,200,0,0,0
Thanks in advance
Andy