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

Detect incorrect device ID instead of showing the thing as "Online" #34

Closed
coeing opened this issue Aug 11, 2020 · 1 comment · Fixed by #90
Closed

Detect incorrect device ID instead of showing the thing as "Online" #34

coeing opened this issue Aug 11, 2020 · 1 comment · Fixed by #90
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@coeing
Copy link
Collaborator

coeing commented Aug 11, 2020

Right now any configured thing that has a bridge is shown as "Online", even if the specified device id is invalid (any string possible). We should do a test request to the controller on initialization to check if a device with this ID exists. It might be enough to do this only when the device ID was first set or changed, but as a first step I would do it on each initialization. This can be implemented in the base class BoschSHCBridgeHandler

@coeing coeing added the enhancement New feature or request label Aug 11, 2020
@coeing coeing added this to the 2.0 milestone Aug 11, 2020
@coeing coeing self-assigned this Feb 16, 2021
coeing added a commit that referenced this issue Feb 16, 2021
@coeing coeing linked a pull request Feb 18, 2021 that will close this issue
coeing added a commit that referenced this issue Feb 22, 2021
coeing added a commit that referenced this issue Feb 22, 2021
coeing added a commit that referenced this issue Feb 22, 2021
coeing added a commit that referenced this issue Feb 23, 2021
coeing added a commit that referenced this issue Feb 23, 2021
coeing added a commit that referenced this issue Feb 23, 2021
@coeing
Copy link
Collaborator Author

coeing commented Feb 23, 2021

Fixed by #90

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

Successfully merging a pull request may close this issue.

1 participant