I’m only using the snapshotUrl feature on your binding connecting to the HIK Vision DVR. I’d like to simplify / reduce resources on the binding based on all the other options I have setup over the many years that I’m not using.
Can you tell me what options should NULL out to just do snapshotUrl ?
OH Thing Code:
UID: ipcamera:hikvision:91b4b89a9d
label: CAM - Front Door NEW
thingTypeUID: ipcamera:hikvision
configuration:
mjpegOptions: -q:v 5 -r 2 -vf scale=640:-2 -update 1
ipAddress: 192.168.0.11
updateImageWhen: "0"
gifPreroll: 0
onvifPort: 81
ffmpegLocation: /usr/bin/ffmpeg
ipWhitelist: DISABLE
mp4OutOptions: -c:v copy -c:a copy
pollTime: 2000
password: XXXXXXXXXX
port: 81
snapshotUrl: http://192.168.0.11:81/ISAPI/Streaming/channels/101/picture
nvrChannel: 1
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: openhab
channels:
- id: startStream
channelTypeUID: ipcamera:startStream
label: Start HLS Stream
description: Lower the delay to start casting the camera by creating the files
non stop in case they are needed.
configuration: {}
- id: pollImage
channelTypeUID: ipcamera:pollImage
label: Poll Image
description: This can be used to trigger snapshot updates when an external PIR,
button or other form of sensor turns this channel ON.
configuration: {}
- id: image
channelTypeUID: ipcamera:image
label: Image
description: Low frame rate image from your camera. Recommend this is NOT used
unless you have large pollTime.
configuration: {}
- id: recordingGif
channelTypeUID: ipcamera:recordingGif
label: GIF Recording
description: Indicates how long the recording will occur for and when the file
is created, the channel will change to 0 by itself.
configuration: {}
- id: gifHistory
channelTypeUID: ipcamera:gifHistory
label: GIF History
description: A history of the last GIFs created in a CSV formatted string.
configuration: {}
- id: gifHistoryLength
channelTypeUID: ipcamera:gifHistoryLength
label: GIF History Length
description: How many GIFs are stored in the history.
configuration: {}
- id: recordingMp4
channelTypeUID: ipcamera:recordingMp4
label: MP4 Recording
description: Indicates how long the recording will occur for and when the file
is created, the channel will change to 0 by itself.
configuration: {}
- id: mp4History
channelTypeUID: ipcamera:mp4History
label: MP4 History
description: A history of the last mp4 recordings created in a CSV formatted string.
configuration: {}
- id: mp4HistoryLength
channelTypeUID: ipcamera:mp4HistoryLength
label: MP4 History Length
description: How many mp4 recordings are stored in the history.
configuration: {}
- id: lastMotionType
channelTypeUID: ipcamera:lastMotionType
label: Last Motion Type
description: A string that contains the type of motion alarm that was last triggered.
configuration: {}
- id: lastEventData
channelTypeUID: ipcamera:lastEventData
label: Last Event Data
description: A string that contains detailed data on the last alarm that was triggered.
configuration: {}
- id: ffmpegMotionControl
channelTypeUID: ipcamera:ffmpegMotionControl
label: Control FFmpeg Motion Alarm
description: Enable/Disable the motion alarm and control the sensitivity.
configuration: {}
- id: ffmpegMotionAlarm
channelTypeUID: ipcamera:ffmpegMotionAlarm
label: FFmpeg Motion Alarm
description: FFmpeg has detected motion.
configuration: {}
- id: enableMotionAlarm
channelTypeUID: ipcamera:enableMotionAlarm
label: Enable Motion Alarm
description: By using this feature you can stop the camera from sending e-mails
when you are actually home.
configuration: {}
- id: motionAlarm
channelTypeUID: ipcamera:motionAlarm
label: Motion Alarm
description: Motion has been detected.
configuration: {}
- id: externalMotion
channelTypeUID: ipcamera:externalMotion
label: External Motion
description: Use any external sensor like a ZWave PIR sensor to flag that the
camera has motion in its field of view.
configuration: {}
- id: enablePirAlarm
channelTypeUID: ipcamera:enablePirAlarm
label: Enable PIR Alarm
description: Enable/Disable the PIR Alarm.
configuration: {}
- id: pirAlarm
channelTypeUID: ipcamera:pirAlarm
label: PIR Alarm
description: PIR motion has been detected.
configuration: {}
- id: enableLineCrossingAlarm
channelTypeUID: ipcamera:enableLineCrossingAlarm
label: Enable Line Crossing Alarm
description: By using this feature you can stop the camera from sending e-mails
when you are actually home.
configuration: {}
- id: lineCrossingAlarm
channelTypeUID: ipcamera:lineCrossingAlarm
label: Line Crossing Alarm
description: Motion has been detected.
configuration: {}
- id: itemLeft
channelTypeUID: ipcamera:itemLeft
label: Item Left Alarm
description: An item has been left.
configuration: {}
- id: itemTaken
channelTypeUID: ipcamera:itemTaken
label: Item Taken Alarm
description: An item may have been stolen.
configuration: {}
- id: faceDetected
channelTypeUID: ipcamera:faceDetected
label: Face Detected Alarm
description: A face has been detected.
configuration: {}
- id: enableFieldDetectionAlarm
channelTypeUID: ipcamera:enableFieldDetectionAlarm
label: Enable Field Alarm
description: By using this feature you can stop the camera from sending e-mails
when you are actually home.
configuration: {}
- id: fieldDetectionAlarm
channelTypeUID: ipcamera:fieldDetectionAlarm
label: Field Alarm
description: Intrusion has detected movement. AKA Field Detection Alarm.
configuration: {}
- id: enableAudioAlarm
channelTypeUID: ipcamera:enableAudioAlarm
label: Enable Audio Alarm
description: By using this feature you can stop the camera from sending e-mails
when you are having a party.
configuration: {}
- id: thresholdAudioAlarm
channelTypeUID: ipcamera:thresholdAudioAlarm
label: Audio Alarm Threshold
description: By moving this control you should be able to change how sensitive
the audio alarm is to soft or loud noises.
configuration: {}
- id: audioAlarm
channelTypeUID: ipcamera:audioAlarm
label: Audio Alarm
description: Audio has triggered an Alarm.
configuration: {}
- id: textOverlay
channelTypeUID: ipcamera:textOverlay
label: Text Overlay
description: Enter some text you wish to overlay on top of the cameras snapshot
and video streams.
configuration: {}
- id: gotoPreset
channelTypeUID: ipcamera:gotoPreset
label: Go To Preset
description: Move a P.T.Z camera to this ONVIF preset location.
configuration: {}
- id: mjpegUrl
channelTypeUID: ipcamera:mjpegUrl
label: MJPEG URL
description: A link you can use in openHAB/HABpanel to fetch a MJPEG video feed
from the camera.
configuration: {}
- id: rtspUrl
channelTypeUID: ipcamera:rtspUrl
label: RTSP URL
description: A link that the camera uses for RTSP.
configuration: {}
- id: imageUrl
channelTypeUID: ipcamera:imageUrl
label: Image URL
description: A link you can use to fetch a static image from the camera.
configuration: {}
- id: hlsUrl
channelTypeUID: ipcamera:hlsUrl
label: HLS URL
description: A link you can use in openHAB to cast video feeds.
configuration: {}
Best, Jay