open-eio / Open-Pipe-Kit-Project

Documentation and planning for the Open Pipe Kit. An OPK is a device that pipes data from sensors to anywhere you want, no programming required.
8 stars 0 forks source link

yeobot - robot code generator #40

Open rjcorwin opened 9 years ago

rjcorwin commented 9 years ago
$ cd /Volumes/boot
$ yobot http://github.com/rjsteinert/yobot--temper1-to-phant-for-rpi

Statement: Pull temperate data form a temper1 sensor every {{number}} seconds and 
push it to a Phant stream where the URL is {{URL}} , the field name is {{field_name}}
the Public Key is {{public_key}} , and the Private Key is {{private_key}}.

number (60): 540
URL (http://data.sparkfun.com): 
field_name: temp
public_key: feid8fejf38ifj33fi8j
private_key: FE*f9ejfsdkj4sojli

Generating robot... Complete.

$ ls .
autorun.sh
rjcorwin commented 9 years ago

Yobot is ready to be taken for a spin. I still have a lot of error checking to do, extra options to add, and READMEs to write but the hello world is working with the following commands.

npm install -g yobot-cli
yobot -r git@github.com:rjsteinert/yobot-test.git
rjcorwin commented 9 years ago

Results of that cli example. screen shot 2015-05-20 at 10 50 40 am

rjcorwin commented 9 years ago

yobot is short and sweet but i do like the connotations yeobot brings.

yeoman: a man holding and cultivating a small landed estate; a freeholder.

I'm imagining a steam punk farmer robot. Rusty from SteamWorld Dig is the closest thing I've been able to find.

character_rusty

rjcorwin commented 9 years ago

two new yeobot generators:

rjcorwin commented 9 years ago

screen shot 2015-05-21 at 9 27 00 am

rjcorwin commented 9 years ago

::drool:: steampunk-r2d2-3

rjcorwin commented 9 years ago

Q. What is a Yeobot? A. A Yeobot is not a shiny robot from Star Wars Episode I, II, or III. It's definitely not a robot made by the Empire. It's a scrappy robot glued together using sweat and blood by the Rebel Alliance.