lirc_node
lirc_node copied to clipboard
Control LIRC from NodeJS
Before this change the callback for init wasn't actually being called after init finished. `lirc = require("lirc_node"); lirc.init(function(){ console.log(lirc.remotes); });` This wouldn't work before because lirc.remotes wouldn't be ready yet...
This fixing #11. When removing a listener, the callback gets replaced by null. But when looping through the callbacks, it tries to read the property throttle of null. As far...
Switching `irsend` to use promises instead of callbacks. This fixes https://github.com/alexbain/lirc_node/issues/8. Using `bluebird` for promises (mostly for `promisify()` method).
The init callback has been called directly after fetching the lirc remotes. The commands of these were not available then. Fixed by collecting the execs fetching the remote commands. Since...