Discuss Scratch

khanning
Scratcher
34 posts

Remote Sensors Protocol in Scratch 2.0

Hi Scratch Team,

I'm just wondering if there will be a feature in Scratch 2.0 similar to the Remote Sensors Protocol from 1.4. From the forum posts I've found it sounds like there will eventually be a helper application to add remote sensor functionality.

I ask because I've recently released an Android app “Scratcher Control” that allows you to control your Scratch project with an Android powered device. The app uses the Remote Sensors Protocol to communicate with Scratch 1.4. My timing wasn't great, I released the app a day before the site went down for the Scratch 2.0 update. I'm debating creating my own helper application so my app can still be used with Scratch 2.0 (of course without broadcast or sensor-update functionality), but if an official helper application is on the horizon I will just wait it out.

Also, thanks for a wonderful Scratch Day @ MIT 2013. My Scratch class and I had a great time!

Thank you,
khanning
bobbybee
Scratcher
1000+ posts

Remote Sensors Protocol in Scratch 2.0

They're will be the extensions protocol, which might be able to be used as a RSC-replacement, tho it will be fairly difficult to use from what I'm noticing.

“Ooo, can I call you Señorita Bee?” ~Chibi-Matoran
khanning
Scratcher
34 posts

Remote Sensors Protocol in Scratch 2.0

Can you share any info on the extensions protocol?
FireNinjaGAME
Scratcher
100+ posts

Remote Sensors Protocol in Scratch 2.0

I never understood the “remote sensors” protocol…

Anyhow, most likely the Scratch Team is going to get rid of them, as they are putting emphasis on being friendly to new Scratchers in the community, who would most likely know nothing about them. I never got the hang of them, so I doubt other people would.

But maybe they will - who knows?

Moving on from Scratch, to much bigger things. It's gonna be one fun adventure.
bobbybee
Scratcher
1000+ posts

Remote Sensors Protocol in Scratch 2.0

khanning wrote:

Can you share any info on the extensions protocol?

Well, I'm not on the Scratch Team, but basically:

The real SensorBoards (Scratch Boards) use a socket proxy for communicating with 2.0. E.g., a sensor is changed, and then the data from the sensor is relayed through a TCP protocol.

They use a TCP/IP JSON-encoded Server from the proxies (2.0 acts as a client to the proxy)

You can do your own controlling via writing a server that mimics that program.

That's about as much as I know.

“Ooo, can I call you Señorita Bee?” ~Chibi-Matoran

Powered by DjangoBB