EmonCMS.org and ESPeasy mega build 20000

Moderators: grovkillen, TD-er, Stuntteam

Post Reply
Message
Author
Nico
Normal user
Posts: 2
Joined: 10 Mar 2018, 22:10
Location: the Netherlands

EmonCMS.org and ESPeasy mega build 20000

#1 Post by Nico » 10 Mar 2018, 23:24

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?

TD-er
Core team member
Posts: 2629
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: EmonCMS.org and ESPeasy mega build 20000

#2 Post by TD-er » 11 Mar 2018, 00:46

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)

TD-er
Core team member
Posts: 2629
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: EmonCMS.org and ESPeasy mega build 20000

#3 Post by TD-er » 11 Mar 2018, 01:00

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?

Nico
Normal user
Posts: 2
Joined: 10 Mar 2018, 22:10
Location: the Netherlands

Re: EmonCMS.org and ESPeasy mega build 20000

#4 Post by Nico » 11 Mar 2018, 18:45

@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.

TD-er
Core team member
Posts: 2629
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: EmonCMS.org and ESPeasy mega build 20000

#5 Post by TD-er » 12 Mar 2018, 09:20

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.

danielsan
Normal user
Posts: 3
Joined: 16 Sep 2016, 13:48

Re: EmonCMS.org and ESPeasy mega build 20000

#6 Post by danielsan » 04 Jan 2019, 19:43

Hello everybody, any update about emoncms? is there some online web server that allow to store data like power usage? :roll:

norid
Normal user
Posts: 2
Joined: 13 Jun 2018, 08:24

Re: EmonCMS.org and ESPeasy mega build 20000

#7 Post by norid » 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

TD-er
Core team member
Posts: 2629
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: EmonCMS.org and ESPeasy mega build 20000

#8 Post by TD-er » 07 Mar 2020, 11:32

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"

User avatar
grovkillen
Core team member
Posts: 3583
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: EmonCMS.org and ESPeasy mega build 20000

#9 Post by grovkillen » 07 Mar 2020, 11:41

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
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

norid
Normal user
Posts: 2
Joined: 13 Jun 2018, 08:24

Re: EmonCMS.org and ESPeasy mega build 20000

#10 Post by norid » 07 Mar 2020, 16:38

Thank you very much.
I couldn't use send to http and was disappointed.

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

Post Reply

Who is online

Users browsing this forum: No registered users and 22 guests