49_SSCam: Fragen, Hinweise, Neuigkeiten und mehr rund um dieses Modul

Begonnen von DS_Starter, 14 Dezember 2015, 16:19:08

Vorheriges Thema - Nächstes Thema

DS_Starter

#1905
Morgen Bernd,

gerade bei mir gecheckt > klappt einwandfrei.

Führe bei dir bitte ein get scanVirgin aus. Wenn das dann immer noch nicht funktioniert verbose 4 für eine Cam  einschalten und nochmal scanVirgin ausführen.

Danach noch get stmUrlPath.
Es werden dann recht viele Logeinträge erstellt die du bitte uns mal postest.

LG,
Heiko
ESXi@NUC+Debian+MariaDB, PV: SMA, Victron MPII+Pylontech+CerboGX
Maintainer: SSCam, SSChatBot, SSCal, SSFile, DbLog/DbRep, Log2Syslog, SolarForecast,Watches, Dashboard, PylonLowVoltage
Kaffeekasse: https://www.paypal.me/HMaaz
Contrib: https://svn.fhem.de/trac/browser/trunk/fhem/contrib/DS_Starter

speridal

Hallo Heiko,

scanVirgin hat leider nicht geholfen. Verbose 4 ist gesetzt und hier ist der Output:

2020-03-05_12:19:29 svs_cam_vorne CamAudioType: G711
2020-03-05_12:19:29 svs_cam_vorne CamFirmware: 5.3.6
2020-03-05_12:19:29 svs_cam_vorne CamLiveMode: Liveview from DS
2020-03-05_12:19:29 svs_cam_vorne CamLiveFps: 20
2020-03-05_12:19:29 svs_cam_vorne CamLiveResolution: 2688x1520
2020-03-05_12:19:29 svs_cam_vorne CamLiveQuality: 5
2020-03-05_12:19:29 svs_cam_vorne CamLiveStreamNo: 1
2020-03-05_12:19:29 svs_cam_vorne CamExposureMode: Auto
2020-03-05_12:19:29 svs_cam_vorne CamExposureControl: Auto
2020-03-05_12:19:29 svs_cam_vorne CamModel: DS-2CD2142FWD-IWS
2020-03-05_12:19:29 svs_cam_vorne CamRecShare: surveillance
2020-03-05_12:19:29 svs_cam_vorne CamRecVolume: /volume1
2020-03-05_12:19:29 svs_cam_vorne CamIP: 192.168.231.104
2020-03-05_12:19:29 svs_cam_vorne CamVendor: HIKVISION
2020-03-05_12:19:29 svs_cam_vorne CamVideoType: H.264
2020-03-05_12:19:29 svs_cam_vorne CamPreRecTime: 5
2020-03-05_12:19:29 svs_cam_vorne CamPort: 80
2020-03-05_12:19:29 svs_cam_vorne CamblPresetSpeed: false
2020-03-05_12:19:29 svs_cam_vorne CamVideoMirror: false
2020-03-05_12:19:29 svs_cam_vorne CamVideoFlip: false
2020-03-05_12:19:29 svs_cam_vorne CamVideoRotate: true
2020-03-05_12:19:29 svs_cam_vorne CapPIR: false
2020-03-05_12:19:29 svs_cam_vorne Availability: enabled
2020-03-05_12:19:29 svs_cam_vorne DeviceType: Camera
2020-03-05_12:19:29 svs_cam_vorne LastUpdateTime: 2020-03-05 / 12:19:29
2020-03-05_12:19:29 svs_cam_vorne Record: Stop
2020-03-05_12:19:29 svs_cam_vorne UsedSpaceMB: 169.874
2020-03-05_12:19:29 svs_cam_vorne VideoFolder: /volume1/surveillance/HIKVorne
2020-03-05_12:19:29 svs_cam_vorne Errorcode: none
2020-03-05_12:19:29 svs_cam_vorne Error: none
2020-03-05_12:19:29 svs_cam_vorne LastSnapId: 5
2020-03-05_12:19:29 svs_cam_vorne LastSnapFilename: HIKVorne-20181012-1554088341.jpg
2020-03-05_12:19:29 svs_cam_vorne LastSnapTime: 2018-10-12 / 15:54:08
2020-03-05_12:19:29 svs_cam_vorne Errorcode: none
2020-03-05_12:19:29 svs_cam_vorne Error: none
2020-03-05_12:19:30 svs_cam_vorne Errorcode: 401
2020-03-05_12:19:30 svs_cam_vorne Error: Parameter invalid
2020-03-05_12:19:31 svs_cam_vorne CapPTZAutoFocus: false
2020-03-05_12:19:31 svs_cam_vorne CapAudioOut: true
2020-03-05_12:19:31 svs_cam_vorne CapChangeSpeed: false
2020-03-05_12:19:31 svs_cam_vorne CapPTZHome: false
2020-03-05_12:19:31 svs_cam_vorne CapPTZAbs: false
2020-03-05_12:19:31 svs_cam_vorne CapPTZDirections: 0
2020-03-05_12:19:31 svs_cam_vorne CapPTZFocus: false
2020-03-05_12:19:31 svs_cam_vorne CapPTZIris: false
2020-03-05_12:19:31 svs_cam_vorne CapPTZObjTracking: false
2020-03-05_12:19:31 svs_cam_vorne CapPTZPan: false
2020-03-05_12:19:31 svs_cam_vorne CapPTZPresetNumber: 0
2020-03-05_12:19:31 svs_cam_vorne CapPTZTilt: false
2020-03-05_12:19:31 svs_cam_vorne CapPTZZoom: false
2020-03-05_12:19:31 svs_cam_vorne Errorcode: none
2020-03-05_12:19:31 svs_cam_vorne Error: none
2020-03-05_12:19:32 svs_cam_vorne Errorcode: none
2020-03-05_12:19:32 svs_cam_vorne Error: none
2020-03-05_12:19:32 svs_cam_vorne CamStreamFormat: HLS
2020-03-05_12:20:01 svs_cam_vorne Errorcode: 401
2020-03-05_12:20:01 svs_cam_vorne Error: Parameter invalid

