Discover Packages
github.com/icecreammatt/gopherwink
command
module
Version:
v0.0.0-...-8d6f0fd
Opens a new window with list of versions in this module.
Published: Nov 5, 2017
License: GPL-3.0
Opens a new window with license information.
Imports: 13
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
README
¶
GopherWink
This is a server that runs on the Wink Hub written in Go.
Currently the only supported devices are lights. This is a very early work in progress. This is not intended to be a replacement for OpenHAB. I just thought this would be fun to create.
Current Features
Add new lights
List lights
Turn lights on and off
Adjust brightness
Adjust Winkhub LED colors
GopherWink setup instructions
Building from source requirements
Install from source
export WINK_IP_ADDRESS=X.X.X.X
(replace the x's with the Wink IP)
git clone https://github.com/icecreammatt/gopherwink
git submodule init && git submodule update
cd frontend && npm install
make deploy
cd ..
make build
make install
Visit http://WINK_IP_ADDRESS/index.html
to access the controls.
Install release manually
Download the release from here
Extract the zip file
export WINK_IP_ADDRESS=X.X.X.X
(replace the x's with the Wink IP)
scp gopherwink root@$WINK_IP_ADDRESS:/root/gopherwink
scp S63gopherwink root@$WINK_IP_ADDRESS:/etc/init.d/S63gopherwink
scp index.html root@$WINK_IP_ADDRESS:/var/www
ssh root@$WINK_IP_ADDRESS "mkdir /var/www/assets
scp main.js root@$WINK_IP_ADDRESS:/var/www/assets/
ssh root@$WINK_IP_ADDRESS "/etc/init.d/S63gopherwink start"
Visit http://WINK_IP_ADDRESS/index.html
to access the controls.
Usage notes
New devices for now need to be connected using aprontest
or the WinkApp
Zigbee lights can be added by visiting http://WINK_IP_ADDRESS:5000/light/search
Bugs
Future Plans
Improved UI to add and remove lights
Improved UI to rename devices
Add Proper support for GoControl Door Window Sensors
Sleep timer to keep light on for late nights
Snooze timer to turn on light after x minutes
Automatic brightness based on the time of day
TLS Authentication for API
License
GPLv3
Screenshots
Expand ▾
Collapse ▴
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.