I cant find the cause. So I´m trying to narrow down the reason by changing different settings/stuff.
Yes, but doesnt solve the issue.
For almost any change I make, I clean cache/tmp and reboot. Simply to make sure I´m working on this from a clean setup.
I have checked, doubble checked and tripple checked all settings for typos… I have copy/pasted from your settings in the readme. I have done all I can do to limit typo mistakes as much as possible.
This is my settings right now:
Thing ipcamera:DAHUA:Frontdoor "Frontdoor" @ "Cameras"
[
IPADDRESS="10.4.28.194",
USERNAME="admin",
PASSWORD="password",
SERVER_PORT=50001,
ONVIF_PORT=80,
PORT=80,
GIF_POSTROLL=6,
IP_WHITELIST="DISABLE",
FFMPEG_OUTPUT="/etc/openhab2/html/cams/frontdoor/"
]
Please notice, this is an exact copy from your readme. I just changed the needed stuff.
And then I have changed the ffmpeg_output path, just in case I maybe had some permission issues. (afterwards I have tripple checked for permisions to the path).
I have changed the serverport from my original setup, just in case as well…
I have tried commenting out the Whitelist option, just in a desperate try to see if it changed anything. Thats when I noticed no difference.
Last night, after having tried this setup. I ended up resetting my cam to factory settings. I still end up with the same issue. And as mentioned in previous post, now animated GIF seems to respond with the same issue.
Its certanily not because I want to act disrespectfull, Matt. But I´m getting quite frustrated here, spending alot of time endning up at the very same… It takes a hell of a time to do this, because I clean cache/tmp each time, and waiting for openhab to start up again, sometimes even two restarts, even though this setup is only running with the ipcamera binding.
If this camera has beeing acting like this from the start, I wouldnt have worried this much. But because I know it has worked, things are simply getting very frustrated… I´m sorry if you find me harsh in anyway, thats not my intention at all… I´m just desperate for help/suggestiong as to where I have gone wrong.
Second - My Reolink cam worked fine, which just makes this even more frustrated…
I have two “far out” options left.
- Move everything to my Odroid C2 openhab setup (this setup is only running me Velbus devices)… Just to see if it makes any difference.
- Unpack me other Dahua camera (same model), connect it and see how it goes.
But I have a feeling I probably end up the same again
Regarding the camera and numbers of streams…I think there are something wrong, or I simply dont get it. It might be a camera issue though or a Onvif issue.
The camera has 3 streams. one Main, and two sub streams. But when I try to use ONVIF_MEDIA_PROFILE=2
, I get an error. And the binding default to use profile=0.
This may not have anything to do with my first issue as that issue happens even when I use ONVIF_MEDIA_PROFILE=0
. or profile 1.