sphere-lwrf

command module
v0.0.0-...-2b83602 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 22, 2015 License: MIT Imports: 14 Imported by: 0

README

sphere-LWRF

sphere-LWRF is a Ninja Sphere driver for the LightwaveRF products via an LightwaveFR wifilink. It needs the wifilink to transmit the 433Mhz signals.

All the files here are heavily based on the work of Grayda https://github.com/grayda/sphere-orvibo including his awesome debug script, and the stuff on the orivibo driver.

Feel free to fork, improve or add push requests, this driver is the first time I have used the go language, I doubt it will ever be my language of choice!

Installing

Installing from source:

  1. Ensure you're all set for cross-compiling to Linux / ARM and you've run go get to get all the necessary packages (for osx I found this useful )
  2. Follow these links to enable SSH on your Sphere, and create the necessary folders in the /data folder
  3. Create a sphere-LWRF folder and take ownership by running mkdir -p /data/sphere/user-autostart/drivers/sphere-LWRF && sudo chown -R ninja.ninja /data/sphere
  4. If you're on Linux (tested on Ubuntu 14.04 LTS) of OSX (tested on Yosemite), go to the sphere-LWRF src folder and run bash ./debug.sh. Select "deploy" from the menu. This bash script will build the binary and copy it to your Sphere.

The app should auto-start when your Sphere starts. Everytime it starts up it will get the latest config from the LightwaveRF website, and new devices can then be added by the sphere app in the usual way. When the app starts it will send a registration packet to the lightwaverf wifilink box, you need to press the <-Yes button on the wifilink box to register the sphere and allow the sphere to control the lightwaverf stuff.

Bugs / Known Issues

  • This is still an alpha version of the driver if it gets stuck anywhere, green reboot your Sphere

To-Do + Help wanted on

  • Support for more lightwaveRF products
  • Support for brightness levels and moods.
  • Use the proper sphere config mechanism for LWRF email and pin
  • Add support for the energy monitor.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL