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

[ipcamera] Remove channels and stop checking IO status when camera does not support IO #16081

Merged
merged 1 commit into from Dec 23, 2023

Conversation

Skinah
Copy link
Contributor

@Skinah Skinah commented Dec 19, 2023

These changes fix an issue reported on the forum that created repeat warnings in the logs due to some Hikvision cameras giving a http 403 error when a call to an unsupported API was made:
https://community.openhab.org/t/ipcamera-binding-doing-erroneous-isapi-request-to-hikvision-camera/147345

It also removes channels from being seen by the user when the camera reports that it has no IO inputs and outputs.

Signed-off-by: Matthew Skinner matt@pcmus.com

@Skinah Skinah added the enhancement An enhancement or new feature for an existing add-on label Dec 19, 2023
Signed-off-by: Matthew Skinner <matt@pcmus.com>
@openhab-bot
Copy link
Collaborator

This pull request has been mentioned on openHAB Community. There might be relevant details there:

https://community.openhab.org/t/ipcamera-binding-doing-erroneous-isapi-request-to-hikvision-camera/147345/6

Copy link
Contributor

@lolodomo lolodomo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you

@lolodomo lolodomo merged commit cc0abdc into openhab:main Dec 23, 2023
3 checks passed
@lolodomo lolodomo added this to the 4.2 milestone Dec 23, 2023
@Skinah Skinah deleted the ipcamera branch December 27, 2023 00:47
austvik pushed a commit to austvik/openhab-addons that referenced this pull request Mar 27, 2024
openhab#16081)

Signed-off-by: Matthew Skinner <matt@pcmus.com>
Signed-off-by: Jørgen Austvik <jaustvik@acm.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement An enhancement or new feature for an existing add-on
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants