Go to file
2019-07-24 17:44:15 -07:00
fauxmo change urn to look more like a real Belkin device 2019-07-24 17:44:15 -07:00
wemodiscovery move scanning features into wemo golang package 2019-07-24 17:42:52 -07:00
.gitignore move scanning features into wemo golang package 2019-07-24 17:42:52 -07:00
build move scanning features into wemo golang package 2019-07-24 17:42:52 -07:00
go.mod move scanning features into wemo golang package 2019-07-24 17:42:52 -07:00
go.sum move scanning features into wemo golang package 2019-07-24 17:42:52 -07:00
LICENSE add license 2019-07-19 18:44:12 -07:00
README.md switch to port 20000/update readme 2019-07-24 08:48:46 -07:00
wemo.go move scanning features into wemo golang package 2019-07-24 17:42:52 -07:00

WeMo control

The plan:

  1. 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
  2. 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)
  3. 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 event I 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