DS_Starter

Danke, ist aber noch nicht was ich brauche. Ich brauche einen Auszug aus dem Logfile nicht vom Eventmonitor.
Sieht etwa so aus ...


2020.03.05 10:54:06.948 4: CamCP1 - --- Begin Function SSCam_getapisites nonblocking ---
2020.03.05 10:54:06.949 4: CamCP1 - Call-Out now: http://192.168.2.10:5000/webapi/query.cgi?api=SYNO.API.Info&method=Query&version=1&query=SYNO.API.Auth,SYNO.SurveillanceStation.ExternalRecording,SYNO.SurveillanceStation.Camera,SYNO.SurveillanceStation.SnapShot,SYNO.SurveillanceStation.PTZ,SYNO.SurveillanceStation.PTZ.Preset,SYNO.SurveillanceStation.Info,SYNO.SurveillanceStation.Camera.Event,SYNO.SurveillanceStation.Event,SYNO.SurveillanceStation.VideoStreaming,SYNO.SurveillanceStation.ExternalEvent,SYNO.SurveillanceStation.Stream,SYNO.SurveillanceStation.HomeMode,SYNO.SurveillanceStation.Log,SYNO.SurveillanceStation.AudioStream,SYNO.SurveillanceStation.VideoStream,SYNO.SurveillanceStation.Recording
2020.03.05 10:54:12.115 4: CamCP1 - Path of SYNO.API.Auth selected: auth.cgi
2020.03.05 10:54:12.115 4: CamCP1 - MaxVersion of SYNO.API.Auth selected: 6
2020.03.05 10:54:12.116 4: CamCP1 - Path of SYNO.SurveillanceStation.ExternalRecording selected: entry.cgi
2020.03.05 10:54:12.116 4: CamCP1 - MaxVersion of SYNO.SurveillanceStation.ExternalRecording selected: 3
2020.03.05 10:54:12.117 4: CamCP1 - Path of SYNO.SurveillanceStation.Camera selected: entry.cgi
2020.03.05 10:54:12.117 4: CamCP1 - MaxVersion of SYNO.SurveillanceStation.Camera: 9
2020.03.05 10:54:12.118 4: CamCP1 - Path of SYNO.SurveillanceStation.SnapShot selected: entry.cgi
2020.03.05 10:54:12.118 4: CamCP1 - MaxVersion of SYNO.SurveillanceStation.SnapShot: 1
2020.03.05 10:54:12.119 4: CamCP1 - Path of SYNO.SurveillanceStation.PTZ selected: entry.cgi
2020.03.05 10:54:12.119 4: CamCP1 - MaxVersion of SYNO.SurveillanceStation.PTZ: 5
2020.03.05 10:54:12.119 4: CamCP1 - Path of SYNO.SurveillanceStation.PTZ.Preset selected: entry.cgi
2020.03.05 10:54:12.120 4: CamCP1 - MaxVersion of SYNO.SurveillanceStation.PTZ.Preset: 1
2020.03.05 10:54:12.120 4: CamCP1 - Path of SYNO.SurveillanceStation.Info selected: entry.cgi
2020.03.05 10:54:12.121 4: CamCP1 - MaxVersion of SYNO.SurveillanceStation.Info: 8
2020.03.05 10:54:12.121 4: CamCP1 - Path of SYNO.SurveillanceStation.Camera.Event selected: entry.cgi
2020.03.05 10:54:12.122 4: CamCP1 - MaxVersion of SYNO.SurveillanceStation.Camera.Event: 1
2020.03.05 10:54:12.122 4: CamCP1 - Path of SYNO.SurveillanceStation.Event selected: entry.cgi
2020.03.05 10:54:12.122 4: CamCP1 - MaxVersion of SYNO.SurveillanceStation.Event: 5
2020.03.05 10:54:12.123 4: CamCP1 - Path of SYNO.SurveillanceStation.VideoStreaming selected: entry.cgi
2020.03.05 10:54:12.123 4: CamCP1 - MaxVersion of SYNO.SurveillanceStation.VideoStreaming: 1
2020.03.05 10:54:12.123 4: CamCP1 - Path of SYNO.SurveillanceStation.ExternalEvent selected: entry.cgi
2020.03.05 10:54:12.124 4: CamCP1 - MaxVersion of SYNO.SurveillanceStation.ExternalEvent selected: 1
2020.03.05 10:54:12.124 4: CamCP1 - Path of SYNO.SurveillanceStation.Stream selected: entry.cgi
2020.03.05 10:54:12.124 4: CamCP1 - MaxVersion of SYNO.SurveillanceStation.Stream selected: 1
2020.03.05 10:54:12.125 4: CamCP1 - Path of SYNO.SurveillanceStation.HomeMode selected: entry.cgi
2020.03.05 10:54:12.126 4: CamCP1 - MaxVersion of SYNO.SurveillanceStation.HomeMode selected: 1
2020.03.05 10:54:12.126 4: CamCP1 - Path of SYNO.SurveillanceStation.Log selected: entry.cgi
2020.03.05 10:54:12.127 4: CamCP1 - MaxVersion of SYNO.SurveillanceStation.Log selected: 3
2020.03.05 10:54:12.127 4: CamCP1 - Path of SYNO.SurveillanceStation.AudioStream selected: SurveillanceStation/audioStreaming.cgi
2020.03.05 10:54:12.127 4: CamCP1 - MaxVersion of SYNO.SurveillanceStation.AudioStream selected: 2
2020.03.05 10:54:12.127 4: CamCP1 - Path of SYNO.SurveillanceStation.VideoStream selected: SurveillanceStation/videoStreaming.cgi
2020.03.05 10:54:12.128 4: CamCP1 - MaxVersion of SYNO.SurveillanceStation.VideoStream selected: 1
2020.03.05 10:54:12.128 4: CamCP1 - Path of SYNO.SurveillanceStation.Recording selected: entry.cgi
2020.03.05 10:54:12.128 4: CamCP1 - MaxVersion of SYNO.SurveillanceStation.Recording selected: 6
2020.03.05 10:54:12.129 4: CamCP1 - installed SVS version is: 8276222
2020.03.05 10:54:12.129 4: CamCP1 - ------- Begin of adaption section -------
2020.03.05 10:54:12.129 4: CamCP1 - ------- End of adaption section -------
2020.03.05 10:54:12.130 4: CamCP1 - ------- Begin of simulation section -------
2020.03.05 10:54:12.130 4: CamCP1 - no simulations done !
2020.03.05 10:54:12.130 4: CamCP1 - ------- End of simulation section -------
2020.03.05 10:54:12.136 3: CamCP1 - no session ID found - get new one
2020.03.05 10:54:12.137 4: CamCP1 - --- Begin Function SSCam_login ---
2020.03.05 10:54:12.137 4: CamCP1 - Credentials read from RAM: svsapispec ********
2020.03.05 10:54:12.138 4: CamCP1 - HTTP-Call login will be done with httptimeout-Value: 200 s
2020.03.05 10:54:12.138 4: CamCP1 - Call-Out now: http://192.168.2.10:5000/webapi/auth.cgi?api=SYNO.API.Auth&version=6&method=Login&account=svsapispec&passwd=*****&session=SurveillanceStation&format="sid"
ESXi@NUC+Debian+MariaDB, PV: SMA, Victron MPII+Pylontech+CerboGX
Maintainer: SSCam, SSChatBot, SSCal, SSFile, DbLog/DbRep, Log2Syslog, SolarForecast,Watches, Dashboard, PylonLowVoltage
Kaffeekasse: https://www.paypal.me/HMaaz
Contrib: https://svn.fhem.de/trac/browser/trunk/fhem/contrib/DS_Starter

speridal

Hmm, ich war der Meinung, dass im FileLog der Kamera alles drin wäre...

Hier erstmal get getStmUrlPath:
2020.03.05 15:21:49 4: svs_cam_vorne - Call-Out now: http://192.168.235.5:5000/webapi/entry.cgi?api="SYNO.SurveillanceStation.Camera"&method="GetLiveViewPath"&version=9&idList="4"&_sid="kaQ4QNhELz1iM16B0O6N166507"
2020.03.05 15:21:49 2: svs_cam_vorne - ERROR - Operation getStmUrlPath of Camera HIKVorne was not successful. Errorcode: 401 - Parameter invalid



Hier ist der komplette Output:

2020.03.05 15:21:34 4: svs_cam_vorne - ####################################################
2020.03.05 15:21:34 4: svs_cam_vorne - ###    start cam operation logout
2020.03.05 15:21:34 4: svs_cam_vorne - ####################################################
2020.03.05 15:21:34 4: svs_cam_vorne - --- Begin Function SSCam_logout nonblocking ---
2020.03.05 15:21:34 3: svs_cam_vorne - Polling of HIKVorne is deactivated
2020.03.05 15:21:34 4: svs_cam_vorne - Credentials read from RAM: admin ********
2020.03.05 15:21:34 4: svs_cam_vorne - URL-Call: http://192.168.235.5:5000/webapi/auth.cgi?api=SYNO.API.Auth&version=6&method=Logout&_sid=.jUTXJOFkj.Ek16B0O6N166507
2020.03.05 15:21:34 4: svs_cam_vorne - JSON returned: $VAR1 = {
          'success' => bless( do{\(my $o = 1)}, 'JSON::PP::Boolean' )
        };

