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

Handle HTTP errors from the openHAB REST API #8

Open
pfink opened this issue May 10, 2018 · 1 comment
Open

Handle HTTP errors from the openHAB REST API #8

pfink opened this issue May 10, 2018 · 1 comment

Comments

@pfink
Copy link
Owner

pfink commented May 10, 2018

Sometimes, the openHAB REST API throws errors, those are currently not catched / handled by this application. The most likely error to handle would be 503 which is thrown when openHAB is overloaded handling the requests (which could easily happen if computing-intensive actions are triggered via the rotation wheel when not using sendFrequency).

@pfink
Copy link
Owner Author

pfink commented May 11, 2018

The basic implementation is done, now an error icon is shown if any exception occurs during event handling. Special topics:

  • schedule auto-retry after an HTTP 503 error occurred
  • show specific icons on standard cases (e.g.: TOGGLE on NULL state)
  • ...?

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

No branches or pull requests

1 participant