Unfortunatly none what so ever… Ever since I started to test the latest 3-4 versions of the binding, I have not been able to get anything to work stable.
First I ´ve struggled with my Dahua camera. It does not work the way its suppose to unless I manually feed it with an ffmpeg_input url. And still I cant get the HLS streaming to work.
Then I turned to my Reolink only to discovered having issues as well. HLS doestnt work, the alarm doesnt work (it worked partly the other day where I got the state about alarm (motion), but the switch did not turn to ON… pretty strange). HLS doesnt work either. I get no .TS files at all.
A coupple of weeks ago I had both cameras running on my Rpi4, I´d struggle with the Dahua untill I found the solution with feeding the ffmpeg_input url. Then it worked just fine as well. At that time the Reolink also worked just fine.
Then I moved the exact same setup to my Odroid C2, (its running Ubuntu and openhab 2.5.7). And they worked fine.
A coupple of days ago I took a big jump, moved my whole main system from my Rpi3B+ to the Odroid C2. Updated to latest openhab (2.5.8). Using the exact same ipcamera setup. And I´m back to issues with with HLS streaming on both cameras, and Reolink does not report any movement at all.
Yesterday I tried letting PaperUI scan for my cameras. It find both (ONVIF only). As far as I remember, it used to find the Dahua as a Dahua cam, right?. But no longer.
I have checked and doubble check the settings in the Dahua time settings. It´s syncronized to my PC clock, like like the Odroid C2 (I think, at least frontail log gives the exact same time, but I´m still very green as far as Ubuntu goes). Auto reboot is turned off, just to make sure this is not a reboot issue.
I have absolutly no idea whats going on… Moving around with different setup´s, and the exact same ipcamera setup, seems to give different results and issues.
Unless someone has some good advice how to troubbleshoot this, I´m stucked. And I have no idea what to do. I doubt these issues are related to the cameras. Its either Ubuntun, openhab (or the openhab setup), the ipcamera binding or ffmpeg. Maybe its a mix of several issues. And I do not have the knowlegde to troubbleshoot alone.
I use a Reolink RLC-410-5MP and Dahua IPC-HDW4631C-A.
As mentioned above atm motion detection isnt working on the Reolink. I has been working fine though.
This is my setup for the Reolink:
Thing ipcamera:ONVIF:Reolink "Pakeringsplads" @ "Cameras"
[
IPADDRESS="10.4.28.202",
USERNAME="openhab",
PASSWORD="secret_password",
PORT=80,
ONVIF_PORT=8000,
SERVER_PORT=54321,
IMAGE_UPDATE_EVENTS=1,
UPDATE_IMAGE=false,
// GIF_PREROLL=1,
GIF_POSTROLL=5,
IP_WHITELIST="DISABLE",
FFMPEG_LOCATION="/usr/bin/ffmpeg",
FFMPEG_GIF_OUT_ARGUMENTS="-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",
FFMPEG_OUTPUT="/etc/openhab2/html/cams/parkeringsplads/",
FFMPEG_HLS_OUT_ARGUMENTS="-strict -2 -f lavfi -i aevalsrc=0 -acodec aac -vcodec copy -hls_flags delete_segments -hls_time 1 -hls_allow_cache 0 -hls_list_size 3"
]