2020.03.05 15:21:34 2: svs_cam_vorne - Session of User "admin" terminated - session ID ".jUTXJOFkj.Ek16B0O6N166507" deleted
2020.03.05 15:21:35 4: svs_cam_vorne - ####################################################
2020.03.05 15:21:35 4: svs_cam_vorne - ###    start cam operation geteventlist
2020.03.05 15:21:35 4: svs_cam_vorne - ####################################################
2020.03.05 15:21:35 4: svs_cam_vorne - --- Begin Function SSCam_getapisites nonblocking ---
2020.03.05 15:21:35 4: svs_cam_vorne - Call-Out now: http://192.168.235.5:5000/webapi/query.cgi?api=SYNO.API.Info&method=Query&version=1&query=SYNO.API.Auth,SYNO.SurveillanceStation.ExternalRecording,SYNO.SurveillanceStation.Camera,SYNO.SurveillanceStation.SnapShot,SYNO.SurveillanceStation.PTZ,SYNO.SurveillanceStation.PTZ.Preset,SYNO.SurveillanceStation.Info,SYNO.SurveillanceStation.Camera.Event,SYNO.SurveillanceStation.Event,SYNO.SurveillanceStation.VideoStreaming,SYNO.SurveillanceStation.ExternalEvent,SYNO.SurveillanceStation.Stream,SYNO.SurveillanceStation.HomeMode,SYNO.SurveillanceStation.Log,SYNO.SurveillanceStation.AudioStream,SYNO.SurveillanceStation.VideoStream,SYNO.SurveillanceStation.Recording
2020.03.05 15:21:35 4: svs_cam_vorne - Path of SYNO.API.Auth selected: auth.cgi
2020.03.05 15:21:35 4: svs_cam_vorne - MaxVersion of SYNO.API.Auth selected: 6
2020.03.05 15:21:35 4: svs_cam_vorne - Path of SYNO.SurveillanceStation.ExternalRecording selected: entry.cgi
2020.03.05 15:21:35 4: svs_cam_vorne - MaxVersion of SYNO.SurveillanceStation.ExternalRecording selected: 3
2020.03.05 15:21:35 4: svs_cam_vorne - Path of SYNO.SurveillanceStation.Camera selected: entry.cgi
2020.03.05 15:21:35 4: svs_cam_vorne - MaxVersion of SYNO.SurveillanceStation.Camera: 9
2020.03.05 15:21:35 4: svs_cam_vorne - Path of SYNO.SurveillanceStation.SnapShot selected: entry.cgi
2020.03.05 15:21:35 4: svs_cam_vorne - MaxVersion of SYNO.SurveillanceStation.SnapShot: 1
2020.03.05 15:21:35 4: svs_cam_vorne - Path of SYNO.SurveillanceStation.PTZ selected: entry.cgi
2020.03.05 15:21:35 4: svs_cam_vorne - MaxVersion of SYNO.SurveillanceStation.PTZ: 5
2020.03.05 15:21:35 4: svs_cam_vorne - Path of SYNO.SurveillanceStation.PTZ.Preset selected: entry.cgi
2020.03.05 15:21:35 4: svs_cam_vorne - MaxVersion of SYNO.SurveillanceStation.PTZ.Preset: 1
2020.03.05 15:21:35 4: svs_cam_vorne - Path of SYNO.SurveillanceStation.Info selected: entry.cgi
2020.03.05 15:21:35 4: svs_cam_vorne - MaxVersion of SYNO.SurveillanceStation.Info: 8
2020.03.05 15:21:35 4: svs_cam_vorne - Path of SYNO.SurveillanceStation.Camera.Event selected: entry.cgi
2020.03.05 15:21:35 4: svs_cam_vorne - MaxVersion of SYNO.SurveillanceStation.Camera.Event: 1
2020.03.05 15:21:35 4: svs_cam_vorne - Path of SYNO.SurveillanceStation.Event selected: entry.cgi
2020.03.05 15:21:35 4: svs_cam_vorne - MaxVersion of SYNO.SurveillanceStation.Event: 5
2020.03.05 15:21:35 4: svs_cam_vorne - Path of SYNO.SurveillanceStation.VideoStreaming selected: entry.cgi
2020.03.05 15:21:35 4: svs_cam_vorne - MaxVersion of SYNO.SurveillanceStation.VideoStreaming: 1
2020.03.05 15:21:35 4: svs_cam_vorne - Path of SYNO.SurveillanceStation.ExternalEvent selected: entry.cgi
2020.03.05 15:21:35 4: svs_cam_vorne - MaxVersion of SYNO.SurveillanceStation.ExternalEvent selected: 1
2020.03.05 15:21:35 4: svs_cam_vorne - Path of SYNO.SurveillanceStation.Stream selected: entry.cgi
2020.03.05 15:21:35 4: svs_cam_vorne - MaxVersion of SYNO.SurveillanceStation.Stream selected: 1
2020.03.05 15:21:35 4: svs_cam_vorne - Path of SYNO.SurveillanceStation.HomeMode selected: entry.cgi
2020.03.05 15:21:35 4: svs_cam_vorne - MaxVersion of SYNO.SurveillanceStation.HomeMode selected: 1
2020.03.05 15:21:35 4: svs_cam_vorne - Path of SYNO.SurveillanceStation.Log selected: entry.cgi
2020.03.05 15:21:35 4: svs_cam_vorne - MaxVersion of SYNO.SurveillanceStation.Log selected: 3
2020.03.05 15:21:35 4: svs_cam_vorne - Path of SYNO.SurveillanceStation.AudioStream selected: SurveillanceStation/audioStreaming.cgi
2020.03.05 15:21:35 4: svs_cam_vorne - MaxVersion of SYNO.SurveillanceStation.AudioStream selected: 2
2020.03.05 15:21:35 4: svs_cam_vorne - Path of SYNO.SurveillanceStation.VideoStream selected: SurveillanceStation/videoStreaming.cgi
2020.03.05 15:21:35 4: svs_cam_vorne - MaxVersion of SYNO.SurveillanceStation.VideoStream selected: 1
2020.03.05 15:21:35 4: svs_cam_vorne - Path of SYNO.SurveillanceStation.Recording selected: entry.cgi
2020.03.05 15:21:35 4: svs_cam_vorne - MaxVersion of SYNO.SurveillanceStation.Recording selected: 6
2020.03.05 15:21:35 4: svs_cam_vorne - installed SVS version is: 8276222
2020.03.05 15:21:35 4: svs_cam_vorne - ------- Begin of adaption section -------
2020.03.05 15:21:35 4: svs_cam_vorne - ------- End of adaption section -------
2020.03.05 15:21:35 4: svs_cam_vorne - ------- Begin of simulation section -------
2020.03.05 15:21:35 4: svs_cam_vorne - no simulations done !
2020.03.05 15:21:35 4: svs_cam_vorne - ------- End of simulation section -------
2020.03.05 15:21:35 3: svs_cam_vorne - no session ID found - get new one
2020.03.05 15:21:35 4: svs_cam_vorne - --- Begin Function SSCam_login ---
2020.03.05 15:21:35 4: svs_cam_vorne - Credentials read from RAM: admin ********
2020.03.05 15:21:35 4: svs_cam_vorne - HTTP-Call login will be done with httptimeout-Value: 60 s
2020.03.05 15:21:35 4: svs_cam_vorne - Call-Out now: http://192.168.235.5:5000/webapi/auth.cgi?api=SYNO.API.Auth&version=6&method=Login&account=admin&passwd=*****&format="sid"
2020.03.05 15:21:36 4: svs_cam_vorne - Retrieval of Presets for HIKVorne can't be executed - HIKVorne is not a PTZ-Camera
2020.03.05 15:21:36 4: svs_cam_vorne - Login of User admin successful - SID: kaQ4QNhELz1iM16B0O6N166507
2020.03.05 15:21:36 4: svs_cam_vorne - --- Begin Function SSCam_getcamid nonblocking ---
2020.03.05 15:21:36 4: svs_cam_vorne - Call-Out now: http://192.168.235.5:5000/webapi/entry.cgi?api=SYNO.SurveillanceStation.Camera&version=9&method="List"&basic=true&streamInfo=true&camStm=0&_sid="kaQ4QNhELz1iM16B0O6N166507"
2020.03.05 15:21:36 4: svs_cam_vorne - Retrieval of Patrols for HIKVorne can't be executed - HIKVorne is not a PTZ-Camera
2020.03.05 15:21:36 4: svs_cam_vorne - Detection Camid successful - HIKVorne ID: 4
2020.03.05 15:21:36 4: svs_cam_vorne - --- Begin Function geteventlist nonblocking ---
2020.03.05 15:21:36 4: svs_cam_vorne - Call-Out now: http://192.168.235.5:5000/webapi/entry.cgi?api="SYNO.SurveillanceStation.Event"&version="5"&method="List"&cameraIds="4"&locked="0"&blIncludeSnapshot="false"&reason=""&limit="2"&includeAllCam="false"&_sid="kaQ4QNhELz1iM16B0O6N166507"
2020.03.05 15:21:36 3: svs_cam_vorne - Query eventlist of camera HIKVorne retrieved
2020.03.05 15:21:36 4: svs_cam_vorne - ####################################################
2020.03.05 15:21:36 4: svs_cam_vorne - ###    start cam operation getStmUrlPath
2020.03.05 15:21:36 4: svs_cam_vorne - ####################################################
2020.03.05 15:21:36 4: svs_cam_vorne - --- Begin Function SSCam_getapisites nonblocking ---
2020.03.05 15:21:36 4: svs_cam_vorne - API hashvalues already set - ignore get apisites
2020.03.05 15:21:36 4: svs_cam_vorne - --- Begin Function SSCam_getcamid nonblocking ---
2020.03.05 15:21:36 4: svs_cam_vorne - CAMID already set - ignore get camid
2020.03.05 15:21:36 4: svs_cam_vorne - --- Begin Function getStmUrlPath nonblocking ---
2020.03.05 15:21:36 4: svs_cam_vorne - Call-Out now: http://192.168.235.5:5000/webapi/entry.cgi?api="SYNO.SurveillanceStation.Camera"&method="GetLiveViewPath"&version=9&idList="4"&_sid="kaQ4QNhELz1iM16B0O6N166507"
2020.03.05 15:21:36 2: svs_cam_vorne - ERROR - Operation getStmUrlPath of Camera HIKVorne was not successful. Errorcode: 401 - Parameter invalid
2020.03.05 15:21:37 4: svs_cam_vorne - ####################################################
2020.03.05 15:21:37 4: svs_cam_vorne - ###    start cam operation getmotionenum
2020.03.05 15:21:37 4: svs_cam_vorne - ####################################################
2020.03.05 15:21:37 4: svs_cam_vorne - --- Begin Function SSCam_getapisites nonblocking ---
2020.03.05 15:21:37 4: svs_cam_vorne - API hashvalues already set - ignore get apisites
2020.03.05 15:21:37 4: svs_cam_vorne - --- Begin Function SSCam_getcamid nonblocking ---
2020.03.05 15:21:37 4: svs_cam_vorne - CAMID already set - ignore get camid
2020.03.05 15:21:37 4: svs_cam_vorne - --- Begin Function getmotionenum nonblocking ---
2020.03.05 15:21:37 4: svs_cam_vorne - Call-Out now: http://192.168.235.5:5000/webapi/entry.cgi?api="SYNO.SurveillanceStation.Camera.Event"&version="1"&method="MotionEnum"&camId="4"&_sid="kaQ4QNhELz1iM16B0O6N166507"
2020.03.05 15:21:37 3: svs_cam_vorne - Enumerate motion detection parameters of camera HIKVorne retrieved
2020.03.05 15:21:37 4: svs_cam_vorne - ####################################################
2020.03.05 15:21:37 4: svs_cam_vorne - ###    start cam operation getsvsinfo
2020.03.05 15:21:37 4: svs_cam_vorne - ####################################################
2020.03.05 15:21:37 4: svs_cam_vorne - --- Begin Function SSCam_getapisites nonblocking ---
2020.03.05 15:21:37 4: svs_cam_vorne - API hashvalues already set - ignore get apisites
2020.03.05 15:21:37 4: svs_cam_vorne - --- Begin Function SSCam_getcamid nonblocking ---
2020.03.05 15:21:37 4: svs_cam_vorne - CAMID already set - ignore get camid
2020.03.05 15:21:37 4: svs_cam_vorne - --- Begin Function getsvsinfo nonblocking ---
2020.03.05 15:21:37 4: svs_cam_vorne - Call-Out now: http://192.168.235.5:5000/webapi/entry.cgi?api="SYNO.SurveillanceStation.Info"&version="8"&method="GetInfo"&_sid="kaQ4QNhELz1iM16B0O6N166507"
2020.03.05 15:21:37 3: svs_cam_vorne - Informations related to Surveillance Station retrieved
2020.03.05 15:21:37 4: svs_cam_vorne - ####################################################
2020.03.05 15:21:37 4: svs_cam_vorne - ###    start cam operation getsnapgallery
2020.03.05 15:21:37 4: svs_cam_vorne - ####################################################
2020.03.05 15:21:37 4: svs_cam_vorne - --- Begin Function SSCam_getapisites nonblocking ---
2020.03.05 15:21:37 4: svs_cam_vorne - API hashvalues already set - ignore get apisites
2020.03.05 15:21:37 4: svs_cam_vorne - --- Begin Function SSCam_getcamid nonblocking ---
2020.03.05 15:21:37 4: svs_cam_vorne - CAMID already set - ignore get camid
2020.03.05 15:21:37 4: svs_cam_vorne - --- Begin Function getsnapgallery nonblocking ---
2020.03.05 15:21:37 4: svs_cam_vorne - Call getsnapinfo with params: Image numbers => 1, Image size => 1, Keyword => HIKVorne
2020.03.05 15:21:37 4: svs_cam_vorne - Call-Out now: http://192.168.235.5:5000/webapi/entry.cgi?api="SYNO.SurveillanceStation.SnapShot"&method="List"&version="1"&keyword="HIKVorne"&imgSize="1"&limit="1"&_sid="kaQ4QNhELz1iM16B0O6N166507"
2020.03.05 15:21:38 3: svs_cam_vorne - Snapinfos of camera HIKVorne retrieved
2020.03.05 15:21:38 4: svs_cam_vorne - internal Cache mechanism is used
2020.03.05 15:21:38 4: svs_cam_vorne - Snap [0]: ID => 5, File => HIKVorne-20181012-1554088341.jpg, Created => 2018-10-12 / 15:54:08
2020.03.05 15:21:38 4: svs_cam_vorne - internal Cache mechanism is used
2020.03.05 15:21:38 4: svs_cam_vorne - internal Cache mechanism is used
2020.03.05 15:21:38 4: svs_cam_vorne - Snap '0' added to gallery hash: SN => 0, ID => 5, File => HIKVorne-20181012-1554088341.jpg, Created => 2018-10-12 / 15:54:08
2020.03.05 15:21:38 4: svs_cam_vorne - internal Cache mechanism is used
2020.03.05 15:21:38 4: svs_cam_vorne - internal Cache mechanism is used
2020.03.05 15:21:38 4: svs_cam_vorne - ####################################################
2020.03.05 15:21:38 4: svs_cam_vorne - ###    start cam operation getstreamformat
2020.03.05 15:21:38 4: svs_cam_vorne - ####################################################
2020.03.05 15:21:38 4: svs_cam_vorne - --- Begin Function SSCam_getapisites nonblocking ---
2020.03.05 15:21:38 4: svs_cam_vorne - API hashvalues already set - ignore get apisites
2020.03.05 15:21:38 4: svs_cam_vorne - --- Begin Function SSCam_getcamid nonblocking ---
2020.03.05 15:21:38 4: svs_cam_vorne - CAMID already set - ignore get camid
2020.03.05 15:21:38 4: svs_cam_vorne - --- Begin Function getstreamformat nonblocking ---
2020.03.05 15:21:38 4: svs_cam_vorne - Call-Out now: http://192.168.235.5:5000/webapi/SurveillanceStation/videoStreaming.cgi?api=SYNO.SurveillanceStation.VideoStream&version=1&method=Query&cameraId=4&_sid=kaQ4QNhELz1iM16B0O6N166507
2020.03.05 15:21:39 4: svs_cam_vorne - ####################################################
2020.03.05 15:21:39 4: svs_cam_vorne - ###    start cam operation Getcaminfo
2020.03.05 15:21:39 4: svs_cam_vorne - ####################################################
2020.03.05 15:21:39 4: svs_cam_vorne - --- Begin Function SSCam_getapisites nonblocking ---
2020.03.05 15:21:39 4: svs_cam_vorne - API hashvalues already set - ignore get apisites
2020.03.05 15:21:39 4: svs_cam_vorne - --- Begin Function SSCam_getcamid nonblocking ---
2020.03.05 15:21:39 4: svs_cam_vorne - CAMID already set - ignore get camid
2020.03.05 15:21:39 4: svs_cam_vorne - --- Begin Function Getcaminfo nonblocking ---
2020.03.05 15:21:39 4: svs_cam_vorne - Call-Out now: http://192.168.235.5:5000/webapi/entry.cgi?api="SYNO.SurveillanceStation.Camera"&version="8"&method="GetInfo"&cameraIds="4"&deviceOutCap="true"&streamInfo="true"&ptz="true"&basic="true"&camAppInfo="true"&optimize="true"&fisheye="true"&eventDetection="true"&_sid="kaQ4QNhELz1iM16B0O6N166507"
2020.03.05 15:21:39 3: svs_cam_vorne - Informations of camera HIKVorne retrieved
2020.03.05 15:21:39 4: svs_cam_vorne - ####################################################
2020.03.05 15:21:39 4: svs_cam_vorne - ###    start cam operation Getcapabilities
2020.03.05 15:21:39 4: svs_cam_vorne - ####################################################
2020.03.05 15:21:39 4: svs_cam_vorne - --- Begin Function SSCam_getapisites nonblocking ---
2020.03.05 15:21:39 4: svs_cam_vorne - API hashvalues already set - ignore get apisites
2020.03.05 15:21:39 4: svs_cam_vorne - --- Begin Function SSCam_getcamid nonblocking ---
2020.03.05 15:21:39 4: svs_cam_vorne - CAMID already set - ignore get camid
2020.03.05 15:21:39 4: svs_cam_vorne - --- Begin Function Getcapabilities nonblocking ---
2020.03.05 15:21:39 4: svs_cam_vorne - Call-Out now: http://192.168.235.5:5000/webapi/entry.cgi?api=SYNO.SurveillanceStation.Camera&version=8&method="GetCapabilityByCamId"&cameraId=4&_sid="kaQ4QNhELz1iM16B0O6N166507"
2020.03.05 15:21:40 3: svs_cam_vorne - Capabilities of camera HIKVorne retrieved
2020.03.05 15:21:49 4: svs_cam_vorne - ####################################################
2020.03.05 15:21:49 4: svs_cam_vorne - ###    start cam operation getStmUrlPath
2020.03.05 15:21:49 4: svs_cam_vorne - ####################################################
2020.03.05 15:21:49 4: svs_cam_vorne - --- Begin Function SSCam_getapisites nonblocking ---
2020.03.05 15:21:49 4: svs_cam_vorne - API hashvalues already set - ignore get apisites
2020.03.05 15:21:49 4: svs_cam_vorne - --- Begin Function SSCam_getcamid nonblocking ---
2020.03.05 15:21:49 4: svs_cam_vorne - CAMID already set - ignore get camid
2020.03.05 15:21:49 4: svs_cam_vorne - --- Begin Function getStmUrlPath nonblocking ---
2020.03.05 15:21:49 4: svs_cam_vorne - Call-Out now: http://192.168.235.5:5000/webapi/entry.cgi?api="SYNO.SurveillanceStation.Camera"&method="GetLiveViewPath"&version=9&idList="4"&_sid="kaQ4QNhELz1iM16B0O6N166507"
2020.03.05 15:21:49 2: svs_cam_vorne - ERROR - Operation getStmUrlPath of Camera HIKVorne was not successful. Errorcode: 401 - Parameter invalid

DS_Starter

Ja das ist es.
Auf den ersten Blick und Vergleich mit meiner Installation ist alles korrekt und identisch.
Setz dir mal das Attribut simu_SVSversion auf einen niedrigeren Wert, z.b. 8.1.5 oder weniger.
Wie sieht es dann aus ?
ESXi@NUC+Debian+MariaDB, PV: SMA, Victron MPII+Pylontech+CerboGX
Maintainer: SSCam, SSChatBot, SSCal, SSFile, DbLog/DbRep, Log2Syslog, SolarForecast,Watches, Dashboard, PylonLowVoltage
Kaffeekasse: https://www.paypal.me/HMaaz
Contrib: https://svn.fhem.de/trac/browser/trunk/fhem/contrib/DS_Starter

speridal

Hi,

das hilft leider auch nicht. Ich hab alle Versionen mal durchprobiert. Die Surveillance Station hab ich auch schon neu gestartet.

Gruß,
Bernd

DS_Starter

Das ist jetzt sehr merkwürdig. Hast du die ganze DS mal restartet ?
ESXi@NUC+Debian+MariaDB, PV: SMA, Victron MPII+Pylontech+CerboGX
Maintainer: SSCam, SSChatBot, SSCal, SSFile, DbLog/DbRep, Log2Syslog, SolarForecast,Watches, Dashboard, PylonLowVoltage
Kaffeekasse: https://www.paypal.me/HMaaz
Contrib: https://svn.fhem.de/trac/browser/trunk/fhem/contrib/DS_Starter

