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

Store active HW status in HWServer #4803

Closed
Tracked by #4041
reyraa opened this issue Feb 13, 2023 · 0 comments
Closed
Tracked by #4041

Store active HW status in HWServer #4803

reyraa opened this issue Feb 13, 2023 · 0 comments

Comments

@reyraa
Copy link
Contributor

reyraa commented Feb 13, 2023

Description

At the moment we store the HWServer on a per device basis. But in practice we only consume the status of the active device. Since devices do not emit events when they change to standby status, two issues my occur

  • The status of inactive devices can fall our of sync
  • The status of devices can not be updated automatically.

Therefore we should resort to maintaining the status of the active device and providing the require facilities to update the status per request, e.g. from the React app.

Motivation

  • Store the status of the active device on HWServer
  • Remove the status from all devices
  • Provide required methods on HWManager to retrieve the active device status from HWServer.
  • Add unit test coverage
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Development

No branches or pull requests

3 participants