Elakiya in MATLAB Answers
최근 활동: 2024년 1월 27일

I want to send text data and special characters to the webpage thingspeak to display the text and also based on sensor data, I want to receive the text message from the website to my device. How can do this process?, please tell me in clear steps
Shashank Vigneshwar Hegde in Discussions
최근 활동: 2022년 11월 28일

I would like to have a widget to control a pump connected to Thingspeak via Talkback. I have also established a connection with thingspeak where I publish my sensor data to the channel and can visualize the data through the various widgets. But I cant find a widget or method to control the pump from a graphical perspective on the channel (like a switch or button interface where clicking them would turn the pump on or off). Thingsboard seems to have the feature, not sure of thingspeak. If anyone knows a way please do comment out. Have a great day! How to add a widget for talkback in the my channel section along with incoming sensor data visualizations? You can use the plugins app to add javascript that will make a button that sets a channel value. You will be able to use the plugin for yourself, but you cannot make it public due to security issues. Here is some sample code for a button, just change the xmlhttp_info.txt to the GET command to change the value of your channel from 1 to 0. Then set you pump to read the channel to decide to turn on or off. (or use talkback) I tested the code in pugins on my channel and was able to get it to read data from a channel thingspeak talkback widgets
Risto Vesanto in MATLAB Answers
최근 활동: 2021년 9월 27일

Hi the aplication works fine but the command TURN_ON does not pass to the if-sentense. I saw some ware else solution to this poblem adding a senstence index on the POST function? Unfortunately I have lost the it an dcan not any more locate it. If there are no commands in the que it returns 0 and the lenght is 5. Below is the print outs from serial monitor First no commands in the que 16:23:25.180 -> checking queue... 16:23:25.180 -> Latest command from queue: 16:23:25.180 -> 0 16:23:25.180 -> 16:23:25.180 -> 16:23:25.180 -> command lenght = 5 Then with TURN_ON 16:26:16.684 -> Latest command from queue: 16:26:16.684 -> 7 16:26:16.684 -> TURN_ON 16:26:16.684 -> 0 16:26:16.684 -> 16:26:16.684 -> 16:26:16.684 -> command lenght = 17 The else sentence else{ Serial.println(" Nothing new."); } also does not react to no new commands. Any help is needed!
Claudio Buie in Discussions
최근 활동: 2021년 9월 6일

Hello, Opening TalkBack in Firefox and trying to Add a new command, the green button doing nothing. If I refresh the page, it works fine. First time have a issue - not work... Edge is working from the first time. Testing APPS - TalkBack Thanks for reporting this. We will look into this. I'm no longer able to reproduce this with Firefox v91.0.1 on Windows on Linux. It appears that a Firefox update has resolved the issue. Can you please confirm? Firefox v91.0.2 and still need a refresh for a new command. talkback add new command refresh the page issue working after refresh firefox
Zachariah Belding in MATLAB Answers
최근 활동: 2021년 4월 20일

I use this method to update channels and execute Talkback: https://www.mathworks.com/help/thingspeak/writedataandexecutetalkbackcommand.html Most of the time this works great, but once and and a while I do not recieve a response from the http Post. This is more than likley due to a weak cellular connection. When this happens, I redo the http Post and usually get a server response the second time. The problem is, the talkback was already executed on the first try that was not recieved. That means the second try does not contain the Talkback. Any ideas on how to overcome this issue?
Sreehari M V in Discussions
최근 활동: 2021년 3월 19일

