That is the reason. The config is a String which means you need to use quotes updateImageWhen="0" I forget if this was changed, but it now needs quotes. But since the option 0 is the default, you can delete this completely from the thing file.
Delete this as it no longer exists (readme may refer to it but that is wrong) See the section on how to record to mp4 and gif as that should clear it up. Also there is a bug if you want to record GIF, best to download the fixed jar from the download link in the first post of this thread.
String corrected (commented out as it’s the default)
After removing gifPostroll and even gifPreroll Still there this message that I post here in the complete text
I apologize by advance because I think the answer will be easy for experienced user but I installed the binding, everything works but I’m sure I did not used the best practices
I just want to have the streams on my sitemap nothing else
I configured 2 cameras in the things file
To display the video then I use the IP of the OpenHab (seems weird, no ?)
I tried with the IP of each camera but then I have no display of the camera so I suppose here the flow is captured by OpenHab then displayed from Openhab in the sitemap
So it works so I can live with that
The only error I have is a INFO msg on the openhab.log every 15 sec per camera (or less)
2020-09-24 00:37:20.607 [INFO ] [era.internal.handler.IpCameraHandler] - The alarm stream was not running for camera a.b.c.d, re-starting it now
2020-09-24 00:37:23.832 [INFO ] [era.internal.handler.IpCameraHandler] - The alarm stream was not running for camera e.f.g.h, re-starting it now
2020-09-24 00:37:31.839 [INFO ] [era.internal.handler.IpCameraHandler] - The alarm stream was not running for camera e.f.g.h, re-starting it now
2020-09-24 00:37:36.619 [INFO ] [era.internal.handler.IpCameraHandler] - The alarm stream was not running for camera a.b.c.d, re-starting it now
OK it’s just INFO msg but how can I suppress them ?
Group item=Camera icon=“camera” label=“Caméra” {
Video url=“http://xxx:xxx@(ip openhab):54324/ipcamera.mjpeg” encoding=“mjpeg”
Video url=“http://xxx:xxx@(ip openhab):8000/ipcamera.mjpeg” encoding=“mjpeg”
}
Is your camera a genuine Hikvision? If not, in your things file change the hikvision to onvif or to generic if your camera does not have ONVIF features.
@Brignoud
Either your login name or pass is wrong, or they may be an incompatibility that needs to be looked at. Start a new thread so all the info is easy to find. I have no idea what brand and model camera you have for example.
Also this line is interesting.
ffmpegInput=“rtsp://192.168.1.45:554/ISAPI/Streaming/channels/401”,
Usually that would select the 4th channel on a NVR, posting what details the setup is in a new thread is kind of important.
I know this has been asked a lot but this binding seems to be getting better and better with a lot of changes being made very quickly.
How do people have their reolink rlc 410 setup? Do you still use the http/rtsp or basic onvif?
Has anyone gotten the motion alarms to work thats mainly what I’m worried about?
Definitely wish i would have saw this binding before i bought reolink and gone with amcrest, only reason I didn’t is because of the displaying on chromecasts.
Then look at the log in TRACE mode.
Get the URL from the log and test it in any browser.
Contact support for the camera if it does not work in a browser.
Lastly you can work around it by setting the camera up as onvif thing type and it should still give u alarms via onvif methods instead of the API. You will loose all the API functions.
Hello, I’m bought Digoo dg-zxc40 camera but I don’t know how to setup using IP camera binding - onvif. Openhab found the camera,but it is all. Nothing works. The camera supports onvif and in Things is online. When I install Android app, no official app, but altarnative with onvif, camera works fine..
what happens when you try and open this URL in any browser?
http://openhab:4001/ipcamera.jpg
Replace openhab with the IP or hostname of the openhab server.
If you don’t see a picture when you open the above URL, then see my previous post and follow the advice to:
a) get some trace logs
b) open a new thread.
If you do see a picture, you just need to learn how to use sitemaps or habpanel as a picture will not show in PaperUI.
Try using an ADMIN level user, yours is set to ‘Media user’. I tried to use a lower rights once and it did not work. Also since the binding can turn off alarms it probably needs to be above a user that can only view the stream.