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

BM030

Grundsätzlich funktioniert SSL, hatte auch bisher keine Probleme. Ich nutze das so schon gut ein halbes Jahr.

Trotzdem bekomme ich noch den Fehler:
of Camera WZKamera was not successful. Errorcode: 401 - Parameter invalid

Obwohl alles soweit wieder funktioniert.
Das Log ist durch das Verbose utopisch gross geworden ...
Macht es Sinn, daraus etwas zu Posten?

DS_Starter

#1771
Was war denn das Problem bezüglich SSL ?

Der Fehler "Errorcode: 401 - Parameter invalid" kommt eigentlich nur wenn der Aufruf

https://192.168.0.102:9901/webapi/entry.cgi?api="SYNO.SurveillanceStation.Camera"&method="GetLiveViewPath"&version=9&idList="3"&_sid="VmeC4CgYlARRg14A0MQN414008"

einen Parameter enthalten würde den die API nicht versteht. Er ist aber korrekt soweit ich das sehe.
Nützlich wäre ein Ausschnitt mit verbose 4 (nur in der Cam!) und einem "get ... scanVirgin" der so etwas enthält:


2019.10.16 21:18:13.666 4: CamHE1 - ####################################################
2019.10.16 21:18:13.667 4: CamHE1 - ###    start cam operation geteventlist         
2019.10.16 21:18:13.668 4: CamHE1 - ####################################################
2019.10.16 21:18:13.668 4: CamHE1 - --- Begin Function SSCam_getapisites nonblocking ---
2019.10.16 21:18:13.669 4: CamHE1 - Call-Out now: https://192.168.2.10:9901/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
2019.10.16 21:18:13.855 4: CamHE1 - Path of SYNO.API.Auth selected: auth.cgi
2019.10.16 21:18:13.856 4: CamHE1 - MaxVersion of SYNO.API.Auth selected: 6
2019.10.16 21:18:13.857 4: CamHE1 - Path of SYNO.SurveillanceStation.ExternalRecording selected: entry.cgi
2019.10.16 21:18:13.857 4: CamHE1 - MaxVersion of SYNO.SurveillanceStation.ExternalRecording selected: 3
2019.10.16 21:18:13.858 4: CamHE1 - Path of SYNO.SurveillanceStation.Camera selected: entry.cgi
2019.10.16 21:18:13.858 4: CamHE1 - MaxVersion of SYNO.SurveillanceStation.Camera: 9
2019.10.16 21:18:13.859 4: CamHE1 - Path of SYNO.SurveillanceStation.SnapShot selected: entry.cgi
2019.10.16 21:18:13.860 4: CamHE1 - MaxVersion of SYNO.SurveillanceStation.SnapShot: 1
2019.10.16 21:18:13.860 4: CamHE1 - Path of SYNO.SurveillanceStation.PTZ selected: entry.cgi
2019.10.16 21:18:13.861 4: CamHE1 - MaxVersion of SYNO.SurveillanceStation.PTZ: 5
2019.10.16 21:18:13.861 4: CamHE1 - Path of SYNO.SurveillanceStation.PTZ.Preset selected: entry.cgi
2019.10.16 21:18:13.862 4: CamHE1 - MaxVersion of SYNO.SurveillanceStation.PTZ.Preset: 1
2019.10.16 21:18:13.863 4: CamHE1 - Path of SYNO.SurveillanceStation.Info selected: entry.cgi
2019.10.16 21:18:13.863 4: CamHE1 - MaxVersion of SYNO.SurveillanceStation.Info: 7
2019.10.16 21:18:13.864 4: CamHE1 - Path of SYNO.SurveillanceStation.Camera.Event selected: entry.cgi
2019.10.16 21:18:13.864 4: CamHE1 - MaxVersion of SYNO.SurveillanceStation.Camera.Event: 1
2019.10.16 21:18:13.865 4: CamHE1 - Path of SYNO.SurveillanceStation.Event selected: entry.cgi
2019.10.16 21:18:13.866 4: CamHE1 - MaxVersion of SYNO.SurveillanceStation.Event: 5
2019.10.16 21:18:13.866 4: CamHE1 - Path of SYNO.SurveillanceStation.VideoStreaming selected: entry.cgi
2019.10.16 21:18:13.867 4: CamHE1 - MaxVersion of SYNO.SurveillanceStation.VideoStreaming: 1
2019.10.16 21:18:13.867 4: CamHE1 - Path of SYNO.SurveillanceStation.ExternalEvent selected: entry.cgi
2019.10.16 21:18:13.868 4: CamHE1 - MaxVersion of SYNO.SurveillanceStation.ExternalEvent selected: 1
2019.10.16 21:18:13.868 4: CamHE1 - Path of SYNO.SurveillanceStation.Stream selected: entry.cgi
2019.10.16 21:18:13.869 4: CamHE1 - MaxVersion of SYNO.SurveillanceStation.Stream selected: 1
2019.10.16 21:18:13.869 4: CamHE1 - Path of SYNO.SurveillanceStation.HomeMode selected: entry.cgi
2019.10.16 21:18:13.870 4: CamHE1 - MaxVersion of SYNO.SurveillanceStation.HomeMode selected: 1
2019.10.16 21:18:13.870 4: CamHE1 - Path of SYNO.SurveillanceStation.Log selected: entry.cgi
2019.10.16 21:18:13.871 4: CamHE1 - MaxVersion of SYNO.SurveillanceStation.Log selected: 3
2019.10.16 21:18:13.871 4: CamHE1 - Path of SYNO.SurveillanceStation.AudioStream selected: SurveillanceStation/audioStreaming.cgi
2019.10.16 21:18:13.871 4: CamHE1 - MaxVersion of SYNO.SurveillanceStation.AudioStream selected: 2
2019.10.16 21:18:13.872 4: CamHE1 - Path of SYNO.SurveillanceStation.VideoStream selected: SurveillanceStation/videoStreaming.cgi
2019.10.16 21:18:13.873 4: CamHE1 - MaxVersion of SYNO.SurveillanceStation.VideoStream selected: 1
2019.10.16 21:18:13.873 4: CamHE1 - Path of SYNO.SurveillanceStation.Recording selected: entry.cgi
2019.10.16 21:18:13.873 4: CamHE1 - MaxVersion of SYNO.SurveillanceStation.Recording selected: 6
2019.10.16 21:18:13.874 4: CamHE1 - installed SVS version is: 8266009
2019.10.16 21:18:13.874 4: CamHE1 - ------- Begin of adaption section -------
2019.10.16 21:18:13.875 4: CamHE1 - ------- End of adaption section -------
2019.10.16 21:18:13.875 4: CamHE1 - ------- Begin of simulation section -------
2019.10.16 21:18:13.875 4: CamHE1 - no simulations done !
2019.10.16 21:18:13.876 4: CamHE1 - ------- End of simulation section -------
2019.10.16 21:18:13.884 3: CamHE1 - no session ID found - get new one
2019.10.16 21:18:13.885 4: CamHE1 - --- Begin Function SSCam_login ---
....
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

