Page 1 of 1

EmonCMS.org and ESPeasy mega build 20000

Posted: 10 Mar 2018, 23:24
by Nico
Hi,
I'm new on this forum. I started to play with esp, Rpi2, MQTT(Mosquitto), Node-red, Node-red-UI.
I found this great looking open-source initiative and loaded it on an ESP12F.
MQTT is No1 Controller on ESP Easy and works. Two one-wire temp sensors are publishing to MQTT.
I now want to test EMONCMS.org and added a second controller onto ESPEASY. Can't seem to get it working. I've made an account on EmonCMS.org and pasted the Write APIKEY into ESPEASY. (i later want to switch to emoncms on a RPI)
It seems EMONCMS.org is only doing HTTPS now (which ESPEASY isn't right?) . I tried http also. I'm sure i am missing something stupid but i am about to give up. Please can somebody set me on the right track? Maybe adding some examples into the wiki?

Re: EmonCMS.org and ESPeasy mega build 20000

Posted: 11 Mar 2018, 00:46
by TD-er
If they switched to HTTPS, then I guess it's not going to work at this moment.
We're still on Arduino ESP8266 core 2.3.0 library and then HTTPS is not usable.

I don't know Emoncms from own experience. Maybe there some bridge possible using apache's proxypass on the Pi?
I've not tried proxypass on http => https connections, so let's hope that's possible.
Don't forget to set it both ways (ProxyPass and ProxyPassReverse)

Re: EmonCMS.org and ESPeasy mega build 20000

Posted: 11 Mar 2018, 01:00
by TD-er
I just looked at their site, at the API documentation.
When visiting via their site, all documented links show https. When I change the URL to this, the documented links start with http.
http://emoncms.org/site/api#input

So perhaps they still support http?

Re: EmonCMS.org and ESPeasy mega build 20000

Posted: 11 Mar 2018, 18:45
by Nico
@TD-er : thanks. I can give that a try. However, which URL should i insert in espeasy: http://emoncms.org ? or do i add another / ? of maybe even more?
I order to exclude in certainties in the typo i would like to know the precise notation.

Re: EmonCMS.org and ESPeasy mega build 20000

Posted: 12 Mar 2018, 09:20
by TD-er
If you're trying the Apache proxypass route, you have to address the machine running the Apache. In Apache you have to setup the redirect to EmonCMS.org.
But first try to find out if they really block https.

Re: EmonCMS.org and ESPeasy mega build 20000

Posted: 04 Jan 2019, 19:43
by danielsan
Hello everybody, any update about emoncms? is there some online web server that allow to store data like power usage? :roll:

Re: EmonCMS.org and ESPeasy mega build 20000

Posted: 07 Mar 2020, 11:24
by norid
Hi friends,

Still on Arduino ESP8266 core 2.3.0 library... ?
Everything now is with https...

Please change that. Hello 2020!

Thanks

Re: EmonCMS.org and ESPeasy mega build 20000

Posted: 07 Mar 2020, 11:32
by TD-er
norid wrote: 07 Mar 2020, 11:24 Hi friends,

Still on Arduino ESP8266 core 2.3.0 library... ?
Everything now is with https...

Please change that. Hello 2020!

Thanks
Nope, we're using the latest Arduino ESP8266 core.
But we're also running low on resources and https does take quite some RAM.
Often I think back of my good old MSX1 dating back to 1983, which always greeted me with "28816 bytes free" and then I think to myself: "That would be nice to have right now"

Re: EmonCMS.org and ESPeasy mega build 20000

Posted: 07 Mar 2020, 11:41
by grovkillen
norid wrote: 07 Mar 2020, 11:24 Hi friends,

Still on Arduino ESP8266 core 2.3.0 library... ?
Everything now is with https...

Please change that. Hello 2020!

Thanks
You're commenting a two year old post. We're not on 2_3_0

Re: EmonCMS.org and ESPeasy mega build 20000

Posted: 07 Mar 2020, 16:38
by norid
Thank you very much.
I couldn't use send to http and was disappointed.

Anyway, perhaps in the future will be possible a solution.