Ich habe mir eine Reolink RLC-510WA bestellt und habe soweit alles installiert UND, dachte ich mir auf jeden Fall, in Openhab eingebunden.
Also, IP-Camera-Binding war schon vorhanden, neues Thing angelegt und in den Einstellungen meine IP (10.1.1.93), Port 80, Benutzername admin und Passwort **************** eingegeben.
Nachdem das Thing OFFLINE blieb habe ich unter den advanced Einstellungen noch folgendes eingegeben
FFmpeg Input:
Code: Alles auswählen
rtsp://admin:**************@10.1.1.93:554/h264Preview_01_clear
für 1 Sekunde, denn danach sprang es auf OFFLINE, nach 1 Sekunde wieder auf ONLINE, usw.
Wenn das THING auf OFFLINE springt, dann steht darunter:
Code: Alles auswählen
COMMUNICATION_ERROR
FFmpeg Snapshots Stopped: Check your Camera can be reached.
Hier mal der Code vom thing:
Code: Alles auswählen
UID: ipcamera:onvif:6d20aeb068
label: ONVIF IP Camera
thingTypeUID: ipcamera:onvif
configuration:
mjpegOptions: -q:v 5 -r 2 -vf scale=640:-2 -update 1
ipAddress: 10.1.1.93
updateImageWhen: "1"
onvifPort: 80
gifPreroll: 0
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
username: admin
hlsOutOptions: -strict -2 -f lavfi -i aevalsrc=0 -acodec aac -vcodec copy
-hls_flags delete_segments -hls_time 2 -hls_list_size 4
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
ffmpegInput: rtsp://admin:*************@10.1.1.93:554/h264Preview_01_clear