BM030

Der Fehler ist mir nur aufgefallen, weil ich wegen des fehlenden Bildes ins log geschaut habe.
Anbei der Auszug aus dem Log mit verbose 4

Die Cam AZ.Kamera ist schon einige Zeit offline, da kommt der Fehler auch an der Konfig habe ich noch nichts geändert.


2019.10.17 06:23:08 2: SSCam.AZKamera - ERROR - Operation getStmUrlPath of Camera AZKamera was not successful. Errorcode: 401 - Parameter invalid
2019.10.17 06:23:23 4: SSCam.WZKamera - ####################################################
2019.10.17 06:23:23 4: SSCam.WZKamera - ###    start cam operation logout         
2019.10.17 06:23:23 4: SSCam.WZKamera - ####################################################
2019.10.17 06:23:23 4: SSCam.WZKamera - --- Begin Function SSCam_logout nonblocking ---
2019.10.17 06:23:23 4: SSCam.WZKamera - Streaming devs of type "lastsnap": SSCamSTRM.SSCam.WZKamera.lastsnap
2019.10.17 06:23:23 4: SSCam.WZKamera - Credentials read from RAM: test ********
2019.10.17 06:23:23 4: SSCam.WZKamera - URL-Call: http://192.168.0.102:9900/webapi/auth.cgi?api=SYNO.API.Auth&version=6&method=Logout&session=SurveillanceStation&_sid=qwmdUPm3NGUiM14A0MQN414008
2019.10.17 06:23:23 4: SSCam.WZKamera - JSON returned: $VAR1 = {
  'success' => bless( do{\(my $o = 1)}, 'JSON::PP::Boolean' )
};

2019.10.17 06:23:23 2: SSCam.WZKamera - Session of User "test" terminated - session ID "qwmdUPm3NGUiM14A0MQN414008" deleted
2019.10.17 06:23:24 4: SSCam.WZKamera - ####################################################
2019.10.17 06:23:24 4: SSCam.WZKamera - ###    start cam operation geteventlist         
2019.10.17 06:23:24 4: SSCam.WZKamera - ####################################################
2019.10.17 06:23:24 4: SSCam.WZKamera - --- Begin Function SSCam_getapisites nonblocking ---
2019.10.17 06:23:24 4: SSCam.WZKamera - Call-Out now: http://192.168.0.102:9900/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
2019.10.17 06:23:29 4: SSCam.WZKamera - Retrieval of Presets for WZKamera can't be executed - WZKamera is not a PTZ-Camera
2019.10.17 06:23:29 4: SSCam.WZKamera - Retrieval of Patrols for WZKamera can't be executed - WZKamera is not a PTZ-Camera
2019.10.17 06:23:29 4: SSCam.WZKamera - Path of SYNO.API.Auth selected: auth.cgi
2019.10.17 06:23:29 4: SSCam.WZKamera - MaxVersion of SYNO.API.Auth selected: 6
2019.10.17 06:23:29 4: SSCam.WZKamera - Path of SYNO.SurveillanceStation.ExternalRecording selected: entry.cgi
2019.10.17 06:23:29 4: SSCam.WZKamera - MaxVersion of SYNO.SurveillanceStation.ExternalRecording selected: 3
2019.10.17 06:23:29 4: SSCam.WZKamera - Path of SYNO.SurveillanceStation.Camera selected: entry.cgi
2019.10.17 06:23:29 4: SSCam.WZKamera - MaxVersion of SYNO.SurveillanceStation.Camera: 9
2019.10.17 06:23:29 4: SSCam.WZKamera - Path of SYNO.SurveillanceStation.SnapShot selected: entry.cgi
2019.10.17 06:23:29 4: SSCam.WZKamera - MaxVersion of SYNO.SurveillanceStation.SnapShot: 1
2019.10.17 06:23:29 4: SSCam.WZKamera - Path of SYNO.SurveillanceStation.PTZ selected: entry.cgi
2019.10.17 06:23:29 4: SSCam.WZKamera - MaxVersion of SYNO.SurveillanceStation.PTZ: 5
2019.10.17 06:23:29 4: SSCam.WZKamera - Path of SYNO.SurveillanceStation.PTZ.Preset selected: entry.cgi
2019.10.17 06:23:29 4: SSCam.WZKamera - MaxVersion of SYNO.SurveillanceStation.PTZ.Preset: 1
2019.10.17 06:23:29 4: SSCam.WZKamera - Path of SYNO.SurveillanceStation.Info selected: entry.cgi
2019.10.17 06:23:29 4: SSCam.WZKamera - MaxVersion of SYNO.SurveillanceStation.Info: 7
2019.10.17 06:23:29 4: SSCam.WZKamera - Path of SYNO.SurveillanceStation.Camera.Event selected: entry.cgi
2019.10.17 06:23:29 4: SSCam.WZKamera - MaxVersion of SYNO.SurveillanceStation.Camera.Event: 1
2019.10.17 06:23:29 4: SSCam.WZKamera - Path of SYNO.SurveillanceStation.Event selected: entry.cgi
2019.10.17 06:23:29 4: SSCam.WZKamera - MaxVersion of SYNO.SurveillanceStation.Event: 5
2019.10.17 06:23:29 4: SSCam.WZKamera - Path of SYNO.SurveillanceStation.VideoStreaming selected: entry.cgi
2019.10.17 06:23:29 4: SSCam.WZKamera - MaxVersion of SYNO.SurveillanceStation.VideoStreaming: 1
2019.10.17 06:23:29 4: SSCam.WZKamera - Path of SYNO.SurveillanceStation.ExternalEvent selected: entry.cgi
2019.10.17 06:23:29 4: SSCam.WZKamera - MaxVersion of SYNO.SurveillanceStation.ExternalEvent selected: 1
2019.10.17 06:23:29 4: SSCam.WZKamera - Path of SYNO.SurveillanceStation.Stream selected: entry.cgi
2019.10.17 06:23:29 4: SSCam.WZKamera - MaxVersion of SYNO.SurveillanceStation.Stream selected: 1
2019.10.17 06:23:29 4: SSCam.WZKamera - Path of SYNO.SurveillanceStation.HomeMode selected: entry.cgi
2019.10.17 06:23:29 4: SSCam.WZKamera - MaxVersion of SYNO.SurveillanceStation.HomeMode selected: 1
2019.10.17 06:23:29 4: SSCam.WZKamera - Path of SYNO.SurveillanceStation.Log selected: entry.cgi
2019.10.17 06:23:29 4: SSCam.WZKamera - MaxVersion of SYNO.SurveillanceStation.Log selected: 3
2019.10.17 06:23:29 4: SSCam.WZKamera - Path of SYNO.SurveillanceStation.AudioStream selected: SurveillanceStation/audioStreaming.cgi
2019.10.17 06:23:29 4: SSCam.WZKamera - MaxVersion of SYNO.SurveillanceStation.AudioStream selected: 2
2019.10.17 06:23:29 4: SSCam.WZKamera - Path of SYNO.SurveillanceStation.VideoStream selected: SurveillanceStation/videoStreaming.cgi
2019.10.17 06:23:29 4: SSCam.WZKamera - MaxVersion of SYNO.SurveillanceStation.VideoStream selected: 1
2019.10.17 06:23:29 4: SSCam.WZKamera - Path of SYNO.SurveillanceStation.Recording selected: entry.cgi
2019.10.17 06:23:29 4: SSCam.WZKamera - MaxVersion of SYNO.SurveillanceStation.Recording selected: 6
2019.10.17 06:23:29 4: SSCam.WZKamera - installed SVS version is: 8266009
2019.10.17 06:23:29 4: SSCam.WZKamera - ------- Begin of adaption section -------
2019.10.17 06:23:29 4: SSCam.WZKamera - ------- End of adaption section -------
2019.10.17 06:23:29 4: SSCam.WZKamera - ------- Begin of simulation section -------
2019.10.17 06:23:29 4: SSCam.WZKamera - no simulations done !
2019.10.17 06:23:29 4: SSCam.WZKamera - ------- End of simulation section -------
2019.10.17 06:23:29 3: SSCam.WZKamera - no session ID found - get new one
2019.10.17 06:23:29 4: SSCam.WZKamera - --- Begin Function SSCam_login ---
2019.10.17 06:23:29 4: SSCam.WZKamera - Credentials read from RAM: test ********
2019.10.17 06:23:29 4: SSCam.WZKamera - HTTP-Call login will be done with httptimeout-Value: 60 s
2019.10.17 06:23:29 4: SSCam.WZKamera - Call-Out now: http://192.168.0.102:9900/webapi/auth.cgi?api=SYNO.API.Auth&version=6&method=Login&account=test&passwd=*****&session=SurveillanceStation&format="sid"
2019.10.17 06:23:30 4: SSCam.WZKamera - Streaming devs of type "lastsnap": SSCamSTRM.SSCam.WZKamera.lastsnap
2019.10.17 06:23:30 4: SSCam.WZKamera - Login of User test successful - SID: r0uxFplvn7hoA14A0MQN414008
2019.10.17 06:23:30 4: SSCam.WZKamera - --- Begin Function SSCam_getcamid nonblocking ---
2019.10.17 06:23:30 4: SSCam.WZKamera - Call-Out now: http://192.168.0.102:9900/webapi/entry.cgi?api=SYNO.SurveillanceStation.Camera&version=9&method="List"&basic=true&streamInfo=true&camStm=0&_sid="r0uxFplvn7hoA14A0MQN414008"
2019.10.17 06:23:30 4: SSCam.WZKamera - Detection Camid successful - WZKamera ID: 3
2019.10.17 06:23:30 4: SSCam.WZKamera - --- Begin Function geteventlist nonblocking ---
2019.10.17 06:23:30 4: SSCam.WZKamera - Call-Out now: http://192.168.0.102:9900/webapi/entry.cgi?api="SYNO.SurveillanceStation.Event"&version="5"&method="List"&cameraIds="3"&locked="0"&blIncludeSnapshot="false"&reason=""&limit="2"&includeAllCam="false"&_sid="r0uxFplvn7hoA14A0MQN414008"
2019.10.17 06:23:30 4: SSCam.WZKamera - Query eventlist of camera WZKamera retrieved
2019.10.17 06:23:30 4: SSCam.WZKamera - ####################################################
2019.10.17 06:23:30 4: SSCam.WZKamera - ###    start cam operation getmotionenum         
2019.10.17 06:23:30 4: SSCam.WZKamera - ####################################################
2019.10.17 06:23:30 4: SSCam.WZKamera - --- Begin Function SSCam_getapisites nonblocking ---
2019.10.17 06:23:30 4: SSCam.WZKamera - API hashvalues already set - ignore get apisites
2019.10.17 06:23:30 4: SSCam.WZKamera - --- Begin Function SSCam_getcamid nonblocking ---
2019.10.17 06:23:30 4: SSCam.WZKamera - CAMID already set - ignore get camid
2019.10.17 06:23:30 4: SSCam.WZKamera - --- Begin Function getmotionenum nonblocking ---
2019.10.17 06:23:30 4: SSCam.WZKamera - Call-Out now: http://192.168.0.102:9900/webapi/entry.cgi?api="SYNO.SurveillanceStation.Camera.Event"&version="1"&method="MotionEnum"&camId="3"&_sid="r0uxFplvn7hoA14A0MQN414008"
2019.10.17 06:23:31 4: SSCam.WZKamera - Enumerate motion detection parameters of camera WZKamera retrieved
2019.10.17 06:23:31 4: SSCam.WZKamera - ####################################################
2019.10.17 06:23:31 4: SSCam.WZKamera - ###    start cam operation getsnapgallery         
2019.10.17 06:23:31 4: SSCam.WZKamera - ####################################################
2019.10.17 06:23:31 4: SSCam.WZKamera - --- Begin Function SSCam_getapisites nonblocking ---
2019.10.17 06:23:31 4: SSCam.WZKamera - API hashvalues already set - ignore get apisites
2019.10.17 06:23:31 4: SSCam.WZKamera - --- Begin Function SSCam_getcamid nonblocking ---
2019.10.17 06:23:31 4: SSCam.WZKamera - CAMID already set - ignore get camid
2019.10.17 06:23:31 4: SSCam.WZKamera - --- Begin Function getsnapgallery nonblocking ---
2019.10.17 06:23:31 4: SSCam.WZKamera - Call getsnapinfo with params: Image numbers => 3, Image size => 2, Keyword => WZKamera
2019.10.17 06:23:31 4: SSCam.WZKamera - Call-Out now: http://192.168.0.102:9900/webapi/entry.cgi?api="SYNO.SurveillanceStation.SnapShot"&method="List"&version="1"&keyword="WZKamera"&imgSize="2"&limit="3"&_sid="r0uxFplvn7hoA14A0MQN414008"
2019.10.17 06:23:31 4: SSCam.WZKamera - Snapinfos of camera WZKamera retrieved
2019.10.17 06:23:31 4: SSCam.WZKamera - Snap [0]: ID => 321, File => WZKamera-20191016-2044505150.jpg, Created => 16.10.2019 / 20:44:50
2019.10.17 06:23:31 4: SSCam.WZKamera - Snap [1]: ID => 320, File => WZKamera-20191016-1919400553.jpg, Created => 16.10.2019 / 19:19:40
2019.10.17 06:23:31 4: SSCam.WZKamera - Snap [2]: ID => 319, File => WZKamera-20191016-1205083512.jpg, Created => 16.10.2019 / 12:05:08
2019.10.17 06:23:31 4: SSCam.WZKamera - Snap '0' added to gallery hash: ID => 321, File => WZKamera-20191016-2044505150.jpg, Created => 16.10.2019 / 20:44:50
2019.10.17 06:23:31 4: SSCam.WZKamera - Snap '1' added to gallery hash: ID => 320, File => WZKamera-20191016-1919400553.jpg, Created => 16.10.2019 / 19:19:40
2019.10.17 06:23:31 4: SSCam.WZKamera - Snap '2' added to gallery hash: ID => 319, File => WZKamera-20191016-1205083512.jpg, Created => 16.10.2019 / 12:05:08
2019.10.17 06:23:31 4: SSCam.WZKamera - ####################################################
2019.10.17 06:23:31 4: SSCam.WZKamera - ###    start cam operation Getcapabilities         
2019.10.17 06:23:31 4: SSCam.WZKamera - ####################################################
2019.10.17 06:23:31 4: SSCam.WZKamera - --- Begin Function SSCam_getapisites nonblocking ---
2019.10.17 06:23:31 4: SSCam.WZKamera - API hashvalues already set - ignore get apisites
2019.10.17 06:23:31 4: SSCam.WZKamera - --- Begin Function SSCam_getcamid nonblocking ---
2019.10.17 06:23:31 4: SSCam.WZKamera - CAMID already set - ignore get camid
2019.10.17 06:23:31 4: SSCam.WZKamera - --- Begin Function Getcapabilities nonblocking ---
2019.10.17 06:23:31 4: SSCam.WZKamera - Call-Out now: http://192.168.0.102:9900/webapi/entry.cgi?api=SYNO.SurveillanceStation.Camera&version=8&method="GetCapabilityByCamId"&cameraId=3&_sid="r0uxFplvn7hoA14A0MQN414008"
2019.10.17 06:23:31 4: SSCam.WZKamera - Capabilities of camera WZKamera retrieved
2019.10.17 06:23:31 4: SSCam.WZKamera - Retrieval of Presets for WZKamera can't be executed - WZKamera is not a PTZ-Camera
2019.10.17 06:23:32 4: SSCam.WZKamera - Retrieval of Patrols for WZKamera can't be executed - WZKamera is not a PTZ-Camera
2019.10.17 06:23:32 4: SSCam.WZKamera - ####################################################
2019.10.17 06:23:32 4: SSCam.WZKamera - ###    start cam operation getsvsinfo         
2019.10.17 06:23:32 4: SSCam.WZKamera - ####################################################
2019.10.17 06:23:32 4: SSCam.WZKamera - --- Begin Function SSCam_getapisites nonblocking ---
2019.10.17 06:23:32 4: SSCam.WZKamera - API hashvalues already set - ignore get apisites
2019.10.17 06:23:32 4: SSCam.WZKamera - --- Begin Function SSCam_getcamid nonblocking ---
2019.10.17 06:23:32 4: SSCam.WZKamera - CAMID already set - ignore get camid
2019.10.17 06:23:32 4: SSCam.WZKamera - --- Begin Function getsvsinfo nonblocking ---
2019.10.17 06:23:32 4: SSCam.WZKamera - Call-Out now: http://192.168.0.102:9900/webapi/entry.cgi?api="SYNO.SurveillanceStation.Info"&version="7"&method="GetInfo"&_sid="r0uxFplvn7hoA14A0MQN414008"
2019.10.17 06:23:32 4: SSCam.WZKamera - Informations related to Surveillance Station retrieved
2019.10.17 06:23:32 4: SSCam.WZKamera - ####################################################
2019.10.17 06:23:32 4: SSCam.WZKamera - ###    start cam operation geteventlist         
2019.10.17 06:23:32 4: SSCam.WZKamera - ####################################################
2019.10.17 06:23:32 4: SSCam.WZKamera - --- Begin Function SSCam_getapisites nonblocking ---
2019.10.17 06:23:32 4: SSCam.WZKamera - API hashvalues already set - ignore get apisites
2019.10.17 06:23:32 4: SSCam.WZKamera - --- Begin Function SSCam_getcamid nonblocking ---
2019.10.17 06:23:32 4: SSCam.WZKamera - CAMID already set - ignore get camid
2019.10.17 06:23:32 4: SSCam.WZKamera - --- Begin Function geteventlist nonblocking ---
2019.10.17 06:23:32 4: SSCam.WZKamera - Call-Out now: http://192.168.0.102:9900/webapi/entry.cgi?api="SYNO.SurveillanceStation.Event"&version="5"&method="List"&cameraIds="3"&locked="0"&blIncludeSnapshot="false"&reason=""&limit="2"&includeAllCam="false"&_sid="r0uxFplvn7hoA14A0MQN414008"
2019.10.17 06:23:32 4: SSCam.WZKamera - Query eventlist of camera WZKamera retrieved
2019.10.17 06:23:33 4: SSCam.WZKamera - ####################################################
2019.10.17 06:23:33 4: SSCam.WZKamera - ###    start cam operation getstreamformat         
2019.10.17 06:23:33 4: SSCam.WZKamera - ####################################################
2019.10.17 06:23:33 4: SSCam.WZKamera - --- Begin Function SSCam_getapisites nonblocking ---
2019.10.17 06:23:33 4: SSCam.WZKamera - API hashvalues already set - ignore get apisites
2019.10.17 06:23:33 4: SSCam.WZKamera - --- Begin Function SSCam_getcamid nonblocking ---
2019.10.17 06:23:33 4: SSCam.WZKamera - CAMID already set - ignore get camid
2019.10.17 06:23:33 4: SSCam.WZKamera - --- Begin Function getstreamformat nonblocking ---
2019.10.17 06:23:33 4: SSCam.WZKamera - Call-Out now: http://192.168.0.102:9900/webapi/SurveillanceStation/videoStreaming.cgi?api=SYNO.SurveillanceStation.VideoStream&version=1&method=Query&cameraId=3&_sid=r0uxFplvn7hoA14A0MQN414008
2019.10.17 06:23:33 4: SSCam.WZKamera - ####################################################
2019.10.17 06:23:33 4: SSCam.WZKamera - ###    start cam operation getsnapinfo         
2019.10.17 06:23:33 4: SSCam.WZKamera - ####################################################
2019.10.17 06:23:33 4: SSCam.WZKamera - --- Begin Function SSCam_getapisites nonblocking ---
2019.10.17 06:23:33 4: SSCam.WZKamera - API hashvalues already set - ignore get apisites
2019.10.17 06:23:33 4: SSCam.WZKamera - --- Begin Function SSCam_getcamid nonblocking ---
2019.10.17 06:23:33 4: SSCam.WZKamera - CAMID already set - ignore get camid
2019.10.17 06:23:33 4: SSCam.WZKamera - --- Begin Function getsnapinfo nonblocking ---
2019.10.17 06:23:33 4: SSCam.WZKamera - Call getsnapinfo with params: Image numbers => 3, Image size => 2, Id => 321
2019.10.17 06:23:33 4: SSCam.WZKamera - Call-Out now: http://192.168.0.102:9900/webapi/entry.cgi?api="SYNO.SurveillanceStation.SnapShot"&method="List"&version="1"&idList="321"&imgSize="2"&limit="3"&_sid="r0uxFplvn7hoA14A0MQN414008"
2019.10.17 06:23:33 4: SSCam.WZKamera - Snapinfos of camera WZKamera retrieved
2019.10.17 06:23:33 4: SSCam.WZKamera - Snap [0]: ID => 321, File => WZKamera-20191016-2044505150.jpg, Created => 16.10.2019 / 20:44:50
2019.10.17 06:23:34 4: SSCam.WZKamera - ####################################################
2019.10.17 06:23:34 4: SSCam.WZKamera - ###    start cam operation getStmUrlPath         
2019.10.17 06:23:34 4: SSCam.WZKamera - ####################################################
2019.10.17 06:23:34 4: SSCam.WZKamera - --- Begin Function SSCam_getapisites nonblocking ---
2019.10.17 06:23:34 4: SSCam.WZKamera - API hashvalues already set - ignore get apisites
2019.10.17 06:23:34 4: SSCam.WZKamera - --- Begin Function SSCam_getcamid nonblocking ---
2019.10.17 06:23:34 4: SSCam.WZKamera - CAMID already set - ignore get camid
2019.10.17 06:23:34 4: SSCam.WZKamera - --- Begin Function getStmUrlPath nonblocking ---
2019.10.17 06:23:34 4: SSCam.WZKamera - Call-Out now: http://192.168.0.102:9900/webapi/entry.cgi?api="SYNO.SurveillanceStation.Camera"&method="GetLiveViewPath"&version=9&idList="3"&_sid="r0uxFplvn7hoA14A0MQN414008"
2019.10.17 06:23:34 2: SSCam.WZKamera - ERROR - Operation getStmUrlPath of Camera WZKamera was not successful. Errorcode: 401 - Parameter invalid
2019.10.17 06:23:35 4: SSCam.WZKamera - ####################################################
2019.10.17 06:23:35 4: SSCam.WZKamera - ###    start cam operation Getcaminfo         
2019.10.17 06:23:35 4: SSCam.WZKamera - ####################################################
2019.10.17 06:23:35 4: SSCam.WZKamera - --- Begin Function SSCam_getapisites nonblocking ---
2019.10.17 06:23:35 4: SSCam.WZKamera - API hashvalues already set - ignore get apisites
2019.10.17 06:23:35 4: SSCam.WZKamera - --- Begin Function SSCam_getcamid nonblocking ---
2019.10.17 06:23:35 4: SSCam.WZKamera - CAMID already set - ignore get camid
2019.10.17 06:23:35 4: SSCam.WZKamera - --- Begin Function Getcaminfo nonblocking ---
2019.10.17 06:23:35 4: SSCam.WZKamera - Call-Out now: http://192.168.0.102:9900/webapi/entry.cgi?api="SYNO.SurveillanceStation.Camera"&version="8"&method="GetInfo"&cameraIds="3"&deviceOutCap="true"&streamInfo="true"&ptz="true"&basic="true"&camAppInfo="true"&optimize="true"&fisheye="true"&eventDetection="true"&_sid="r0uxFplvn7hoA14A0MQN414008"
2019.10.17 06:23:35 4: SSCam.WZKamera - Informations of camera WZKamera retrieved

DS_Starter

Guten Morgen,

ich sehe keinerlei Problem bei dir, du hast exakt die gleichen SVS-Version wie ich in Einsatz.
Was passiert denn wenn du den Aufruf:


https://192.168.0.102:9901/webapi/entry.cgi?api="SYNO.SurveillanceStation.Camera"&method="GetLiveViewPath"&version=9&idList="3"&_sid="VmeC4CgYlARRg14A0MQN414008"


Im Browser aufrufst ? Bei mir kommt im Firefox die erwartete Antwort:

data
0
id 1
mjpegHttpPath "http://192.168.2.10:5000/webapi/entry.cgi?api=SYNO.SurveillanceStation.Stream.VideoStreaming&version=1&method=Stream&format=mjpeg&cameraId=1&StmKey=\"f1cf5eb6fee2929f198af6393b86b22d\""
multicstPath "rtsp://syno:f1cf5eb6fee2929f198af6393b86b22d@192.168.2.10:554/Sms=1.multicast"
mxpegHttpPath "http://192.168.2.10:5000/webapi/entry.cgi?api=SYNO.SurveillanceStation.Stream.VideoStreaming&version=1&method=Stream&format=mxpeg&cameraId=1&StmKey=\"f1cf5eb6fee2929f198af6393b86b22d\""
rtspOverHttpPath "rtsp://192.168.2.10:5000/webman/3rdparty/SurveillanceStation/cgi/rtsp.cgi?Sms=1.unicast&DsId=0&StmKey=f1cf5eb6fee2929f198af6393b86b22d"
rtspPath "rtsp://syno:f1cf5eb6fee2929f198af6393b86b22d@192.168.2.10:554/Sms=1.unicast"
success true


