Unclear setup of ThingSpeak with mega-20180822

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
fjk
New user
Posts: 9
Joined: 24 Aug 2018, 21:48

Unclear setup of ThingSpeak with mega-20180822

#1 Post by fjk » 24 Aug 2018, 22:06

Dear folks!

Admittedly I am a total beginner both in ESPeasy and ThingSpeak.

Under certain circumstances my problem can be easily solved with a simple tip. ;)

It is simply unclear to me what I have to enter under "ThingHTTP Name:". This parameter is not mentioned in the official "EasyProtocols".

Image
Screenshot 2018-08-24 22.04.23.png
Screenshot 2018-08-24 22.04.23.png (80.51 KiB) Viewed 5219 times
thanks in advance
/FJK

lyndondr
Normal user
Posts: 12
Joined: 20 Aug 2018, 22:03

Re: Unclear setup of ThingSpeak with mega-20180822

#2 Post by lyndondr » 25 Aug 2018, 03:22

I don't use the "ThingHTTP Name:" but for some reason awhile back I had to stop using the Hostname and use the IP address. The IP address in your post is what I use.
Last edited by lyndondr on 25 Aug 2018, 17:33, edited 1 time in total.

fjk
New user
Posts: 9
Joined: 24 Aug 2018, 21:48

Re: Unclear setup of ThingSpeak with mega-20180822

#3 Post by fjk » 25 Aug 2018, 11:33

thank you ... I changed to IP ... I set the "ThingHTTP Name:" to label set for the data field on ThingSpeak, but if this relevant at all, I don't know

meanwhile I see some data, but receiving quite a lot of ThingSpeak related errors :

=> Timeout while reading input data!

/FJ

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

Re: Unclear setup of ThingSpeak with mega-20180822

#4 Post by TD-er » 25 Aug 2018, 16:09

There is some issue with ThingSpeak in which it is changing it's IP.
So then you have to remove the controller and re-configure it.
I'm working on an issue and this morning I merged a pull request that may also fix this issue.

If you are having issues to even make the first setup, than this is not relevant to the issue you're experiencing.

fjk
New user
Posts: 9
Joined: 24 Aug 2018, 21:48

Re: Unclear setup of ThingSpeak with mega-20180822

#5 Post by fjk » 26 Aug 2018, 10:11

Thanks, so if I use one of the upcoming ESP builds I shouldn't have this problem with ThingSpeak anymore, right?

/FJK

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

Re: Unclear setup of ThingSpeak with mega-20180822

#6 Post by TD-er » 26 Aug 2018, 12:21

Last build has the patch for connecting to a client. See this merged pull request: https://github.com/letscontrolit/ESPEasy/pull/1672
In short, the result of the connect call was not checked properly, so regardless the result, it was considered successful.
There was already a mechanism to cache the DNS lookup (the IP-address) and on failed connect force an update of this cache. But if the result of the connect never "failed" (due to incorrect check of the return value), this mechanism never is triggered.

So this patch will address the problem of Thingspeak that it is changing IP every now and then, resulting in failed uploads to ThingSpeak.

If you cannot even make an initial connection, then there is another issue. (maybe not set DNS or gateway when using static IP)

fjk
New user
Posts: 9
Joined: 24 Aug 2018, 21:48

Re: Unclear setup of ThingSpeak with mega-20180822

#7 Post by fjk » 26 Aug 2018, 12:28

Understood, thank you very much.

/FJ

Post Reply

Who is online

Users browsing this forum: No registered users and 124 guests