fd-vue-webapp
fd-vue-webapp copied to clipboard
Client doesn't alert the user when Freedomotic is off
If the client(s) is(are) running, and Freedomotic is somehow down, it doesn't notify it to the user and goes on without a server. The user couldn't be aware of this fact.
@amenak77 what's the proposed behavior here? Is there any probe available to check if freedomotic server is up and running? If so, we could check it periodically.
@P3trur0 the behavior could be the connection status. If connection is lost, there could be a try to automatically reconnect x times. Then we could presume that Freedomotic is off. A green/red light on GUI client could be the visual element tha signal connection status with RESTapi plugin and therefore with the framework. What do you think about? Suggestions?
What do you think to set up a websocket communicating with freedomotic server then?
It would be a great solution; your mind is much less convoluted then mine :)
Nevertheless it could be useful to have either server status or connection status monitoring two events: server on/off and connection to server on/off and so two gui client elements