PiJS - embedded Raspberry Pi apps, in JavaScript(meteor.com) |
PiJS - embedded Raspberry Pi apps, in JavaScript(meteor.com) |
1. How easy is it to set up the rasberryPi to send data to an existing Meteor app using PIJS?
2. Any chance you are speaking at Meteor Devshop 4?
var ddp = require('ddp').new({ 'host': 'yourapp.meteor.com', 'port': 80 }); ddp.connect(function() { ddp.call("a-method", [ params ] });
And I guess that's about it ;) You might want to add a setInterval() to make sure this gets run regularly.
2. Unfortunately I am out of the bay area for a few months. Will be back in september and would love to meet! Until then, we have hn comments ;)