speridal

Hallo Heiko,

okay, hab die DS neu gestartet. Jetzt klappt es, nächstes Mal boote ich direkt neu. Sorry.

Vielen Dank für deine Hilfe.

Gruß,
Bernd

DS_Starter

ESXi@NUC+Debian+MariaDB, PV: SMA, Victron MPII+Pylontech+CerboGX
Maintainer: SSCam, SSChatBot, SSCal, SSFile, DbLog/DbRep, Log2Syslog, SolarForecast,Watches, Dashboard, PylonLowVoltage
Kaffeekasse: https://www.paypal.me/HMaaz
Contrib: https://svn.fhem.de/trac/browser/trunk/fhem/contrib/DS_Starter

nocomment

Hey DS_Starter,
super Modul, bekomme es nur nicht zum laufen.

Ich habe zwei Camera, beide Xiaomi IPCAMS, in SS eingerichtet.

Das Modul habe ich mit define SDS1 SSCam SVS 192.168.2.10 mit eingerichtet. Danach habe ich die Zugangsdaten gesetzt und autocreate ausgeführt.

Soweit so gut.
Die beiden Kamera wurden gefunden und angelegt.

Leider komme ich nun nicht weiter. Ich kann keine Snapshots erstellen oder ein Livebild oder irgendwas sehen oder steuern.

