fd-vue-webapp icon indicating copy to clipboard operation
fd-vue-webapp copied to clipboard

Client doesn't alert the user when Freedomotic is off

Open amenak77 opened this issue 5 years ago • 5 comments

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 avatar Sep 15 '18 17:09 amenak77

@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.

ubaldop avatar Sep 30 '18 17:09 ubaldop

@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?

amenak77 avatar Oct 01 '18 05:10 amenak77

What do you think to set up a websocket communicating with freedomotic server then?

ubaldop avatar Oct 01 '18 07:10 ubaldop

It would be a great solution; your mind is much less convoluted then mine :)

amenak77 avatar Oct 01 '18 11:10 amenak77

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

amenak77 avatar Oct 01 '18 17:10 amenak77