Vector241-Eric / ZBuildLights

ZWaveControl for build status lights
MIT License
1 stars 3 forks source link

Remove SystemStatusProvider #28

Closed Vector241-Eric closed 9 years ago

Vector241-Eric commented 9 years ago

Right now, this class reads the light status from the network. Now that we have the ability to read from CC, here is the flow that I want:

  1. A request is made to update the lights from current CC status
  2. The light state is persisted into data storage.
  3. The ZWave switches get reset based on the values just updated.
  4. Subsequent page views show the status that is stored in the model -- without hitting CC and without hitting the ZWave network.

Requests to update from CC will be initiated by changes in state from the CCTray or by an external windows service running a timer.

Vector241-Eric commented 9 years ago

Actually, this class's behavior is fine. Keeping it after further consideration.