defmod SSCam.Home_Cam SSCam Home Cam 192.168.1.11 5000
attr SSCam.Home_Cam devStateIcon .*isable.*:set_off .*nap:li_wht_on
attr SSCam.Home_Cam httptimeout 20
attr SSCam.Home_Cam icon it_camera
attr SSCam.Home_Cam pollcaminfoall 210
attr SSCam.Home_Cam pollnologging 1
attr SSCam.Home_Cam room SSCam
attr SSCam.Home_Cam session DSM
attr SSCam.Home_Cam webCmd on:off:snap:enable:disable:runView:stopView

setstate SSCam.Home_Cam runView live_fw
setstate SSCam.Home_Cam 2020-03-13 16:33:33 Availability ???
setstate SSCam.Home_Cam 2020-03-13 16:43:49 CamStreamFormat no API
setstate SSCam.Home_Cam 2020-03-13 16:43:50 Error 5000://Cam:192.168.1.11/webapi/query.cgi?api=SYNO.API.Info&method=Query&version=1&query=SYNO.API.Auth,SYNO.SurveillanceStation.ExternalRecording,SYNO.SurveillanceStation.Camera,SYNO.SurveillanceStation.SnapShot,SYNO.SurveillanceStation.PTZ,SYNO.SurveillanceStation.PTZ.Preset,SYNO.SurveillanceStation.Info,SYNO.SurveillanceStation.Camera.Event,SYNO.SurveillanceStation.Event,SYNO.SurveillanceStation.VideoStreaming,SYNO.SurveillanceStation.ExternalEvent,SYNO.SurveillanceStation.Stream,SYNO.SurveillanceStation.HomeMode,SYNO.SurveillanceStation.Log,SYNO.SurveillanceStation.AudioStream,SYNO.SurveillanceStation.VideoStream,SYNO.SurveillanceStation.Recording: malformed or unsupported URL
setstate SSCam.Home_Cam 2020-03-13 16:43:48 PollState Active - next time: 16:47:18
setstate SSCam.Home_Cam 2020-03-13 16:33:58 compstate true
setstate SSCam.Home_Cam 2020-03-13 16:33:45 state runView live_fw



