plugorgau / eventstreamr

Single and multi room audio visual stream management.
GNU Affero General Public License v3.0
6 stars 12 forks source link

switch API needs to report when stations not available #43

Closed jason-nicholls closed 9 years ago

jason-nicholls commented 10 years ago

Switch API needs to return a status for all stations configured in the same room regardless if they are up or not. Not means potentially their network is down, the system is off, or the manager died for some reason.

A simple failure case is when an active station which has been reporting good status goes down (mgr dead, off, network down) then the status still shows all good.

Suggestion is to be able to make an API call to force a station to post it's status back to the switch. This can be used as a bit of a heartbeat, so we force it to post it's status every X seconds. If no response then manually change the status for that station to down everything.