Als temp. Workaround probiere mal bitte das Attribut


simu_SVSversion = 7.2-xxxx


zu setzen. 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

BM030

Morgen


https://192.168.0.102:9901/webapi/entry.cgi?api=%22SYNO.SurveillanceStation.Camera%22&method=%22GetLiveViewPath%22&version=9&idList=%223%22&_sid=%22VmeC4CgYlARRg14A0MQN414008%22

Ergebnis:


error
code 401
success false


simu_SVSversion = 7.2-xxxx

gleicher Fehler ...

Einen Unterschied zu dir sehe ich, du gehst auf Port 5000

edit: Portänderung bringt auch nichts ...

DS_Starter

Der Port 5000 ist nur vom Testsystem .... probiere viel rum.  :)
Mittlerweile bin ich fast 100ig sicher, dass es ein Problem mit deiner SVS API gibt. Wenn selbst das simu Attribut nicht hilft.
Mit dem simu wird eine alte API Version ausgeführt. Der Call ist ist etwas anders, siehst du im Log mit v4.

Du kannst natürlich gerne auch nochmal eine ältere Version von Sscam testen. Kannst du dir aus deinem Backup Verzeichnis rausholen. Aber ich prophezeie das gleiche Verhalten.
Hast du denn in dem Zeitraum auch ein Update der SVS vorgenommen ?

Wenn wir nicht weiterkommen, würde ich eine Meldung im Synology Forum einstellen. Brauche dazu noch deinen DS Typ.

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

BM030

Hi,

ich werde am Wochenende das Modul neu einrichten. Mal sehen, ob das etwas ändert.

Das Backup einspielen hat wie von Dir bereits vermutet nichts gebracht.

DS_Starter

Hi,

das Modul im fhem neu einzurichten wird vermutlich auch nicht helfen. Probieren kannst du es natürlich.
Deine API antwortet auf den validen call nicht richtig.

Deswegen müsste man eher auf der Syno nach einer Lösung schauen. Die SVS neu installlieren würde mir einfallen oder eben auch einen call bei Synology aufmachen.

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

juemuc

Hallo Heiko,

ich benötige wieder einmal Deine Hilfe  8)
Ich habe meine Reolink-Kamera neu definiert, da ich diese nun direkt in der Synology als Modell auswählen konnte. Hierbei habe ich auch einen neuen Namen vergeben. NAchdem ich in Fhem alles eingerichtet hatte, habe ich für FTUI einfach nur den Namen für das data-device geändert. Leider bleibt die Seite leer. Es wird nur das Wort sscamstrm angezeigt. Das Streaming-Device habe ich auch schon zweimal neu erzeugt. Ich komme einfach nicht weiter. Hast Du eine Idee?