Aus dem Error werde ich nicht schlau.

DS_Starter

Deine Definition ist nicht richtig. Wenn ich deine Umgebung richtig deute, müsste aus

defmod SSCam.Home_Cam SSCam Home Cam 192.168.1.11 5000

das

defmod SSCam.Home_Cam SSCam Home 192.168.1.11 5000

werden. D.h. du nimmst einfach "Cam" aus der Definition.
Ist etwas merkwürdig. Ich habe die autoCreate Funktion bei mir gerade nochmal ausgeführt und kontrolliert dass sie ordnungsgemäß funktioniert.
Ändere es erstmal so und wenn alles funktioniert und du Lust verspürst zu checken warum das autocreate nicht wie vorgesehn funktioniert hat, kannst du die Cam wieder löschen und nochmal ausführen. Dann nochmal genau hier beschreiben was du genau gemacht hast.
Ich konnte es bei mir nicht nachvollziehen.

LG,
Heiko
ESXi@NUC+Debian+MariaDB, PV: SMA, Victron MPII+Pylontech+CerboGX
Maintainer: SSCam, SSChatBot, SSCal, SSFile, DbLog/DbRep, Log2Syslog, SolarForecast,Watches, Dashboard, PylonLowVoltage
Kaffeekasse: https://www.paypal.me/HMaaz
Contrib: https://svn.fhem.de/trac/browser/trunk/fhem/contrib/DS_Starter

nocomment

Danke für die schnelle Antwort!

Die Cam heißt bei SS "Home Cam"

habe es aber trotzdem geändert:

defmod SSCam.Home_Cam SSCam Home 192.168.1.11 5000
attr SSCam.Home_Cam devStateIcon .*isable.*:set_off .*nap:li_wht_on
attr SSCam.Home_Cam httptimeout 20
attr SSCam.Home_Cam icon it_camera
attr SSCam.Home_Cam pollcaminfoall 210
attr SSCam.Home_Cam pollnologging 1
attr SSCam.Home_Cam room SSCam
attr SSCam.Home_Cam session DSM
attr SSCam.Home_Cam webCmd on:off:snap:enable:disable:runView:stopView

setstate SSCam.Home_Cam off
setstate SSCam.Home_Cam 2020-03-13 17:21:18 Availability ???
setstate SSCam.Home_Cam 2020-03-13 17:18:53 CamStreamFormat no API
setstate SSCam.Home_Cam 2020-03-13 17:21:26 Error Camera(ID) not found in Surveillance Station
setstate SSCam.Home_Cam 2020-03-13 17:21:26 Errorcode none
setstate SSCam.Home_Cam 2020-03-13 17:21:18 PollState Inactive
setstate SSCam.Home_Cam 2020-03-13 17:19:37 compstate true
setstate SSCam.Home_Cam 2020-03-13 17:21:18 state off


DS_Starter

#1917
ZitatDie Cam heißt bei SS "Home Cam"
Naja, da haben wir es.  ;)
Die Kamera hat ein Leerzeichen im Namen.

In der Commandref zum Modul habe ich geschrieben:

ZitatKameraname    Kameraname wie er in der Synology Surveillance Station angegeben ist für Kamera-Device, "SVS" für SVS-Device. Leerzeichen im Namen sind nicht erlaubt.

Benenne deine Cam in der SVS einfach um, zum Beispiel in "Home_Cam". Das ist dann kein Problem mehr.

Grüße,
Heiko
ESXi@NUC+Debian+MariaDB, PV: SMA, Victron MPII+Pylontech+CerboGX
Maintainer: SSCam, SSChatBot, SSCal, SSFile, DbLog/DbRep, Log2Syslog, SolarForecast,Watches, Dashboard, PylonLowVoltage
Kaffeekasse: https://www.paypal.me/HMaaz
Contrib: https://svn.fhem.de/trac/browser/trunk/fhem/contrib/DS_Starter


Dracolein

Hi zusammen,

ich habe gestern die Netzwerkschnittstelle auf meinem Raspberry Pi (wo FHEM & Touch UI drauf läuft/dargestellt wird) gewechselt (von WLAN zu LAN).
Seit gestern abend habe ich sporadisch Darstellungsabbrüche in Touch UI bemerkt, im Logfile nachgeschaut und siehe da, Auszug:
Zitat
2020.03.16 14:21:49 2: SVSaufDS - error while requesting [url="http://192.168.178.10:9900/webapi/entry.cgi?api=SYNO.SurveillanceStation.HomeMode&method=GetInfo&version=1&_sid="***********""]http://192.168.178.10:9900/webapi/entry.cgi?api=SYNO.SurveillanceStation.HomeMode&method=GetInfo&version=1&_sid="***********"[/url] - 192.168.178.10: Verbindungsaufbau abgelehnt (111)
Hingegen läuft der zweite Livestream (genericStreamDevice) einwandfrei durch.

Woran kann obige Fehlermeldung denn nun liegen? Die IP-Adresse des Raspi habe ich auf die LAN-Schnittstelle übernommen, der einzig technische Unterschied nach "extern" ist eine andere Mac-Adresse der anderen Schnittstelle.
Raspberry Pi 4 mit FHEM; FTUI Dashboard auf Asus 15,6" VT168H Touchscreen; ZigBee mit ConBee2 USB-Stick; div. Shelly 2.5; integr. Gaszähler mit ESP8266 & ESPEasy;