Scratch socket communication

Hi, I was able to use the Intel Movidus Neural Compute Stick with Scratch and the GrovePI using remote sensors functionality for one I am labeling as NCS; however, I see in the Scratch Controller window messages like:

GrovePi Scratch: Error <type ‘exceptions.ValueError’>
Rx: NCS
Ignoring ncs
Rx: Infer …
Ignoring infer …

The extra messages are from my python code to interface with the NCS.

Is there a way to change the verbosity of the Scratch Controller, so this isn’t shown. It’s distracting to first time coders.

Is there documentation on what messages the GrovePi uses over socket communications like interfacing with the PICam that I found? I would like to reuse code if it is already there.

The "Ignoring " comes from this line:

It means your broadcast has not been recognised as a valid Scratch command. If you change


so it reads en_debug=0 it will take care of the majority, if not all, of the messages.