CyBear-Jinni / cbj_app

📱 CyBear Jinni App is the app to control CyBear Jinni Hub 💡 remotely from your Android, IOS and Web Browser. If you have ever wondered "Is there an open-source project to make my own smart home?", This is part of one.
https://cybearjinni.com
GNU Affero General Public License v3.0
117 stars 140 forks source link

Explore better handleing of hub connection #622

Closed guyluz11 closed 10 months ago

guyluz11 commented 1 year ago

It looks like the last version of grpc have brought some new functionality that may help us improve the connection reliability to the hub

Screenshot_20221110-221400_Firefox

The current way of connecting try to handle a lot of different cases and the code can be improved, even more so with the last grpc update.

We aspire for the app and the hub to keep an open stream between the two all the time. There are some cases that making that hard for us.

The app should handle the following cases

guyluz11 commented 10 months ago

Dropping for now Hub connection in favor of app as a hub