Zitat<li data-row="1" data-col="1" data-sizex="7" data-sizey="13">
               <div class="cell big">
                  <header>Reo Cam 1</header>
                  <div data-type="sscamstrm" data-device="SSCamSTRM.Reo_Cam.mjpeg">
                  </div>
               </div>
            </li>

Viele Grüße
Jürgen
3x Sonos Play 1, 1x Sonos Arc + Sub, 1 Sonos-One, 1x Sonos Playbar
FB6690 + FB7490 mit 4x Dect 200 und 3 Dect-ULE-Thermostate,  raspberry3B+, HM Funkmodul HM-MOD-RPI-PCB, HM Klingelsensor HM-Sen-DB-PCB, HM (IP) Fensterkontakte und  Amazon Echo Dot,  piVCCU, pi OS (bookworm).

DS_Starter

Hallo Jürgen,

ist denn der Name "SSCamSTRM.Reo_Cam.mjpeg" richtig ?
Der Stream wird im Streamingdevice aber wiedergegeben ?

Und mach mal bitte ein List vom Streamingsdevice.

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

juemuc

Hallo Heiko,

ja, in Fhem wird der Stream angezeigt. Den Namen habe ich mit Copy/Paste übernommen  ;D. Nicht wundern, aber im FTUI-List ist noch der alte Name.

