Cross compiling Go for Winkhub
How I cross compiled Go to run on the Winkhub and installed a custom web app to control the lights locally.
TL;DR; Be sure to compile with Go 1.5 with the following settings:
GOOS=linux GOARCH=arm GOARM=5 go build .
How I cross compiled Go to run on the Winkhub and installed a custom web app to control the lights locally.
TL;DR; Be sure to compile with Go 1.5 with the following settings:
GOOS=linux GOARCH=arm GOARM=5 go build .
This post picks up where part 1 left off. Here is some of the troubleshooting I had to go through since following the instructions did not go smoothly for me.
How I liberated my Winkhub from the Cloud
TL;DR; I rooted my Winkhub over the UART connection and then wrote a small Go web service to allow me to turn my lights on and off from my phone.