Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Client doesn't alert the user when Freedomotic is off #160

Open
amenak77 opened this issue Sep 15, 2018 · 5 comments
Open

Client doesn't alert the user when Freedomotic is off #160

amenak77 opened this issue Sep 15, 2018 · 5 comments

Comments

@amenak77
Copy link

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.

@ubaldop
Copy link
Collaborator

ubaldop commented Sep 30, 2018

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

@amenak77
Copy link
Author

amenak77 commented Oct 1, 2018

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

@ubaldop
Copy link
Collaborator

ubaldop commented Oct 1, 2018

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

@amenak77
Copy link
Author

amenak77 commented Oct 1, 2018

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

@amenak77
Copy link
Author

amenak77 commented Oct 1, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants