This package lets you control various Orvibo products from node.js. It's a rewritten separation from my ninja-allone library, but with added RF support.
This library has been tested with an AllOne and two sockets. RF support should work, but is untested because I don't own any RF switches. There is no Kepler support (other than knowing when one is on the network) for the same reason.
- Learn and play back IR codes using the AllOne IR blaster
- Use the AllOne to emit RF to control RF light switches
- Turn WiFi sockets on and off
- Set up Orvibo devices without needing a smartphone
This library supports the S10 and S20 sockets, which is sold under a variety of names, including:
- Arlec PC180 (sold at Bunnings, Australia)
- Bauhn W2 (sold at Aldi Australia)
- Bayit Home Automation BH1810 at Home Depot and WalMart
- ON THE WAY, available on Amazon
- Orvibo on Aliexpress and also on Banggood
It also supports the AllOne, which is an IR / RF blaster. RF switch support is included, please see PROTOCOL.md for information
Support for the Kepler gas detector is coming soon, as I now have a Kepler
I'm looking for hardware donations. I have the Kepler, AllOne, S20 and RF switches already. If you have other Orvibo hardware you'd like to donate, please contact me using the address on my GitHub profile. Likewise, if you'd like to donate money to cover hardware and programming costs, I accept PayPal and Bitcoin. Just head to http://paypal.me/davidgrayPhotography for PayPal, or send me some delicious digital currency with Bitcoin: 34agreMVU8QeHu4cLLPkyw5EYdSKp6NqTV
I'd also love pull requests and forks. As I no longer use my Orvibo products with node.js, my time spent maintaining this package will be low, so by all means raise issues, pull, fork and do whatever you can to help out :)
npm install --save node-orvibo
examples/basic/index.js for a near-complete sample. Check PROTOCOL.md for protocol, but also check out this Pastebin for a more complete documentation: http://pastebin.com/TSK4Lu4Q
- README and PROTOCOL updated with information about the RF switches and basic info about Kepler's message format
- Basic RF example added to the examples/ folder
- Callbacks now implemented code-wide, though events are the best way to be notified
- Device names that are 16 bytes of "FF" are no longer considered valid names
- Basic timer support added. Querying a device now returns all the timers for a device, as a moment.js object for manipulation. You can also set timers, but only sockets have been implemented so far
- Countdown timer (read only) also implemented. When queried, a countdown timer is set using setTimeout() and an event emitted.
- You can now set up a device without the WiWo app.
- PROTOCOL.md updated. Still needs work, but is growing every Day
- New examples added, and "basic" example updated to emit IR AND RF
- Various bugfixes, plus new events added
- Add timer support for the AllOne
- Be able to set countdown timers instead of just reading them.
- Add Kepler support
- Go through and clean up / standardize events being emitted
- Test RF stuff
- Finish off protocol documentation
- Include emulator. Use the emulator from ninja-allone if you're desperate.
- Implement these functions:
- Rename device
- Set timezone
- Set time ("time since manufacture" field is the key)
- Look in to remote login / TCP connections