主要内容

搜索

I am using a micro:bit device with ESP8266 for a IOT project, but cannot connect thingspeak recently.
The conncection is unstable, I can hardly connect to thingspeak for days, somehow it works last night for 30 mins and then it fails.
The program does not change and I have included a 25 sec delayed between each data sending.
Please advice why and how to fix it. Thank you.
Tom BS
Tom BS
上次活动时间: 2022-11-15

Hello,
Can someone please give me a hint how the settings at Tasmoto have to be made in order to send data via MQTT to ThingSpeak.
Halil Kemal has an open channel tag: tasmota where this seems to work.
Thank you in advance for your support.
TOM

I'd appreciate comment on whether I understand the limitations with MQTT and low power. Using deep sleep the ESP12 consumes microamps and my sensor is insignificant. The big drain on the battery is WiFi. Sending an MQTT message is taking around 10ms which seems at first sight promising. Unfortunately it looks to me like deep sleep ends the connection, and reconnection takes 4 or more seconds. I'd thought that deep sleep, static IP, and MQTT were the way to get very low power consumption but it looks to me like they don't solve the problem.

The ThingSpeak Communication Library for Arduino, ESP8266 and ESP32 enables an Arduino or other compatible hardware to write or read data to or from ThingSpeak, an open data platform for the Internet of Things with MATLAB analytics and visualization.

Link: https://github.com/mathworks/thingspeak-arduino

Installation: In the Arduino IDE, choose Sketch/Include Library/Manage Libraries. Click the ThingSpeak Library from the list, and click the Install button.

Compatible Hardware:

  • Arduino/Genuino or compatible using a WiFi Shield
  • Arduino/Genuino or compatible using a WiFi Shield 101 (Use the WiFi101 library version 0.13.0 or older.)
  • Arduino/Genuino or compatible using an Ethernet Shield
  • Arduino/Genuino or compatible using a MKR ETH Shield
  • Arduino MKR1000
  • Arduino MKR1010
  • Arduino VIDOR 4000
  • Arduino GSM 14000
  • Arduino Uno WiFi Rev2
  • Arduino Yún (Rev1 and Rev2)
  • ESP8266 programming directly (tested with SparkFun ESP8266 Thing - Dev Board and NodeMCU 1.0 module)
  • ESP8266 via AT commands
  • ESP32 (tested with SparkFun ESP32 Thing)

Tutorial: https://nothans.com/thingspeak-tutorials/arduino/send-data-to-thingspeak-with-arduino

https://developer.twitter.com/en/docs/twitter-api/tweets/lookup/introduction

Hello,

I try to do an aplication that warns me when is flood or when is a fire. I tryed to use ThingTweet to receive new status (better to send a message) when fire or flood happen. But not work that fine. Sometimes I receive a new status in my Tweeter account sometimes not. And this is the most annoying thing. To know that is working just some how. Digging for answers I didn't found much. But I saw Twitter changed the API version to: https://developer.twitter.com/en/docs/twitter-api/early-access. Please, I need some assistance to finish my project ! Thank you

Hallo,ich bin Anfänger und nutze ThingSpeak um meine Wetterdaten (ESP8266 mit BME280 Sensor) und meine Feinstaubdaten (ESP8266 und PMS5003) anzuzeigen. Der erste ESP überträgt Temperatur, Luftfeuchte und Luftdruck in die Felder 1-3 bei ThingSpeak und der zweite ESP die Feinstaubwerte in die Felder 5-7 bei ThingSpeak. Alle 30 Sekunden werden jeweils Daten geschickt. Im Serial Monitor erfolgt die Übertragung wie geplant im Programm. Mein Problem: Die Ausgabe in ThingSpeak enthält viele Aussetzer. Es gehen Daten verloren und werden nicht angezeigt.

Freue mich über Rückmeldungen. Ulli