結果:
All the players now have the ability to filter the Cody problems based on the difficulty level. You can also sort based on the difficulty level. Try it out and let us know what you think.
Hello Thingspeak supporter,
I see that the pleaform had updated the MQTT device feature. But I get the issue related to subscribe channel, please check my descripton below:
A Thingspeak device is added with permission of publish and subscribe to a channel. But when starting subscribe, the server disconnected MQTT connection to the device. I'm using MQTTbox tool for testing.
- MQTT setting ID, username and password (As thingspeak device info)
- Connect and publish OK
- MQTT is disconnected when starting subscibe
This issue doesn't appear when I use my old thingpseak account (before adding MQTT device feadure).
Please help me to check. Thank you!
The community team is pleased to release a new design for File Exchange review section. The new design has addressed major pain points we heard from File Exchange users and improves the overall experience. Major improvements include:
1. Support editing ratings/comments
Editing is probably the most popular feature request from File Exchange users. Now, you are able to edit your ratings/comments. Simply click the ‘Edit’ link below your content.
2. Support replying to a comment
In the old design, the only way for the file author to reply to a comment is to create a new comment, which is very hard to track. With the new design, the authors can directly reply to a comment and their post has a blue background making it easier to see. Due to differences between the old and new commenting structures, replies to comments couldn't be reliably inferred, so all comments added prior to 7/14 are at the same indentation level. Replies will be indented from now on.
3. Support rich formatting and attachments
Using the new rich text editor, you are able to choose bold/italic text, insert code or image, create lists, or attach files.
4. Introduce the ‘Discussions’ tab
There is a new ‘Discussions’ tab where community users have conversations with the author or other community members for Q&As or general discussions. The discussions section supports threaded discussions to facilitate the conversations. We separate Discussions with Reviews so that different types of content are not mixed together.
This is a major change for File Exchange and we look forward to hearing from you. Simply reply to this article if you have any questions, comments, or suggestions.
For example, I can send my latest Thingspeak data to firebase platform? Or I can update my Thingspeak field data from Firebase?
Hello. First of all sorry for my English. I was checking that my daily message usage is about 1400/1500 and suddenly yesterday climbed to 13000. Any thoughts? Thanks in advance. Martín.-
generateFunction() failed in MathLab analysis and MathLab vis. where can i put generated function in the Apps->MathLab analysis list?
matlabdrive can show ans =
'/MATLAB Drive' in MathLab online and ThinkSpeak MathLab Analysis . but show Unable to create file.
No one have saved once in MathLab online or ThinkSpeak MathLab Analysis ?
Hello to each other, I'm new here and wanted to test how it works with the transfer of data. To do this, I registered with ThingSpeak. I entered the API code in a Python script (see screenshot). Unfortunately, I always get the message: Response 400. When I enter the web address directly in the browser, I get a "0" back. I can't see an error entering the API key. Can you help me? I use a Raspberry 4B with the PIR sensor HC-SR501. The program will later run on a Raspberry Zero. Have a nice weekend everyone.
Hi - I noticed that after what seems like 12 hours or less, Thingspeak restarts my graph and old values are not displayed. I read about sample limits. Also a mention of a time limit here: https://community.thingspeak.com/forum/general/chart-view-limited-to-2-hours/ Is this the case? (I can of course reduce my update time.
Thanks
Russell
Hi. simple question: im getting a 401 error when I try to delete data in a channel yet if i just change 'requests.get(...)' to 'requests.delete(...) i get a 401 error. what am i doing wrong? thanks
Hallo,
bei THINKSPEAK werden auf dem Handy max 60 Werte angezeigt.
Bei 1 Wert pro Stunde sieht man also 2,5 Tage.
Ich würde lieber 1 Wert pro Tag senden und damit 60 Tage im Überblick haben.
Gibt es dafür eine Lösung ?
Danke & MfG
Peter Benger
Hi all, The ThingSpeak API provides the possibility to embed the chart with historical values of a channel in a web page. Now I would also like to show the last value of a channel as a number on this page. I looked into some of the answers. But I could not understand. Can someone please share the JavaScript code OR the HTML code? I am new to ThingSpeak and Web Development. Please help me out!!
Thank you, Prajna Bhat
I'm accessing internet on my Arduino uno using esp-01, is there a thingspeak Library i can use on this to send data to my thingspeak channel.
Hello,
Anyone could help me to write data to a channel using micropython on ESP8266 or ESP32? I found nothing update on forums (Thingspeak, Micropython, web...)
Thanks a lot
#include WiFi.h #include "secrets.h" #include "ThingSpeak.h" #include hcsr04.h // connect to wifi char ssid[] = "long2000"; // your network SSID (name) char pass[] = "88888888"; // your network passwword int keyIndex = 0; // your network key Index number (needed only for WEP) WiFiClient client; unsigned long myChannelNumber = 1434038; const char * myWriteAPIKey = "1SXFRPC5DG3FMDM0"; const char * server = "api.thingspeak.com"; unsigned long duration; //time variable
// setup HC-SR04 #define HC-SR04
const int trig = 18; const int echo = 19; void setup() {
Serial.begin(9600); // communicate Serial to baudrate 9600 pinMode(trig,OUTPUT); pinMode(echo,INPUT); while (!Serial) // đợi cổng nối tiếp kết nối. Chỉ cần cho cổng USB gốc Leonardo WiFi.mode(WIFI_STA); ThingSpeak.begin(client); // Initialize ThingSpeak
} void loop() { float Distance; //distance variable // Connect or reconnect to WiFi if(WiFi.status() != WL_CONNECTED){ Serial.print("Attempting to connect to SSID: "); Serial.println(SECRET_SSID); while(WiFi.status() != WL_CONNECTED){ WiFi.begin(ssid, pass); // Connect to WPA/WPA2 network. Change this line if using open or WEP network
digitalWrite(trig,0);
delayMicroseconds(2);
digitalWrite(trig,1);
delayMicroseconds(5);
digitalWrite(trig,0); duration = pulseIn(echo,HIGH);
Distance = (duration/2/29.412);
Serial.print(Distance);
Serial.println("cm");
delay(2000);
// Write to ThingSpeak. There are up to 8 fields in a channel, allowing you to store up to 8 different
// pieces of information in a channel. Here, we write to field 1.
int x = ThingSpeak.writeField(myChannelNumber, 1, Distance, myWriteAPIKey);} delay(2000); } }
I'm new and I'm doing work for college and I'm having a hard time doing this part, I can send the data to thingspeak, but I don't know how to get for example the status of field 1 and check if it is 1 or 0 , I want to do this so that later using esp32 I can turn on a real led, could someone please help me
here is my code, i want to recive an email notification when my "alerta" field increase.
% Read the soil moisture channel data from the past two weeks.
% Send an email and tell the user to add water if the value
% is in the lowest 10 %.
% Store the channel ID for the moisture sensor channel.
channelID = 1425554;
% Provide the ThingSpeak alerts API key. All alerts API keys start with TAK.
alertApiKey = 'TXXXXXXXXXXXX';
% Set the address for the HTTTP call
alertUrl="https://api.thingspeak.com/alerts/send";
% webwrite uses weboptions to add required headers. Alerts needs a ThingSpeak-Alerts-API-Key header.
options = weboptions("HeaderFields", ["ThingSpeak-Alerts-API-Key", alertApiKey]);
% Set the email subject.
alertSubject = sprintf("Alertas");
% Read the recent data.
Alerta = thingSpeakRead(channelID,'NumDays',30,'Fields',8);
% Get the most recent point in the array of moisture data.
lastValue = Alerta(end);
% Set the outgoing message
if (lastValue<=Alerta)
alertBody='alerta de anomalia de fluxo de agua';
end
% Catch errors so the MATLAB code does not disable a TimeControl if it fails
try
webwrite(alertUrl, "body", alertBody , "subject", alertSubject, options);
catch someException
fprintf("Failed to send alert: %s\n", someException.message);
endHow much storage limit or maximal storage thingspeak? and how much size (byte) per fields?
Hi. I am a begginer.
I did a sample "Calculate high and low temperatures" with matlab analysis. I want to write data in a specified field in the new channel. I do not know how to do that. I already replace the empty spaces with channel ID and Api key. Then, when i try to set the field that i want to, it returns an error.
Is it right doing like I mention here:
thingSpeakWrite(writeChannelID,'Fields',[2],maxTempF,'timestamp',timeMaxTemp,'WriteKey',writeAPIKey);
Hello folks,
I have a fits file of size (300,300,3) and I would like to access to each channel, but I can't with this code. Any idea please.
stokes = fitsread('stokes1.fits');
Iu = stokes(:,:,1); Ip = stokes(:,:,2); Theta = stokes(:,:,3);
fitswrite([Iu,Ip,Theta],'stokes.fits')