This module lets you bridge the real world to Node.js. Connect to sensors, robots, turn things on and off, take remote measurements
About
This module lets you bridge the real world to Node.js. Connect to sensors, robots, turn things on and off, take remote measurements
Sample code
frontdoor.on("open", function() {
if (alarm.state == "on") {
alarm.sound();
hounds.release();
} else {
lights.switchOn();
voice.speak("Welcome home");
}
});
License
Creative Commons Attribution-ShareAlike 2.0 UK: England & Wales License.
Links