Comments on: Introducing TalkBack, the New Internet of Things App to Control Things with the ThingSpeak Cloud https://blogs.mathworks.com/iot/2014/01/21/introducing-talkback-the-new-internet-of-things-app-to-control-things-with-the-thingspeak-cloud/?s_tid=feedtopost Hans Scharler is an Internet of Things pioneer. He writes about IoT and ThingSpeak IoT platform features. Wed, 26 Apr 2017 19:23:16 +0000 hourly 1 https://wordpress.org/?v=6.1.1 By: Mikael Patel https://blogs.mathworks.com/iot/2014/01/21/introducing-talkback-the-new-internet-of-things-app-to-control-things-with-the-thingspeak-cloud/#comment-90132 Sat, 08 Mar 2014 16:11:55 +0000 https://blogs.mathworks.com/iot/?p=1152#comment-90132 In reply to lee.

Hi Lee. Thanks for the swift reply.

My guess is that, for instance, space would not be a very good character to use as the command string is passed in a HTTP POST request.

It would be nice to come to some convention on formatting the command string with and without parameters and possible object reference.

Following the HTTP convention we could use plus(+) as a replacement for space or ampersand(&) and parameter names.

LED+0
LED&state=0

There is also a need for a syntax for commands where there might be several instances and an object reference (or index) is used.

LED3+0
LED+3+0
LED&id=3&state=0

Using an instance references helps reduce the command dispatch. The parameter notation with ampersand might not be a good idea as the whole string is the command to be added. It is actually the add command usecase that need most attention as the execute next command returns the string in the body of the reply.

Cheers!

]]>
By: lee https://blogs.mathworks.com/iot/2014/01/21/introducing-talkback-the-new-internet-of-things-app-to-control-things-with-the-thingspeak-cloud/#comment-90125 Sat, 08 Mar 2014 15:00:03 +0000 https://blogs.mathworks.com/iot/?p=1152#comment-90125 In reply to Mikael Patel.

Hi Mikael,

The only restrictions on the syntax of the TalkBack command is that they are UTF8 strings with max length of 255.

lee

]]>
By: Mikael Patel https://blogs.mathworks.com/iot/2014/01/21/introducing-talkback-the-new-internet-of-things-app-to-control-things-with-the-thingspeak-cloud/#comment-90109 Sat, 08 Mar 2014 11:21:34 +0000 https://blogs.mathworks.com/iot/?p=1152#comment-90109 This is a great extension to the ThingSpeak channel handling. I have implemented support for “get next command” and “add command” in Cosa, an object-oriented platform for Arduino.

Now for a question: I am considering using the command string to identify “object” and also pass parameters. Are there any restrictions on the “syntax” of the command string?

More details on the Cosa issue list;
https://github.com/mikaelpatel/Cosa/issues/133
https://github.com/mikaelpatel/Cosa/issues/134

The demo channels are tagged Cosa.

Cheers!

]]>
By: Hans https://blogs.mathworks.com/iot/2014/01/21/introducing-talkback-the-new-internet-of-things-app-to-control-things-with-the-thingspeak-cloud/#comment-89227 Tue, 25 Feb 2014 23:21:19 +0000 https://blogs.mathworks.com/iot/?p=1152#comment-89227 In reply to Andrew Doodson.

The why might be since the Yun can deploy serial over Wi-Fi and it is waiting for the serial port to be established. Not completely sure though. Glad it works!

]]>
By: Andrew Doodson https://blogs.mathworks.com/iot/2014/01/21/introducing-talkback-the-new-internet-of-things-app-to-control-things-with-the-thingspeak-cloud/#comment-89211 Tue, 25 Feb 2014 16:43:48 +0000 https://blogs.mathworks.com/iot/?p=1152#comment-89211 In reply to Hans.

Perfect! Worked as you say, this was the last hurdle of many for me, do you know why: while(!Serial); is used in some sketches but not others in terms of MAKING the code wait for the Serial Monitor? Thanks so much for your help 🙂

]]>
By: Hans https://blogs.mathworks.com/iot/2014/01/21/introducing-talkback-the-new-internet-of-things-app-to-control-things-with-the-thingspeak-cloud/#comment-88997 Fri, 21 Feb 2014 17:48:12 +0000 https://blogs.mathworks.com/iot/?p=1152#comment-88997 In reply to Andrew Doodson.

Try removing line 62 of the sketch: while(!Serial);

(https://github.com/iobridge/ThingSpeak-Arduino-Examples/blob/master/Yun/TalkBack_to_Arduino.ino)

I think this while waits until the serial monitor opens before continuing through the Arduino sketch.

]]>
By: Andrew Doodson https://blogs.mathworks.com/iot/2014/01/21/introducing-talkback-the-new-internet-of-things-app-to-control-things-with-the-thingspeak-cloud/#comment-88996 Fri, 21 Feb 2014 17:43:48 +0000 https://blogs.mathworks.com/iot/?p=1152#comment-88996 Hi All,

Has anyone got this working on the Yun when just using Wifi and not tethered to a computer having the serial monitor open, it only seems to work for me when i’ve got the IDE open and the serial monitor open as well, any clues on this one?

]]>
By: Randolph Garrison https://blogs.mathworks.com/iot/2014/01/21/introducing-talkback-the-new-internet-of-things-app-to-control-things-with-the-thingspeak-cloud/#comment-87178 Tue, 21 Jan 2014 21:04:07 +0000 https://blogs.mathworks.com/iot/?p=1152#comment-87178 There is a great deal of potential here, especially for people getting older like me. Add cameras and microphones and possibly medical monitors that a family member could securely monitor and communicate.

Security is and always will be the weak point. A strong challenge and response on an independent connection is really needed before I could feel good about this type of setup.

]]>