Close
0%
0%

PI scripting cluster

Open event-based platform for Raspberry PI cluster control

Similar projects worth following
This project aims at building a software stack for easy scripting on a cluster of Raspberry PIs, using an event-based distributed approach.

In general, it will be possible to define a chain of events and commands from one board to another, so a button in one pi could light a led in another with ease.

This will be a building block for more interesting concepts, such as connecting cross network and integrating with other softwares.

In a pseudo-code:

listen({fromNode: "pi0", event: "gpio_change",:gpio 2,:value 1},function(event){
sendCommand({toNode:"pi1",command: "light_led_1"});
});

listen({toNode: "pi1", command: "light_led_1"},function(event){
sendCommand({toNode:"pi1",command:"change_gpio",gpio:2,value:1})
});

The event, commands and scripts would be available every pi of the cluster and the change will reflect on all of them.

View all 2 project logs

  • 1
    Step 1

    Download the binary from https://github.com/diogok/esc/releases:

    wget https://github.com/projesc/esc/releases/download/0.0.1/esc-arm -O esc
  • 2
    Step 2

    Create your scripting folder:

    mkdir files
  • 3
    Step 3

    Start the server:

    ./esc -iface wlan

View all 5 instructions

Enjoy this project?

Share

Discussions

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates