Gem direct to cloud emoncms.org
-
- Posts: 9
- Joined: Fri Oct 21, 2011 12:45 pm
Gem direct to cloud emoncms.org
Is it possible to setup GEM to post directly to the cloud version of emoncms.org? If possible does anyone have any documentation on how to do this?
-
- Site Admin
- Posts: 4269
- Joined: Fri Jun 04, 2010 9:39 am
Re: Gem direct to cloud emoncms.org
Are you using Ethernet or WiFi/Ethernet?Carl wrote:Is it possible to setup GEM to post directly to the cloud version of emoncms.org? If possible does anyone have any documentation on how to do this?
It should be possible with packet format #10.
Under Data Post, click the Smart Energy Groups button, replace the URL with the EmonCMS URL and replace the Extension with whatever path they use.
For example, http://www.emoncms.org/api would be:
URL: http://www.emoncms.org
Extension: /api
Token is your apikey.
Node is your device node.
That will send:
SC: (seconds, need a calculated stream that subtracts the current value from the last)
V: (voltage, needs to be divided by 10)
E1..32: (select the channels you want to send in Data Post, you'll want a calculated stream here that does the same as seconds)
P1..32: (I think this is amperage)
T1..8: (temperature, looks like with decimal point, disable the ones you aren't using as there's a bug where it displays x)
C1..4: (pulse, should work like the energy counters)
Full example packet below:
{SC:9213114,V:1200,E1:13707493190,P1:0,E2:63689834833,P2:0,E3:8243399759,P3:0,E4:8718
996881,P4:0,E5:9214690237,P5:0,E6:9750469810,P6:1,E7:10349778170,P7:0,E8:10554054890,
P8:0,E9:10991771486,P9:0,E10:11465134244,P10:0,E11:11909802673,P11:0,E12:12392517727,
P12:0,E13:12822969608,P13:0,E14:13301001703,P14:0,E15:13741564334,P15:0,E16:142140133
34,P16:0,E17:2923702,P17:0,E18:89935772,P18:0,E19:181972870,P19:0,E20:265495738,P20:0,
E21:355076620,P21:0,E22:456337581,P22:0,E23:533669946,P23:0,E24:637384395,P24:0,E25:7
07412774,P25:0,E26:808156307,P26:0,E27:885961258,P27:0,E28:994453556,P28:0,E29:105963
5286,P29:0,E30:1160450831,P30:0,E31:1237638182,P31:0,E32:1353930087,P32:0,C1:0,C2:0,C3
:0,C4:0,T1:61.5,T2:x,T3:x,T4:x,T5:x,T6:x,T7:x,T8:x,X:0}
Ben
Brultech Research Inc.
E: ben(at)brultech.com
Brultech Research Inc.
E: ben(at)brultech.com
-
- Posts: 20
- Joined: Tue Jul 10, 2012 12:26 am
Re: Gem direct to cloud emoncms.org
Has anybody gotten this to work?
If so, details please?
If so, details please?
-
- Posts: 21
- Joined: Fri Apr 04, 2014 7:59 am
Re: Gem direct to cloud emoncms.org
Hi Ben
I wrote to you on this same topic but thought Id add to this forum post so others can also see the answer...
Is your answer in this thread still up to date? I note there is now a emoncms option under Data Post.
In short, I am trying to send from my rs232 GEM and attached DASH to emoncms hosted version. I am brand new with emoncms and limited capabilities with GEM/DASH to 3rd party hosts. Thus, if I exactly follow whay you wrote will it work or are there changes/updates or additional details needed? Im trying not to spend too many more hours doing trial and error to figure it out.
Also, if it saves you some time, can you point me to yrou documentation about posting to hosted sites that will give more details.
Finally, when I did try to change the packet settings format from bin48 net time to emoncms, I lose connectivity to GEM.
Are you able to clarify
Thanks!
I wrote to you on this same topic but thought Id add to this forum post so others can also see the answer...
Is your answer in this thread still up to date? I note there is now a emoncms option under Data Post.
In short, I am trying to send from my rs232 GEM and attached DASH to emoncms hosted version. I am brand new with emoncms and limited capabilities with GEM/DASH to 3rd party hosts. Thus, if I exactly follow whay you wrote will it work or are there changes/updates or additional details needed? Im trying not to spend too many more hours doing trial and error to figure it out.
Also, if it saves you some time, can you point me to yrou documentation about posting to hosted sites that will give more details.
Finally, when I did try to change the packet settings format from bin48 net time to emoncms, I lose connectivity to GEM.
Are you able to clarify
Thanks!