Have a short interval poller to make dummy requests to devices within the network, to keep track of which are on.  If I can connect to the Samsung TV, its on.  Thisll later be used to adjust the interface depending on state.