Go to file
2019-07-20 17:41:16 -07:00
diag move node stuff into a diagnostics folder - we won't use it 2019-07-20 17:41:16 -07:00
fauxmo add exception handling to the lights on/lights off action so script does not bail 2019-07-20 17:36:38 -07:00
.gitignore add a discovery program for wemos 2019-07-19 18:43:43 -07:00
LICENSE add license 2019-07-19 18:44:12 -07:00
README.md make DEBUG an environment variable 2019-07-20 17:35:25 -07:00

WeMo control

The plan:

  1. Use Fauxmo to create a virtual switch 'Movie Lights' recognized on the NAS at port 20000
  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