I would really like to see the app have the ability to control the Hub without requiring Internet access if on the same network. Otherwise if your Internet goes down, you lose all ability to control your Insteon devices via the app.
The other huge advantage will be a quicker app startup when your at home. No need to negotiate and transmit through the Insteon servers.
Ideas on implementation:
At startup have the app begin the Insteon server negotiation, at the same time create a second thread to ping the local insteon address. If the ping succeeds, then cancel the server contact thread and allow all App communications to continue with the local network. If the local connection ever fails, simply restart the server negotiations (ie you've left your house with the app open).
The other huge advantage will be a quicker app startup when your at home. No need to negotiate and transmit through the Insteon servers.
Ideas on implementation:
At startup have the app begin the Insteon server negotiation, at the same time create a second thread to ping the local insteon address. If the ping succeeds, then cancel the server contact thread and allow all App communications to continue with the local network. If the local connection ever fails, simply restart the server negotiations (ie you've left your house with the app open).
Comment