Skip to content

Node-based monome grid app for pinging hosts

Notifications You must be signed in to change notification settings

robojack/monome_grid_pinga

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

monome grid pinga

Monome Grid 8x8 running pinga

This Node-based monome app pings a set of user defined hosts and will let you know when a host is unreachable. When a host is unreachable, the corresponding key will stay lit. You can press the key, lit or not, and it will open the corresponding host in your default browser.

how to use

After forking/cloning/downloading the repo, cd into the directory and install the Node dependencies.

# for Yarn (preferred)
$ yarn install

# for NPM
$ npm install

Now rename hosts.example.js to hosts.js and add the hosts that you want to ping. You can add as many hosts as your grid has keys.

You can adjust the size of your grid by finding and adjusting the following:

const sizeY = 8;
const sizeX = 8;

sizeY corresponds to the number of rows and sizeX corresponds to the number of columns. Make sure these numbers are not larger than the size of your grid.

You can also adjust the speed of the pings by adjusting:

let frequency = 50; // in milliseconds

Now you are ready to run pinga:

# for Yarn
$ yarn start

# for NPM
$ npm start

alternative sequencing

In the current version, pinga will ping your defined hosts randomly. If you want it to ping your hosts sequentially (i.e. in order), take a look at v1.0.0

dependencies


The name of this project was inspired by @rockbottomsimpsons on Facebook.

About

Node-based monome grid app for pinging hosts

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published