Remote & local servers should exchange status messages
arizzitano opened this issue · comments
The local server and remote server should always be aware of each other's statuses. That is, the local server should be alerted when a new connection has opened up. Likewise, when a user connects to the remote UI, it should provide some information about the status of the local server (e.g. "connecting...", "online", "offline"). Eventually we can use this event to do things like sleep the local server (close all the I/O pins) and wake it when a user connects. This will help save battery power!