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] Add white LED controls for Dahua and also Email and Push for Reolink with v20 command support #16144
Conversation
Signed-off-by: Matthew Skinner <matt@pcmus.com>
Signed-off-by: Matthew Skinner <matt@pcmus.com>
Signed-off-by: Matthew Skinner <matt@pcmus.com>
Signed-off-by: Matthew Skinner <matt@pcmus.com>
Signed-off-by: Matthew Skinner <matt@pcmus.com>
Signed-off-by: Matthew Skinner <matt@pcmus.com>
Signed-off-by: Matthew Skinner <matt@pcmus.com>
Signed-off-by: Matthew Skinner <matt@pcmus.com>
Signed-off-by: Matthew Skinner <matt@pcmus.com>
This pull request has been mentioned on openHAB Community. There might be relevant details there: |
Signed-off-by: Matthew Skinner <matt@pcmus.com>
Signed-off-by: Matthew Skinner <matt@pcmus.com>
Signed-off-by: Matthew Skinner <matt@pcmus.com>
Signed-off-by: Matthew Skinner <matt@pcmus.com>
Signed-off-by: Matthew Skinner <matt@pcmus.com>
Signed-off-by: Matthew Skinner <matt@pcmus.com>
Signed-off-by: Matthew Skinner <matt@pcmus.com>
Signed-off-by: Matthew Skinner <matt@pcmus.com>
Signed-off-by: Matthew Skinner <matt@pcmus.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, Some minor comments and a question
Edit: Could you also fix the two MemberNameCheck
warnings while you are at it? (alarm_state and dog_cat in ReolinkState.java)
...enhab.binding.ipcamera/src/main/java/org/openhab/binding/ipcamera/internal/DahuaHandler.java
Show resolved
Hide resolved
...hab.binding.ipcamera/src/main/java/org/openhab/binding/ipcamera/internal/ReolinkHandler.java
Outdated
Show resolved
Hide resolved
...hab.binding.ipcamera/src/main/java/org/openhab/binding/ipcamera/internal/ReolinkHandler.java
Outdated
Show resolved
Hide resolved
bundles/org.openhab.binding.ipcamera/src/main/resources/OH-INF/thing/thing-types.xml
Outdated
Show resolved
Hide resolved
bundles/org.openhab.binding.ipcamera/src/main/resources/OH-INF/thing/thing-types.xml
Outdated
Show resolved
Hide resolved
bundles/org.openhab.binding.ipcamera/src/main/resources/OH-INF/thing/thing-types.xml
Outdated
Show resolved
Hide resolved
Signed-off-by: Matthew Skinner <matt@pcmus.com>
…/thing/thing-types.xml Co-authored-by: lsiepel <leosiepel@gmail.com> Signed-off-by: Matthew Skinner <matt@pcmus.com>
…/thing/thing-types.xml Co-authored-by: lsiepel <leosiepel@gmail.com> Signed-off-by: Matthew Skinner <matt@pcmus.com>
…/thing/thing-types.xml Co-authored-by: lsiepel <leosiepel@gmail.com> Signed-off-by: Matthew Skinner <matt@pcmus.com>
…/binding/ipcamera/internal/ReolinkHandler.java Co-authored-by: lsiepel <leosiepel@gmail.com> Signed-off-by: Matthew Skinner <matt@pcmus.com>
Signed-off-by: Matthew Skinner <matt@pcmus.com>
Signed-off-by: Matthew Skinner <matt@pcmus.com>
Signed-off-by: Matthew Skinner <matt@pcmus.com>
Signed-off-by: Matthew Skinner <matt@pcmus.com>
Signed-off-by: Matthew Skinner <matt@pcmus.com>
Signed-off-by: Matthew Skinner <matt@pcmus.com>
Signed-off-by: Matthew Skinner <matt@pcmus.com>
Signed-off-by: Matthew Skinner <matt@pcmus.com>
@lsiepel Thank you for the review and help. All comments have been addressed, have spent 10+ hours testing these changes over four different cameras in different ways to set them up. Happy with it and needing a break :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, LGTM
@Skinah Minor suggestion; i would recommend to split future PR's into seperate bug and enhancements PR's. So they are easy to review, cherry pick and also mentioned seperately in the changelog. |
…or Reolink with v20 command support (openhab#16144) * New reolink channels * extra channel for Dahua. * Reolink NPE fix * Fix LED modes and auto. * Handle NVR channels for new channels * add nvr channels to Dahua. Signed-off-by: Matthew Skinner <matt@pcmus.com> Signed-off-by: Andras Uhrin <andras.uhrin@gmail.com>
…or Reolink with v20 command support (openhab#16144) * New reolink channels * extra channel for Dahua. * Reolink NPE fix * Fix LED modes and auto. * Handle NVR channels for new channels * add nvr channels to Dahua. Signed-off-by: Matthew Skinner <matt@pcmus.com> Signed-off-by: René Ulbricht <rene_ulbricht@outlook.com>
…or Reolink with v20 command support (openhab#16144) * New reolink channels * extra channel for Dahua. * Reolink NPE fix * Fix LED modes and auto. * Handle NVR channels for new channels * add nvr channels to Dahua. Signed-off-by: Matthew Skinner <matt@pcmus.com> Signed-off-by: Jørgen Austvik <jaustvik@acm.org>
This PR adds the following channels as requested by users in the linked issues:
Reolink:
enableEmail
enablePush
whiteLED
autoWhiteLED
Dahua:
whiteLED
autoWhiteLED
Additionally, the PR also adds:
isOnline
boolean causing newer Instar API cameras to keep fetching snapshots as it never completed connecting as intended.closes #15757
closes #15118