cymplecy / sid

Scratch Interface Device (SID) - lets Scratch running on client computer control GPIO pins on Raspberry Pi
3 stars 3 forks source link

Networking #2

Open martin9115 opened 3 years ago

martin9115 commented 3 years ago

Hi, can scratch or blockly use networking library, in order to establish network topology (like sensor mesh topology) ?

cymplecy commented 3 years ago

I see you are very persistent :)

Blockly/Scratch usually need a helper program (Mine for ScratchGPIO is in Python) for establishing things like network topology.

I have implemented a simple MQTT client in ScratchGPIO for instance - I've not done one for Zigbee networking as I have no Zigbee devices

martin9115 commented 3 years ago

Can you give me more examples for this ''helper'' programs (especially the ones that can work with RPI) , so i can keep digging for my problem?

cymplecy commented 3 years ago

The simplest Python library for interfacing to Scratch 1.4 is https://github.com/pilliq/scratchpy.