Gander upon cheatsheet http://lzone.de/cheat-sheet/Linux-Virtualization
~ $ # How to install the thing command?
~ $ npm install -g thing;
~ $ sudo apt-get install thing;
~ $ # Inpired by git...
~ $ mkdir FancyPipe;
~ $ cd FancyPipe;
~ $ thing init;
~ $ ls ./;
sensors/
reservoirs/
config
~ $ # Set up sensor
~ $ npm install thing-sensor-grove-dht11;
~ $ thing sensor grove-dht11;
~ $ # Set up the reservoir
~ $ npm install thing-reservoir-email;
~ $ thing reservoir email;
~ $ thing config email "[email protected]"
~ $ # Test our sensor package
~ $ thing poll
23.4
~ $ # Awesome... We have a reading from our sensor.
~ $ # Send a test message to an email address
~ $ thing send "45.5"
~ $ # Check your email for message that says "45.5".
~ $ # Now let's combine the two commands into sending a live reading
~ $ thing send `thing poll`;
~ $ # Hells yes. Now you have another email that says "45.5"
~ $ # Now we program this to happen every hour
~ $ thing interval "every hour";
~ $ thing start;
~ $ # Now every hour we get the results of grove-dht11 to our email
Should this syntax include the ability to view all running pipes? Following the Git model there is no way of doing that besides using a local client like SourceTree or a remote like Github that you can add all your repositories to.