Hi Skinah,
for me the warn become an error and often, I attach a part of my log.
my things file for camera:
Thing ipcamera:GROUPDISPLAY:OutsideCameras
[
POLL_CAMERA_MS=2000,
SERVER_PORT=54320,
FFMPEG_OUTPUT="/tmpfs/OutsideGroup/",
FIRST_CAM="GiardinoPost_Camera",
SECOND_CAM="Portico_Camera",
THIRD_CAM="Garage_Camera",
FORTH_CAM="TerrazzaCan_Camera",
FIFTH_CAM="Terrazza_Camera",
MOTION_CHANGES_ORDER=true
]
Thing ipcamera:HIKVISION:GiardinoPost_Camera "GiardinoPost_Camera" @ "Cameras"
[
IPADDRESS="192.168.178.64",
PORT=80,
SERVER_PORT=54300,
PASSWORD="MyPSW",
USERNAME="MyUsr",
POLL_CAMERA_MS=1000,
UPDATE_IMAGE=false,
IMAGE_UPDATE_EVENTS=1,
STREAM_URL_OVERRIDE="http://192.168.178.64:80/ISAPI/Streaming/channels/102/httpPreview",
GIF_PREROLL=2,
GIF_POSTROLL=5,
FFMPEG_OUTPUT="/tmpfs/GiardinoPost_Camera/",
FFMPEG_INPUT="rtsp://192.168.178.64:554/Streaming/channels/103",
IP_WHITELIST="DISABLE"
I stop here, but I configured 5 cameras.
log.pdf (51.7 KB)
Can be somethings directly in hikvision camera configuration?
Without “STREAM_URL_OVERRIDE” it dont work for me in Mjpeg, so I gived the URL and it fast connect when I open the page in BasicUI or mobile phone APP. showing me the video.
If I take off “STREAM_URL_OVERRIDE” I have the same issue.
If can help I can change log type and send you the file.
My item file:
Group gCameraEvent
Group gCameraGif
Switch GiardinoPost_Camera_CreateGif "Create animated GIF" (gCameraGif) { channel="ipcamera:HIKVISION:GiardinoPost_Camera:updateGif" }
String GiardinoPost_Camera_TextOverlay "Text to overlay" { channel="ipcamera:HIKVISION:GiardinoPost_Camera:textOverlay" }
String GiardinoPost_Camera_APIAccess "Access the API" { channel="ipcamera:HIKVISION:GiardinoPost_Camera:apiAccess" }
String GiardinoPost_Camera_MjpegStreamUrl "Mjpeg Stream" { channel="ipcamera:HIKVISION:GiardinoPost_Camera:streamUrl" }
String GiardinoPost_Camera_HlsStreamUrl "HLS Stream" { channel="ipcamera:HIKVISION:GiardinoPost_Camera:hlsUrl" }
String GiardinoPost_Camera_RTSPStreamUrl "RTSP Stream" { channel="ipcamera:HIKVISION:GiardinoPost_Camera:rtspUrl" }
Switch GiardinoPost_Camera_StartHLS "HLS on/off" { channel="ipcamera:HIKVISION:GiardinoPost_Camera:startStream" }
Switch GiardinoPost_Camera_EnableMotionAlarm "MotionAlarm on/off" { channel="ipcamera:HIKVISION:GiardinoPost_Camera:enableMotionAlarm" }
Switch GiardinoPost_Camera_MotionAlarm "Motion detected" (gCameraEvent) { channel="ipcamera:HIKVISION:GiardinoPost_Camera:motionAlarm" }
Switch GiardinoPost_Camera_EnableLineAlarm "LineAlarm on/off" { channel="ipcamera:HIKVISION:GiardinoPost_Camera:enableLineCrossingAlarm" }
Switch GiardinoPost_Camera_LineAlarm "Line Alarm detected" (gCameraEvent) { channel="ipcamera:HIKVISION:GiardinoPost_Camera:lineCrossingAlarm" }
DateTime GiardinoPost_Camera_LastMotionTime "Time motion was last detected [%1$ta %1$tR]"
Switch GiardinoPost_Camera_FieldDetectionAlarm "Intrusion detected" (gCameraEvent) { channel="ipcamera:HIKVISION:GiardinoPost_Camera:fieldDetectionAlarm" }
Switch GiardinoPost_Camera_EnableFieldDetectionAlarm "Allarme intrusione on/off" { channel="ipcamera:HIKVISION:GiardinoPost_Camera:enableFieldDetectionAlarm" }
String GiardinoPost_Camera_LastMotionType "Last Motion Type" { channel="ipcamera:HIKVISION:GiardinoPost_Camera:lastMotionType" }
Dimmer GiardinoPost_Camera_MotionControl "Motion Threshold [%d]" { channel="ipcamera:HIKVISION:GiardinoPost_Camera:controlMotionAlarm" }
String GiardinoPost_Camera_ImageUrl "Image Url" { channel="ipcamera:HIKVISION:GiardinoPost_Camera:imageUrl" }
Also here I stopped at the first camera, all the others has the same configuration.
I removed the LED Switch and Dimmer items because it seems to have no effect on the camera.
Currently all streams are functional.
All alarm switches work, the indication of the last alarm with the time rule to know at what time it occurred works.
But when I had enabled the creation of GIFs in the log I had the folder full alarm and another HTML alarm, but I both deleted them at the moment, just to focus on one problem at a time.
Can I do somethings to help you in helping me?
Jad