Anbei das List

Internals:
   CFGFN     
   DEF        {SSCam_StreamDev('C1Pro','SSCamSTRM.C1Pro.mjpeg','mjpeg')}
   FUUID      5daa099f-f33f-ca7c-31ca-862a63af1b7e8c17
   FVERSION   49_SSCamSTRM.pm:v2.10.0-s20227/2019-09-22
   LINK       {SSCam_StreamDev('C1Pro','SSCamSTRM.C1Pro.mjpeg','mjpeg')}
   MODEL      mjpeg
   NAME       SSCamSTRM.C1Pro.mjpeg
   NR         4902
   PARENT     C1Pro
   STATE      initialized
   TYPE       SSCamSTRM
   HELPER:
     FW         WEB
     PACKAGE    main
     STREAM     <img src=https://jue0159.selfhost.info:8701/webapi/SurveillanceStation/videoStreaming.cgi?api=SYNO.SurveillanceStation.VideoStream&version=1&method=Stream&cameraId=4&format=mjpeg&_sid=vcxgXSIdfn4Gg1590MIN131003 >
     STREAMACTIVE 1
     VERSION    2.10.0
   READINGS:
     2019-10-18 20:51:11   state           initialized
Attributes:
   room       IP Kamera


Viele Grüße

Jürgen
3x Sonos Play 1, 1x Sonos Arc + Sub, 1 Sonos-One, 1x Sonos Playbar
FB6690 + FB7490 mit 4x Dect 200 und 3 Dect-ULE-Thermostate,  raspberry3B+, HM Funkmodul HM-MOD-RPI-PCB, HM Klingelsensor HM-Sen-DB-PCB, HM (IP) Fensterkontakte und  Amazon Echo Dot,  piVCCU, pi OS (bookworm).

DS_Starter

Das heißt im FTUI steht jetzt "<div data-type="sscamstrm" data-device="SSCamSTRM.C1Pro.mjpeg">", richtig ?

Hast du mal den Browser-Cache gelöscht ?

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

juemuc

#1782
Hier noch einmal der aktuelle Eintrag für die FTUI-Seite

<div data-type="sscamstrm" data-device="SSCamSTRM.C1Pro.mjpeg" >

Cache wurde auch gelöscht. Auch ein anderer Browser bringt keinen Erfolg.

Auf einem 2. Pi habe ich nun die alte und die neue Einstellung aktiv. Mit dem alten Namen geht es, mit dem neuen Namen nicht.

Viele Grüße
Jürgen
3x Sonos Play 1, 1x Sonos Arc + Sub, 1 Sonos-One, 1x Sonos Playbar
FB6690 + FB7490 mit 4x Dect 200 und 3 Dect-ULE-Thermostate,  raspberry3B+, HM Funkmodul HM-MOD-RPI-PCB, HM Klingelsensor HM-Sen-DB-PCB, HM (IP) Fensterkontakte und  Amazon Echo Dot,  piVCCU, pi OS (bookworm).

DS_Starter

Ich glaube ich weiß woran es liegt. Im SSCamSTRM.C1Pro.mjpeg fehlt das Reading parentState. Das ist aber
das Reading wird aber im FTUI Widget ausgewertet.
Weiß grad bloß nicht wieso bei dir das Reading nicht gesetzt ist.
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

juemuc

Die Antwort kann ich Dir geben  ;D

Ich hatte noch keine Aufnahme/Snapshot erstellt. Kaum hatte ich dies nachgeholt geht es.  8)

Ich wusste doch, dass Du helfen kannst.  ::) Danke

Viele Grüße
Jürgen
3x Sonos Play 1, 1x Sonos Arc + Sub, 1 Sonos-One, 1x Sonos Playbar
FB6690 + FB7490 mit 4x Dect 200 und 3 Dect-ULE-Thermostate,  raspberry3B+, HM Funkmodul HM-MOD-RPI-PCB, HM Klingelsensor HM-Sen-DB-PCB, HM (IP) Fensterkontakte und  Amazon Echo Dot,  piVCCU, pi OS (bookworm).