ESP Easy mit Thingspeak

Hello everybody,

Despite my personal aversion to cloud services, especially in times of rampant IoT devices, I want to show you today how to get your sample sensor online.

There are several services available that vie for the customer's favor, there is a real boom in the market and when you read into the topic you get the feeling that every IT company offers a different solution. Microsoft, Oracle, Amazon, Intel, Telekom, Q-Loud, Sparkfun, Adafruit to name just a few of the larger representatives of this division. If you are looking for a cloud for your larger project or even for your company, you are spoiled for choice because price and performance differ considerably in some cases. However, the choice of the right provider depends on many factors and is not the subject of our project today. We chose Thingspeak at the customer's request.

In previous posts we have already shown how ESP-Easy compiled, transferred and with a Sensor configured  has been. Today we create an account at ThingSpeak and configure a channel to stream the values ​​of our sensor into the cloud.

We use one for our example BME280  on one D1 mini  as shown in the tutorial.

First you have to here  create a user account. Once you have entered your data and confirmed the email, you can log in. With the wizard you can easily create channels:

Click here on "New Channel"

and enter this data:

Save with:

do not forget. You will then be redirected to the channel you just created. The header should look something like this:

To configure the ESP, we still need the API key to be able to write to the channel. To do this, click on the API Keys tab.

Make a note of the Write API Key. We continue with the configuration of the ESP. To do this, we call up the web interface of the ESPEasy and click on the "Controllers" tab via the "Edit" button to proceed to setting the controller. Enter the following data here together with your noted API key:

Save with Submit.

Then change another setting in the "Tools" button "Advanced" button: Under "Controller Settings" set a message delay of 15000ms:

Now everything is configured. After a while we see results in Thingspeak.

And the data from our sensors are recorded.

In one of the next posts we will show you how easy it is to integrate ESP Easy with MQTT in OpenHAB.

 

Until next time :)

 

Esp-8266Projekte für anfängerSensorenSmart home

2 comments

Jan

Jan

Moin
danek für diesen Post, ich habe es mal nachgebaut, aber der Tempwert kommt nicht im TP an. auf dem ESP wird er aber angezeigt. Hab Ihr nen Tipp für mich.
LG
jan

Martin

Martin

Hallo Moritz ,
Habe Thingspeak aktiviert Schlüssel Kopiert und in meine Espeasy Config kopiert !
Funktioniert auch soweit, Bekomme Zugang !
Bei meinem Channel Stats bekomme ich aber nur 2 Messpunkte!! für nur 2 Kanäle der dritte ist leer
Ich habe nochmal in der Config meines esp-controllers alle Einträge kontrolliert und kann bis auf den letzten Hinweis mit dem Eintrag Tools, Settings den Eintrag “Message Delay” nicht finden !!!
Meine Seite schaut vollkommen anders aus (:
Ich weiß jetzt nicht wo ich den Parameter Message Delay finden soll ??

Leave a comment

All comments are moderated before being published