spacebrew-x10
Route X10 events via Spacebrew
CLI Utility Usage
The CLI utility is a quick and easy way to connect X10 devices to the public Spacebrew admin interface.
$ npm i -g spacebrew-x10$ spacebrew-x10 A 1 16 [_onOpen:Spacebrew] Spacebrew connection opened, client name is: X10 -> SpacebrewConnecting House Code A - Units 1 to 16Spacebrew Message: House Code A - 16 true X10 Message: ONSpacebrew Message: House Code A - 16 false X10 Message: OFF
Module Usage Example
var sbx10 = ; // Connect to Spacebrew, passing an onOpen handlersbx10;
And over in the Admin interface you'll see:
By default this will create a connection to the public Spacebrew Admin interface.
To connect to another server: sbx10.connect({ server: "http://localhost/" })
To use a different name and description: sbx10.connect({ name: "Bob", description: "Bob's X10 Disco" })
CHANGELOG
v0.0.1
- First release, woohoo!
TODO
LICENSE
MIT