I am running OH3.2 on Openhabian on a RaspberryPi 4.
I have a Reolink 511WA camera that is connected via the ipcamera binding. This used to work well under OH 3.1, but following the upgrade to OH 3.2 has stopped working. While the thing shows as online in the UI, the items/channels I have been using so far (mainly lastMotionType and cellMotionAlarm) remain NULL.
I have tested some other channels, but all the the motion detection related ones remain NULL. The Url channels, though, do receive values, namely the respective directories. I am currently not using any channels having to do with video / images.
Here’s the camera config:
UID: ipcamera:onvif:f2f25df670
label: Kamera Carport - ONVIF IP Camera
thingTypeUID: ipcamera:onvif
configuration:
mjpegOptions: -q:v 5 -r 2 -vf scale=640:-2 -update 1
ipAddress: 192.168.178.178
updateImageWhen: "0"
gifPreroll: 0
onvifPort: 8000
ffmpegLocation: /usr/bin/ffmpeg
ipWhitelist: DISABLE
mp4OutOptions: -c:v copy -c:a copy
pollTime: 1000
password: ******
port: 80
snapshotOptions: -an -vsync vfr -q:v 2 -update 1
ptzContinuous: false
onvifMediaProfile: 0
gifOutOptions: -r 2 -filter_complex
scale=-2:360:flags=lanczos,setpts=0.5*PTS,split[o1][o2];[o1]palettegen[p];[o2]fifo[o3];[o3][p]paletteuse
hlsOutOptions: -strict -2 -f lavfi -i aevalsrc=0 -acodec aac -vcodec copy
-hls_flags delete_segments -hls_time 2 -hls_list_size 4
username: ******
and here’s the items (all NULL):
String ReolinkCarportONVIFIPCameraLastMotionType "Last motion type" {channel="ipcamera:onvif:f2f25df670:lastMotionType"}
Dimmer ReolinkCarportONVIFIPCameraFfmpegMotionControl "Control ffmpeg motion alarm" {channel="ipcamera:onvif:f2f25df670:ffmpegMotionControl"}
Switch ReolinkCarportONVIFIPCameraFfmpegMotionAlarm "Ffmpeg motion alarm" {channel="ipcamera:onvif:f2f25df670:ffmpegMotionAlarm"}
Dimmer ReolinkCarportONVIFIPCameraThresholdAudioAlarm "Audio alarm threshold" {channel="ipcamera:onvif:f2f25df670:thresholdAudioAlarm"}
Switch ReolinkCarportONVIFIPCameraAudioAlarm "Audio alarm" {channel="ipcamera:onvif:f2f25df670:audioAlarm"}
Switch ReolinkCarportONVIFIPCameraExternalMotion "External motion" {channel="ipcamera:onvif:f2f25df670:externalMotion"}
Switch ReolinkCarportONVIFIPCameraMotionAlarm "Motion alarm" {channel="ipcamera:onvif:f2f25df670:motionAlarm"}
Switch ReolinkCarportONVIFIPCameraCellMotionAlarm "Cell motion alarm" {channel="ipcamera:onvif:f2f25df670:cellMotionAlarm"}
Switch ReolinkCarportONVIFIPCameraLineCrossingAlarm "Line crossing alarm" {channel="ipcamera:onvif:f2f25df670:lineCrossingAlarm"}
Switch ReolinkCarportONVIFIPCameraFieldDetectionAlarm "Field alarm" {channel="ipcamera:onvif:f2f25df670:fieldDetectionAlarm"}
Switch ReolinkCarportONVIFIPCameraFaceDetected "Face detected alarm" {channel="ipcamera:onvif:f2f25df670:faceDetected"}
Switch ReolinkCarportONVIFIPCameraTamperAlarm "Tamper alarm" {channel="ipcamera:onvif:f2f25df670:tamperAlarm"}
Switch ReolinkCarportONVIFIPCameraStorageAlarm "Storage alarm" {channel="ipcamera:onvif:f2f25df670:storageAlarm"}
Switch ReolinkCarportONVIFIPCameraSceneChangeAlarm "Scene change alarm" {channel="ipcamera:onvif:f2f25df670:sceneChangeAlarm"}
I have double-checked user name, password, onvif port, all correct. The camera is working fine; I have it linked via Synology Surveillance Station, as well, and that notices all events / alarms properly and starts recording as tasked.
I did try deleting the thing and re-creating, but no change.
I will post the TRACE level log in a second post, as I seem to have run into a character limit…
The log activity for the binding / camera alway ends with those two GET requests, after which nothing happens anymore with the thing. The items all remain NULL, even when triggering a motion alarm on the cam.
I did open the get’ed URL in a browser. This triggers an authentication request, but following authentication it does display a snapshot from the camera.
Wondering why the binding appears to top at that point. Authentication issues?
Also, why is there (two?) request for snapshots from the camera, when I am not using any items or anything else that would be requesting image / video from the camera.
Anyway, I am at a loss here, feel like I have tried everything that came to mind / I saw in the docs. Therefore, any help, any pointers would be greatly appreciated.