Don in Discussions
Letzte Aktivitätam 5 Jul. 2023

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. ThingSpeak React (or similar) needed for NoData, but only during certain hours. MATLAB analysis is the way to go. You can trigger the analysis from a regular time control but start the code with a check on the time. (datetime('now')) If the time is in the range you want, run the check for data. If the time is outside working hours, exit gracefully and nobody gets upset :) There are a few good ways to check for missing data. e.g. There is a last update age API that will give you the age of the most recent post (age=webread(url)). Or you can just read the last n points with thingSpeakRead and look at the timestamp. There is a template to generate email alerts in ThingSpeak in MATLAB analysis, or you can see similar code here. Here is the alerts doc. Here is the specific page on send alert. react time control no data
Inés Saavedra Villafruela in MATLAB Answers
Letzte Aktivitätam 7 Apr. 2023

I have created a hardware device with ESP32 that gathers agricultural Data and sends it to a React Native App for the user to see the values and check when its optimal to irrigate. I want to deploy the system but I am not sure how to deploy Thingspeak and assign each user their individual data. Should I use a global channel deployed? Any ideas? Thank you.
tessa hermant in Discussions
Letzte Aktivitätam 17 Feb. 2023

I have this message "You have a React with similar Test Frequency, Action, and Option settings. Delete that React to save this one." But that's not true. It's another channel, another field that must trigger another matlab analysis........... Any idea on how to unblock this issue? Thank you Apps/react - no wato create a second react ? The limit for on-insert react's is one per user, Im sorry. Even if they are for multiple channels. One thing you can do is to have both trigger channels copy to a single channel, and then have react act on the combined channel but use some sort of trigger value for the triggered code to decide the correct action. create react issue bug
Anthony Pagett in MATLAB Answers
Letzte Aktivitätam 11 Mär. 2022

I created a test react that would send me an email if the current temperature dropped below a certain value. Although I have deleted the react I still receive emails
Barnard Richards in MATLAB Answers
Letzte Aktivitätam 22 Mai 2021

I am uploading data to a ThingSpeak channel from a Arduino MKR1010. When I run my Matlab Analysis script from the Apps window it runs correctly reads and displays output and generates an Alert email. I have set a React condition to a numeric field being uploaded. When this field data meets the React condition the Last Ran time shows that the React file did run but it does not appear to run the Matlab Analysis script or if it does the script does not generate a Alert email.
Claudio Buie in Discussions
Letzte Aktivitätam 22 Mär. 2021

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 ThingTweet - new Twitter API v2: Early Access Here's something that may help you. Twitter blocks tweets that have similar text. So, if you tweet over an over "It's flooding..." Twitter may pass one of these tweets along, then stop the similar ones for a period of time. So, you need to change it up. I use a list of phrases that all have similar meaning but are worded differently. And, when I go to tweet, I select a random phrase and try to not to duplicate them too often. Onestly, I thought for one second that Twitter not allow same text. But I don't hnow if that come from Twitter or from ThingSpeak. Thank you for answer. It's ussefull! apps thingtweet twitter react esp32 esp8266 arduino
João Machado in Discussions
Letzte Aktivitätam 26 Feb. 2021

Hi guys, I'm using Thingspeak to log data for my small weather station project. The data then gets sent to an Airtable using React and ThingHTTP. When I check the exported CSV from Thingspeak I can see the data being logged at regular intervals — every 5 minutes, 3 seconds in. However, something happens with React/ThingHTTP, because the Airtable log doesn't match. Every hour or so, the entry will have an added minute (13:01, 17:01, etc). Why does this happen? React is programmed to use ThingHTTP whenever Field1 is different from 0. React/ThingHTTP adding 1 minute every hour Think of thingHTTPs that are triggered by React to be a queue of work. ThingSpeak has worker processes that pull tasks off the FIFO work queue and execute it. Occasionally, if there is a lot of work to be done and all the workers are busy, the work queue will back up and the task is executed when a worker becomes available. This may introduce some delay which explains what you are seeing. Thank you for your answer! Is there a way to use thingHTTP to pass the original timestamp of the record? The documentation provides %%datetime%% but that only sends the timestamp of the instance when the data is actually sent. I would like to be able to access the created_at property and send that. Rather than use thingHTTP, can your device send it to ThingSpeak and directly to Airtable? The timestamp on your device will be a more accurate measure of when the measurement was made and you have built a system with redundancies if either service goes down. I will consider it, but I actually moved from that system because the ThingSpeak library seemed more reliable over time. I can run the device for weeks without ever getting an error. Do you know if the created_at property can be passed using thingHTTP? Thank you. thinghttp react
Ben Alimansky in MATLAB Answers
Letzte Aktivitätam 17 Sep. 2020

Hi Vinod - you helped me a few minutes ago with a question about how to work with multiple devices which were all updating Thingspeak concurrently. Your suggestion of dynamically creating a dynamic, for each respective device, makes sense. However, I have a related issue. I have a React app (in Thingspeak) that triggers a Matlab Analysis script on data insertion to the single channel that I'm using today. As I go to implement a multi-channel approach, do you have any thoughts on how I can use React across channels that I am creating "dynamically"? The React parameters (via the Thingspeak website) seem to specify the channel that you're monitoring - and I'm not sure how to do this in a more dynamic way. Thank you! Ben

Info zu ThingSpeak

The community for students, researchers, and engineers looking to use MATLAB, Simulink, and ThingSpeak for Internet of Things applications. You can find the latest ThingSpeak news, tutorials to jump-start your next IoT project, and a forum to engage in a discussion on your latest cloud-based project. You can see answers to problems other users have solved and share how you solved a problem.