Chris Nas in MATLAB Answers
上次活动时间: 2024-4-19

Hey, I am currently programming something in ArduinoIDE for an ESP8266 to read my sensor data that is already uploaded to TS. For this, I use the function: ThingSpeak.readMultipleFields(CHANNELID,READKEY). Unfortunately, I found that the server no longer returns the correct data. Here some debug Log from the Arduino library right after caling ThingSpeak.readMultipleFields(CHANNELID,READKEY): ts::readRaw (channelNumber: 13xxxxx readAPIKey: H89OOxxYFXxxxxxx suffixURL: "/feeds/last.txt?status=true&location=true") Connect to default ThingSpeak: api.thingspeak.com:80...Success. GET "/channels/13xxxxx/feeds/last.txt?status=true&location=true" Got Status of 200 Content Length: 210 Found end of header Response: "{"created_at":"2021-04-06T20:25:06Z","entry_id":5,"field1":null,"field2":null,"field3":null,"field4":null,"field5":"27.82000","field6":"28.96680","latitude":null,"longitude":null,"elevation":null,"status":null}" Read: "{"created_at":"2021-04-06T20:25:06Z","entry_id":5,"field1":null,"field2":null,"field3":null,"field4":null,"field5":"27.82000","field6":"28.96680","latitude":null,"longitude":null,"elevation":null,"status":null}" disconnected. As you can see, field 4 returns "null". When reading the same Channel and field with the function: ThingSpeak.readFloatField(CHANNELID,FIELD ID,READKEY) I get: ts::readStringField(channelNumber: 13xxxxx readAPIKey: H89OOxxYFXxxxxxx field: 4) ts::readRaw (channelNumber: 13xxxxx readAPIKey: H89OOxxYFXxxxxxx suffixURL: "/fields/4/last") Connect to default ThingSpeak: api.thingspeak.com:80...Success. GET "/channels/13xxxxx/fields/4/last" Got Status of 200 Content Length: 8 Found end of header Response: "29.94141" Read: "29.94141" disconnected. And this is the right value. Im using the latest Version from TS arduino Library. I already opend an issue on Github but there is no reaction on it. https://github.com/mathworks/thingspeak-arduino/issues/80 Does anyone have any ideas? Greetings!
tessa hermant in Discussions
上次活动时间: 2023-2-17

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
avner gideobi in MATLAB Answers
上次活动时间: 2020-4-30

Using bulk upload in a CSV format to store IoT logs onto Thinkspeak. My IoT (ESP32) will bulk upload few (~10) lines by the end of a cycle, once in about an hour. However, ont he time line (both on automatic charts and on export) it seems that the lines are spread on over an hour, so actually I have no idea when this is really happened. the two following pictures demonstrates it well: both "points" where reported at the same time using a simple bulk update call, but reported like it was posted 40 minutes apart. this is consistent with the data exported in the export function. However there, it is 10-15 seconds shifted from the time on the chart... (?!?!!?) Why is the timestamp incorrect and spead over time ? How can I make sure I get the correct timestamp to a log submitted ? thanks!
Greg in MATLAB Answers
上次活动时间: 2017-4-12

Does anybody know what the "R2016b+" drop down option is about when submitting a bug report? I haven't seen any reference to an update to R2016b, and "+" doesn't follow the "SP#" convention they usually use for updated releases.

关于 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.