An error occurred while executing the code. I was referring this site : https://in.mathworks.com/help/thingspeak/monitor-channel-inactivity-using-multiple-thingSpeak-apps.html While executing the code Error using matlab.internal.webservices.HTTPConnector/copyContentToByteArray (line 373) The server returned the status 400 with message "Bad Request" in response to the request to URL https://api.thingspeak.com/apps/thinghttp/send_request?3DOHBYUXDXD4OVIV=WA327EPXB1DWM0FA. Error in readContentFromWebService (line 46) byteArray = copyContentToByteArray(connection); Error in webread (line 125) [varargout{1:nargout}] = readContentFromWebService(connection, options); Error in Custom (no starter code) 2 (line 3) Trigger_TalkBack = webread(url,'3DOHBYUXDXD4OVIV',ThingHTTP_APIKEYS.To_Trigger_TalkBack) %Trigger TalkBack via ThingHTTP This is been showing My Code : ThingHTTP_APIKEYS = struct('To_Trigger_TalkBack','WA327EPXB1DWM0FA');% Your ThingHTTP app API keys url = 'https://api.thingspeak.com/apps/thinghttp/send_request'; Trigger_TalkBack = webread(url,'3DOHBYUXDXD4OVIV',ThingHTTP_APIKEYS.To_Trigger_TalkBack) %Trigger TalkBack via ThingHTTP Error while executing the code Can you describe what you expect this code to do? I see that you are triggering ThingHTTP, are you trying to give the ThingHTTP api keys for a talkback? Why not just read the talkback directly? webread(url,'3DOHBYUXDXD4OVIV',ThingHTTP_APIKEYS.To_Trigger_TalkBack) %Trigger TalkBack via ThingHTTP iot matlab analysis talkback
Nathan Petrie in MATLAB Answers
최근 활동: 2020년 4월 17일

I have my ESP8266 connected to my Arduino Uno. (Through serial when not running code and through SoftwareSerial when running code) I have successfully updated a channel in ThingSpeak with both Arduino code and through the serial monitor. Now I want to use TalkBack. I started testing it using the serial monitor AT commands. However, it keeps giving me the following error (in json, in my code below, I get the text response because I don't specify a format): {"status":"401","error":{"error_code":"error_auth_required","message":"Authorization Required","details":"Please provide proper authentication details."}} I am sending the following commands: 1-------> AT+CIPSTART="TCP","api.thingspeak.com",80 Response: CONNECT OK 2-------> AT+CIPSEND=70 Response: OK 3-------> GET /talkbacks/<my_talkback_id>/commands/execute?api_key=<my_talkback_api_key> \r\n Response: Recv 70 bytes SEND OK +IPD,19:error_auth_requiredCLOSED That's when I get the above error (that's what the error looks like in json format). And yes, I am using the API key from the TalkBack page. In fact, I usually copy the GET line from my TalkBack's webpage. I use a character count website to get the size (68) then add two (to make 70) because of the NL and CR the serial monitor adds. This is how I did it for ThingSpeak and it works fine. Any help would be appreciated!
Mei Sing Wang in MATLAB Answers
최근 활동: 2020년 3월 10일

Can raspberry pi use talkback? or is it specially for arduino only
Gcobani Mkontwana in MATLAB Answers
최근 활동: 2019년 11월 5일

Hi Is there anyone who can me help with work around example, as to how to publish message using talkback or plugin on client side? I am using native javascript with jquery and have API key sending GET protocol. I want my button to subscribe to that channel i created, please help me by showing an example i am sure can able to do this. My channel have two fields temp and illuminance, both been programmed on IDE Arduno and have button_state that must read from my talkback functionality; Plugin functionality for my button to read or subscribing my channel; <html> <head> <!-- NOTE: This plugin will not be visible on public views of a channel. If you intend to make your channel public, consider using the MATLAB Visualization App to create your visualizations. --> %%PLUGIN_CSS%% %%PLUGIN_JAVASCRIPT%% </head> <body> <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous"><br/> <div class="col-md-4 text-center"> <button id="singlebutton" name="singlebutton" class="btn btn-primary">IOT-Talk</button> </div> </body> </html> <script src="https://code.jquery.com/jquery-3.3.1.js"integrity="sha256-2Kok7MbOyxpgUVvAk/HJ2jigOSYS2auK4Pfzbm7uH60="crossorigin="anonymous"></script> <script type="text/javascript"> function OPENDOOR() { $.ajax({ url:"https://api.thingspeak.com/talkbacks/35734/commands?key=MF710NTKMG0E44UG&command_string=OPENDOOR&position=1", type: 'GET', success: function(data) { //called when successful //console.log(data); $('#singlebutton').on('click', function (e) { $('#singlebutton').append(data); }) } }); } </script>
kyzrsze Kyzrsze in MATLAB Answers
최근 활동: 2019년 7월 12일

ı want to use simulink with thingspeak but there is not much example to understand.There are tutorials about thingspeak but most of them use Arduino IDE for that. 1)can ı recieve data from 'wifi TCP/IP sender ' if ı am on different network?

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.