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?
Are you using Ethernet or WiFi/Ethernet?
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}