Skip to content

nijisakai/sumorobot-interface

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sumorobot-interface

The SumoInterface resides here SumoInterface

Instructions

You can copy the whole repository and serve it from somewhere else. For setting up the nginx server with nchan check out the installation instructions here. Modify the /etc/nginx/nginx.conf to add below config for the nchan WebSocket server.

server {
    listen 80;
    server_name localhost;
    root /var/www;
    location ~ "^/p2p/([\w\d\-]+)/([\w\d\-]+)" {
        nchan_pubsub websocket;
        nchan_message_buffer_length 0;
        nchan_publisher_channel_id $1/$2;
        nchan_subscriber_channel_id $2/$1;
    }
}

Finally change the IP also in assets/js/main.js and for the SumoRobots either with adafruit-ampy or SumoManager.

Support

If you find our work useful, please consider donating : )
Donate using Liberapay

Credits

About

The SumoRobot programming interface

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages