Results for
i want to make a gps tracker with gps data from thingspeak..can i get the data realtime and implement it with google maps api?
Unable to sign in to ThingSpeak. Retry in a few minutes
I am trying to read some sensors from Atlas Scientific using their software.
It has instructions to connect to adafruit and mosquitto brokers, but I didn't see instructions to connect to a device in ThingSpeak
Has anyone being able to connect to the Atlas Scietific Software?
how to generate c code from simuling for using it with pic 24 microcinroller
Hello,
I am bit new here. I have tried to integrate a sample data from TTN to thingspeak but its not working. I am getting desired data in TTN Payload and uplink but its not reflecting here in thingspeak. Is it the timescale? How to trouble shoot this issue? How can i know that i am receieving the data? or where to check it? Is there anyway? I am attaching the screenshot here. Thank You

I am remotely monitoring solar energy. My monitors shut off at night to conserve battery power, ending data being sent to ThingSpeak, which is fine. I do want to be alerted quickly though during the day when data should be coming in. How can I do this? ReAct doesn't have any way to limit when actions will happen and TimeControl doesn't seem to be able to only perform during certain hours either. I've looked for examples where Matlab analysis might perform a task between certain hours but can't seem to find anything. FWIW, an email would be the preferred method of alert.
Hello! I am working on a project involving the use of CNNs for text classification. I found a very clear example on MathWorks that demonstrates how to transform text using an encoding process and provide it as input to a neural network. One of the initial layers of the network is the word embedding layer, which is responsible for capturing the semantic relationships between words. I'm wondering how this layer can work without directly using the words, but instead working with a numerical representation of them.
Thank you very much in advance to anyone who will reply to me.
Good morning,
I have been happily using Thingspeak for my Arduino's projects since 2018 and have never had a problem.
For one of my projects I switched to Arduino GIGA and OPTA Finder (I imagine it's a very similar hardware).
When compiling the Arduino IDE projects, it gives me an error saying that the Thingspeak library is not compatible with the hardware.
I ask you if there is on you plan to update the library or if you have any indications to be able to work with Thingspeak also with this new hardware.
Thank you very much.
When I run my matlab code, I got this error
I have guaranteed that my header size (info.raw.sizeof_hdr) is 348
but when I run niftiwrite(V, filepath, info), I also got assertion failed
:
Error using assert
Assertion failed.
Error in niftiwrite (line 104)
assert(headerBytes == 348||headerBytes == 540);
Error in processing_final (line 110)
niftiwrite(V{1},strcat(Folderpath,Folder(num,1).name,'\RoiVolume\RCA_revised.nii'),info{1});
How can I fix this problem ?
#include <WiFi.h>
#include <Wire.h>
#include <WireSlave.h>
#include "ThingSpeak.h"
const char* ssid = ; // your network SSID (name)
const char* password = ; // your network password
WiFiClient client;
unsigned long myChannelNumber = ; // Channel ID:
const char* myWriteAPIKey = ; // API kluc
#define SDA_PIN 13
#define SCL_PIN 14
#define I2C_SLAVE_ADDR 0x04
int hodnota;
int MenoVahy;
// Timer variables
unsigned long lastTime = 0;
unsigned long timerDelay = 30000;
void receiveEvent(int howMany);
void setup() {
Serial.begin(115200); //Initialize serial
WiFi.mode(WIFI_STA);
ThingSpeak.begin(client); // Initialize ThingSpeak
bool success = WireSlave.begin(SDA_PIN, SCL_PIN, I2C_SLAVE_ADDR);
if (!success) {
Serial.println("I2C slave init failed");
while (1)
delay(30000);
}
WireSlave.onReceive(receiveEvent);
}
void loop()
{
if ((millis() - lastTime) > timerDelay) {
if (WiFi.status() != WL_CONNECTED) {
Serial.print("Pripájam sa k sieti...");
while (WiFi.status() != WL_CONNECTED) {
WiFi.begin(ssid, password);
delay(5000);
}
Serial.println("\nPripojené.");
}
sendDataToThingSpeak();
lastTime = millis();
}
// the slave response time is directly related to how often
// this update() method is called, so avoid using long delays
// inside loop(), and be careful with time-consuming tasks
WireSlave.update();
if (MenoVahy == 2) {
Serial.println(hodnota); // print the integer
}
// let I2C and other ESP32 peripherals interrupts work
delay(1);
}
void receiveEvent(int howMany)
{
while (1 < WireSlave.available()) // loop through all but the last byte
{
MenoVahy = WireSlave.read(); // receive byte as a character
}
hodnota = WireSlave.read(); // receive byte as an integer
}
void sendDataToThingSpeak() {
// Nastavte polia s hodnotami
ThingSpeak.setField(1, 10);
ThingSpeak.setField(2, 20);
ThingSpeak.setField(3, 30);
ThingSpeak.setField(4, 40);
ThingSpeak.setField(5, 50);
ThingSpeak.setField(6, 60);
ThingSpeak.setField(7, 70);
ThingSpeak.setField(8, 80);
int x = ThingSpeak.writeFields(myChannelNumber, myWriteAPIKey);
if (x == 200) {
Serial.println("Úspešne aktualizovaný kanál.");
}
else {
Serial.println("Problém s aktualizáciou kanála. HTTP chybový kód: " + String(x));
}
}
I have carefully followed the instructions to load data into my channel without success.
1 how do I check if I have a wifi connection?
2 the following lines are my thingspeak commands
char thingSpeakAddress[] = "api.thingspeak.com";
unsigned long myChannelNumber = 2202392;
const char * myWriteAPIKey = "xxxxxxxxxxxxxxxx";
String myStatus = "";
ThingSpeak.begin( client );
ThingSpeak.setField(1, volts2);
ThingSpeak.setField(2, adc2);
I can seed the data on arduino serial monitor. I am using an ESO8266 connected to a win 10 PC
Any help will be much appreciated as I have spent a lot of time trying to solve the problem
Using mqtt3.thingspeak.com, initially everything works well. but it appears the connection is disconnected after a period of inactivity. Is this expected? Is there a workaround? is some kind of keepalive expected?
Traceback (most recent call last):
File "microdot_asyncio.py", line 368, in dispatch_request
File "microdot_asyncio.py", line 432, in _invoke_handler
File "main.py", line 39, in toggle_led
File "umqtt/simple.py", line 134, in publish
OSError: [Errno 128] ENOTCONN
I have developed an MATLAB application for using as standalone or web based application which also includes trained datasets in it's code. Now i download the package having code, readme file and trained datasets. It takes online data and user input after installing its standalone function but it never shows output which it has to take from trained datasets. Kindly help what is the procedure to upload trained datasets in MATLAB standalone application.
Hello all....
I have used MATLAB code to convert .bmp file to hex format. This converted hex file shows zero for all values.
Why such result?What is the posibility?
Please guide...
Wie füge ich einen Zeilenumbruch mit ThingSpeak.setStatus(Text mit Zeilenumbruch)ein?
0D 0A funktioniert nicht.
Hi,
I am using ThingSpeak with Raspberry Pi Pico W, by using python langage.
I am sending some pressure data from the raspberry with this method :
request = urequests.post('http://api.thingspeak.com/update?api_key=' + THINGSPEAK_WRITE_API_KEY, json=dht_readings, headers=HTTP_HEADERS)
And it works pretty good, i have fields with the new data every 15sec.
But now i am trying send a CLEAR request by using the following method :
url = 'http://api.thingspeak.com/channels/{}/fields/{}.json?api_key={}&days={}'.format(CHANNEL_ID, FIELD_NUMBER , THINGSPEAK_WRITE_API_KEY, NUM_DAYS )
clear_request = urequests.delete(url)
Nothing to be done.
I also tried to clean or delete directly all info in the channel and not only the fields' data by this method :
delete_url = 'https://api.thingspeak.com/channels/{}/feeds?api_key={}'.format(CHANNEL_ID,THINGSPEAK_WRITE_API_KEY)
clear_request = urequests.delete(delete_url)
Still not working.
I tired several ways, clearing the channel, deleting the channel, sending some empty update... none of them works.
Clear Channel is working only from the website when clicking on the button, i would like to do it with a request.
So to make a little summary of what i am looking for : I want to automatically send a clear request from my microcontroller to thingspeak channel 1 each X times.
Is there any way to make it possible ?
Thank you for your answer.
Sincerly Arthur
Hi all,
I am so far on a free account.
I have setup 1 channel. I am sending 3 values from a bitShake SmartMeterReader every 20 seconds to this channel.
When trying to send additional data from my solar inverter every 5min! and calculate some data coming from my bitShake (e.g. once per hour) and send it back to the channel I receive the following error:
Requests are too frequent. For further information, see Limitations in the documentation.
Now I understand that my messages (write orperations) to my channel are limited to 3 Mio / year or 8200/day. With my current setup I am at little more than 4K messages per day and since I just recently started my account I have still 2.840.531 messages left.
How come I get that error even if I switch even if my message limit is far from reached?
Thanks in advance for your time! Much appreciated!
btw. The link "Limitations" where it is supposed to be explained is not working (for me)
Hello!
Im trying to split my Data into 6 different values but the system wont work
I thought this should work, but im not sure how my data is being sent as,
its being sent as a a table, but thats about it. Anyone have any idea what ive done wrong?

I've noticed a few times that a bulk update can take a while to appear. Normally a few minutes at most but at the moment it seems to be much longer, hours maybe. I know the message I sent had been received as I get an RC = 202 as normal. I sent a non bulk update via the browser and it appeared imediately.
Is this something I have to get used to ? It's a problem when I first set up a device and look at Thingspeak to check it's sending messages correctly (I send a bulk update with 1 message when it first connets). Even a single data point sent in batch form is not appearing.
Update: the data has started appearing but it's still hours behind.