fauxmo | ||
wemodiscovery | ||
.gitignore | ||
build | ||
go.mod | ||
go.sum | ||
LICENSE | ||
README.md | ||
wemo_control.sh | ||
wemo.go |
WeMo control
The plan:
- Use Fauxmo to create a virtual switch 'Movie Lights' recognized on the NAS at port 20000 on a MacVLAN IP address in the IP range 224-240
- Fauxmo will run in a docker file and be able to talk to another container, which runs our golang executable. Other container host will be movielights (added via add-host option)
- Our golang executable will then talk to the actual wemo switches
TODO:
Figure out how to discover the IP addresses. Options are:
- Do a discovery at startup
Do a discovery before an eventI don't like this one due to latency- Do a discovery after an event
- Do a discovery on a time basis
Discovery is currently via a node module. Would prefer to use go here