A simple framework for creating SmartThings SmartApp's in Golang.
This is an experimental library, and should be treated as such.
- Install Go (https://github.com/moovweb/gvm)
- Install Glide (https://github.com/Masterminds/glide)
make get-depswill install dependencies via Glide.- symlink the
smartapp-go.ymlinto~/.smartapp-go/. i.e.
mkdir ~/.smartapp-go
ln -s $GOPATH/src/github.com/SmartThingsOSS/smartapp-go/smartapp-go.yml ~/.smartapp-go
After fetching dependencies examples can be run by issueing the following commands from project root directory:
go run examples/basic/main.gogo run examples/c2c-connector/main.go