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

erdnar

Verflixt und zugenäht ... so einfach.
Naja, wer lesen kann.
Vielen Dank u. schönes Restwochenende
Erdnar

pflock_y

Guten morgen zusammen,

bei mir im log tauchen neuerdings diese Fehlermeldungen auf:


SSCam.Garten - error while requesting http://192.168.178.xx:5000/webapi/SurveillanceStation/videoStreaming.cgi?api=SYNO.SurveillanceStation.VideoStream&version=1&method=Query&cameraId=3&_sid=wVDhTpkxWsngXD40TJX78S5yBu63iGnL-pjvYk5A-bzjQ - http://192.168.178.xx:5000/webapi/SurveillanceStation/videoStreaming.cgi?api=SYNO.SurveillanceStation.VideoStream&version=1&method=Query&cameraId=3&_sid=wV15D_DDXDd3tcjlbZXl3egk_b2xi664YAbzjQ: empty answer received
SSCam.Emma - error while requesting http://192.168.178.xx:5000/webapi/SurveillanceStation/videoStreaming.cgi?api=SYNO.SurveillanceStation.VideoStream&version=1&method=Query&cameraId=4&_sid=pWRxIsHuC_MGUlfxCCznlbmPHEwQDb1tlAB_o9smA92jDQaakeVLxZmQDAxI - http://192.168.178.xx:5000/webapi/SurveillanceStation/videoStreaming.cgi?api=SYNO.SurveillanceStation.VideoStream&version=1&method=Query&cameraId=4&_sid=pWRxIuLV4aeDZ5s2iRY3vY1BgJN1UiEwQDb1tlAB_o9smA92jDQaakeVLxZmQDAxI: empty answer received
SSCam.Erdgeschoss - error while requesting http://192.168.178.xx:5000/webapi/SurveillanceStation/videoStreaming.cgi?api=SYNO.SurveillanceStation.VideoStream&version=1&method=Query&cameraId=1&_sid=6RLXOt1VnLTNA3RYN-Ah4x8ZrIecrbpVPkfV2aYgnxsvMiRD-EugMsZ6M2vlU - http://192.168.178.xx:5000/webapi/SurveillanceStation/videoStreaming.cgi?api=SYNO.SurveillanceStation.VideoStream&version=1&method=Query&cameraId=1&_sid=6RLXOt1VnLTNA3RY4x8ZrIecrbpVPkfV2aYgnxsvMiRD-EugMsZ6M2vlU: empty answer received


Auch habe ich das Gefühl das FHEM kurz hängen bleibt sobald dieser Fehler auftritt.
Vielleicht hat jemand eine Idee wo ich ansetzen kann den Fehler zu finden.

Danke und vg
pflock_y

DS_Starter

Vermutlich hängt es zusammen mit diesem Fehler:  https://forum.fhem.de/index.php/topic,127077.0.html

Heute früh ist eine neue fhem.pl im Update enthalten.
Bitte einspielen.

schöne Ostern !
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

pflock_y

super, danke!!!
Ist eingespielt, nun heisst es abwarten.

Schöne Ostern!!!


vg
pflock_y

HessGe

Hallo allerseits,

Ich habe gerade versucht, mir ein SVS Device einzurichten und komme einfach nicht weiter. Es kommt immer zum Login Error  :(

Meine Voraussetzungen:
NAS ist eine Synology DS220+ mit DSM 7.0.1-42218 Update 3 (IP 192.168.xxx.2). Die Kamera "Cam-GH" ist in der Surveillance Station eingerichtet und funktioniert. Im NAS ist der Benutzer "fhem_cam" als Admin eingerichtet (Keine Nutzer in der Surveillance Station selber. SSCam Modul hat Version v9.10.3-s25554/2022-01-24
In fhem habe ich das Device mit "define SDS1 SSCam SVS 192.168.xxx.2 5001 HTTPS angelegt. Credentials sind korrekt eingegeben (testweise Kennwort auch ohne Sonderzeichen). Im NAS habe ich für diesen Nutzer die 2-Faktor-Authentifizierung deaktiviert. Anmeldung an der Surveillance Station selbst funktioniert auch. Nur in fhem bekomme ich immer nur einen login error. Im NAS sind auch kein Kontoschutz und keine IP-Blockierung aktiv, lassen sich aber erzeugen wenn ich das Attribut "login_retries" hochsetze.

Ich hab einfach keine Ahnung, woran es haken könnte, kann mir da irgendjemand weiterhelfen?

Gruß,
Gerald

DS_Starter

Hallo Gerald,

es sieht erstmal so aus als hättest du alles richtig gemacht.
Wir brauchen einen Logauszug, so lässt sich wenig sagen.
Schalte doch mal verbose 4 im SVS Device ein, starte dann ein "get SVS scanVirgin" und poste einen Auszug.

So sieht ea aus wenn alles funktioniert:


2022.05.04 09:28:29.592 4: SDS1_SVS - ####################################################
2022.05.04 09:28:29.593 4: SDS1_SVS - ###    start cam operation gethomemodestate         
2022.05.04 09:28:29.594 4: SDS1_SVS - ####################################################
2022.05.04 09:28:29.594 4: SDS1_SVS - --- Start getApiSites ---
2022.05.04 09:28:29.595 4: SDS1_SVS - API imported:
{
  'CAM' => {
             'NAME' => 'SYNO.SurveillanceStation.Camera',
             'mk' => 1
           },
  'CAMEVENT' => {
                  'NAME' => 'SYNO.SurveillanceStation.Camera.Event',
                  'mk' => 1
                },
  'STM' => {
             'NAME' => 'SYNO.SurveillanceStation.Stream',
             'mk' => 1
           },
  'VIDEOSTM' => {
                  'NAME' => 'SYNO.SurveillanceStation.VideoStreaming',
                  'mk' => 1
                },
  'HMODE' => {
               'mk' => 0,
               'NAME' => 'SYNO.SurveillanceStation.HomeMode'
             },
  'VIDEOSTMS' => {
                   'mk' => 0,
                   'NAME' => 'SYNO.SurveillanceStation.VideoStream'
                 },
  'PTZ' => {
             'mk' => 1,
             'NAME' => 'SYNO.SurveillanceStation.PTZ'
           },
  'REC' => {
             'mk' => 1,
             'NAME' => 'SYNO.SurveillanceStation.Recording'
           },
  'SVSINFO' => {
                 'mk' => 1,
                 'NAME' => 'SYNO.SurveillanceStation.Info'
               },
  'EVENT' => {
               'NAME' => 'SYNO.SurveillanceStation.Event',
               'mk' => 1
             },
  'AUDIOSTM' => {
                  'NAME' => 'SYNO.SurveillanceStation.AudioStream',
                  'mk' => 0
                },
  'INFO' => {
              'NAME' => 'SYNO.API.Info',
              'PATH' => 'query.cgi',
              'mk' => 1,
              'VER' => 1
            },
  'PRESET' => {
                'mk' => 1,
                'NAME' => 'SYNO.SurveillanceStation.PTZ.Preset'
              },
  'SNAPSHOT' => {
                  'mk' => 1,
                  'NAME' => 'SYNO.SurveillanceStation.SnapShot'
                },
  'LOG' => {
             'mk' => 1,
             'NAME' => 'SYNO.SurveillanceStation.Log'
           },
  'AUTH' => {
              'mk' => 1,
              'NAME' => 'SYNO.API.Auth'
            },
  'EXTEVT' => {
                'NAME' => 'SYNO.SurveillanceStation.ExternalEvent',
                'mk' => 1
              },
  'EXTREC' => {
                'mk' => 1,
                'NAME' => 'SYNO.SurveillanceStation.ExternalRecording'
              }
}

2022.05.04 09:28:29.596 4: SDS1_SVS - Call-Out now: http://192.168.2.10:5000/webapi/query.cgi?api=SYNO.API.Info&method=Query&version=1&query=SYNO.SurveillanceStation.Camera,SYNO.SurveillanceStation.Camera.Event,SYNO.SurveillanceStation.Stream,SYNO.SurveillanceStation.VideoStreaming,SYNO.SurveillanceStation.HomeMode,SYNO.SurveillanceStation.VideoStream,SYNO.SurveillanceStation.PTZ,SYNO.SurveillanceStation.Recording,SYNO.SurveillanceStation.Info,SYNO.SurveillanceStation.Event,SYNO.SurveillanceStation.AudioStream,SYNO.API.Info,SYNO.SurveillanceStation.PTZ.Preset,SYNO.SurveillanceStation.SnapShot,SYNO.SurveillanceStation.Log,SYNO.API.Auth,SYNO.SurveillanceStation.ExternalEvent,SYNO.SurveillanceStation.ExternalRecording
2022.05.04 09:28:29.795 4: SDS1_SVS - installed SVS version is: 82106468
2022.05.04 09:28:29.796 4: SDS1_SVS - ------- Begin of adaption section -------
2022.05.04 09:28:29.796 4: SDS1_SVS - Version of SYNO.API.Auth adapted to: 6
2022.05.04 09:28:29.797 4: SDS1_SVS - ------- End of adaption section -------
2022.05.04 09:28:29.797 4: SDS1_SVS - ------- Begin of simulation section -------
2022.05.04 09:28:29.798 4: SDS1_SVS - ------- End of simulation section -------
2022.05.04 09:28:29.799 4: SDS1_SVS - API completed after retrieval and adaption:
{
  'STM' => {
             'NAME' => 'SYNO.SurveillanceStation.Stream',
             'PATH' => 'entry.cgi',
             'mk' => 1,
             'VER' => 1,
             'MOD' => 'no'
           },
  'VIDEOSTM' => {
                  'MOD' => 'no',
                  'mk' => 1,
                  'VER' => 1,
                  'NAME' => 'SYNO.SurveillanceStation.VideoStreaming',
                  'PATH' => 'entry.cgi'
                },
  'VIDEOSTMS' => {
                   'NAME' => 'SYNO.SurveillanceStation.VideoStream',
                   'PATH' => 'SurveillanceStation/videoStreaming.cgi',
                   'mk' => 0,
                   'VER' => 1,
                   'MOD' => 'no'
                 },
  'HMODE' => {
               'NAME' => 'SYNO.SurveillanceStation.HomeMode',
               'PATH' => 'entry.cgi',
               'MOD' => 'no',
               'mk' => 0,
               'VER' => 1
             },
  'PARSET' => 1,
  'CAM' => {
             'PATH' => 'entry.cgi',
             'NAME' => 'SYNO.SurveillanceStation.Camera',
             'VER' => 9,
             'mk' => 1,
             'MOD' => 'no'
           },
  'CAMEVENT' => {
                  'MOD' => 'no',
                  'mk' => 1,
                  'VER' => 1,
                  'NAME' => 'SYNO.SurveillanceStation.Camera.Event',
                  'PATH' => 'entry.cgi'
                },
  'LOG' => {
             'PATH' => 'entry.cgi',
             'NAME' => 'SYNO.SurveillanceStation.Log',
             'MOD' => 'no',
             'VER' => 3,
             'mk' => 1
           },
  'AUTH' => {
              'MOD' => 'yes',
              'VER' => '6',
              'mk' => 1,
              'PATH' => 'auth.cgi',
              'NAME' => 'SYNO.API.Auth'
            },
  'EXTREC' => {
                'PATH' => 'entry.cgi',
                'NAME' => 'SYNO.SurveillanceStation.ExternalRecording',
                'VER' => 3,
                'mk' => 1,
                'MOD' => 'no'
              },
  'EXTEVT' => {
                'MOD' => 'no',
                'VER' => 1,
                'mk' => 1,
                'PATH' => 'entry.cgi',
                'NAME' => 'SYNO.SurveillanceStation.ExternalEvent'
              },
  'SVSINFO' => {
                 'NAME' => 'SYNO.SurveillanceStation.Info',
                 'PATH' => 'entry.cgi',
                 'mk' => 1,
                 'VER' => 8,
                 'MOD' => 'no'
               },
  'PTZ' => {
             'MOD' => 'no',
             'VER' => 6,
             'mk' => 1,
             'PATH' => 'entry.cgi',
             'NAME' => 'SYNO.SurveillanceStation.PTZ'
           },
  'REC' => {
             'MOD' => 'no',
             'mk' => 1,
             'VER' => 6,
             'NAME' => 'SYNO.SurveillanceStation.Recording',
             'PATH' => 'entry.cgi'
           },
  'SNAPSHOT' => {
                  'VER' => 1,
                  'mk' => 1,
                  'MOD' => 'no',
                  'PATH' => 'entry.cgi',
                  'NAME' => 'SYNO.SurveillanceStation.SnapShot'
                },
  'INFO' => {
              'mk' => 1,
              'VER' => 1,
              'MOD' => 'no',
              'NAME' => 'SYNO.API.Info',
              'PATH' => 'query.cgi'
            },
  'PRESET' => {
                'mk' => 1,
                'VER' => 1,
                'MOD' => 'no',
                'NAME' => 'SYNO.SurveillanceStation.PTZ.Preset',
                'PATH' => 'entry.cgi'
              },
  'AUDIOSTM' => {
                  'MOD' => 'no',
                  'VER' => 2,
                  'mk' => 0,
                  'PATH' => 'SurveillanceStation/audioStreaming.cgi',
                  'NAME' => 'SYNO.SurveillanceStation.AudioStream'
                },
  'EVENT' => {
               'MOD' => 'no',
               'mk' => 1,
               'VER' => 5,
               'NAME' => 'SYNO.SurveillanceStation.Event',
               'PATH' => 'entry.cgi'
             }
}

2022.05.04 09:28:29.800 4: SDS1_SVS - ####################################################
2022.05.04 09:28:29.801 4: SDS1_SVS - ###    start cam operation gethomemodestate         
2022.05.04 09:28:29.801 4: SDS1_SVS - ####################################################
2022.05.04 09:28:29.802 3: SDS1_SVS - no session ID found - get new one
2022.05.04 09:28:29.803 4: SDS1_SVS - --- Begin Function login ---
2022.05.04 09:28:29.803 4: SDS1_SVS - Credentials read from RAM: apiuser ********
2022.05.04 09:28:29.804 4: SDS1_SVS - HTTP-Call login will be done with httptimeout-Value: 200 s
2022.05.04 09:28:29.804 4: SDS1_SVS - Call-Out now: http://192.168.2.10:5000/webapi/auth.cgi?api=SYNO.API.Auth&version=6&method=Login&account=apiuser&passwd=*****&format="sid"
2022.05.04 09:28:30.777 4: SDS1_SVS - Login of User apiuser successful - SID: cI3VY28PBwt5NomgDfrbJeSwP7vpXoKQx5vaV_YG7hY0G8bkEWMgDq9PXjSVc3jcdgF4G2QStFjs1xgjeffFDs
2022.05.04 09:28:30.778 4: SDS1_SVS - --- Start gethomemodestate ---
.....


Du kannst showPassInLog = 1 setzen um das übertragene Passwort im Log zu sehen (evtl. siehst du dort etwas).
Den Teil dann aber bitte nicht posten.

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

HessGe

Zitat von: DS_Starter am 04 Mai 2022, 09:33:06
Hallo Gerald,

es sieht erstmal so aus als hättest du alles richtig gemacht.
Wir brauchen einen Logauszug, so lässt sich wenig sagen.
Schalte doch mal verbose 4 im SVS Device ein, starte dann ein "get SVS scanVirgin" und poste einen Auszug.

[...]

LG,
Heiko

Viiielen Dank, das hat mich drauf gestupst wo der Hase im Pfeffer lag. Der Login war zwar nicht bei den geschützten Konten und die IP nicht bei den blockierten bei den vertrauenswürdigen Clients unter dem Menüpunkt "Konto" unter Sicherheit in der Systemsteuerung des NAS, aber im Menüpunkt "Schutz" bei den in der Freigabe-/Blockierungsliste stand tatsächlich doch die IP drin. Gelöscht, Device neu angelegt, Credentials vergeben und es ging :)

Dann mache ich mich mal an die weitere Konfiguration...

Dracolein

Moin zusammen,

muss vor dem update der Surveillance Station auf Version: 9.0.0-7660 vom 18. Mai 2022 irgendwas beachtet werden im Hinblick auf dies Modul ?
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;

DS_Starter

Moin,

ich mache zur Zeit bisschen Urlaub. Das Update mache ich selbst in ca. Einer Woche.
Vllt. Wartest du noch etwas. Dann kann ich die Infos hier reinstellen.
Aber dürfte eigentlich passen, zur Not gibt es das Attribut für den logischen Downgrade.

Lg
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 zusammen,
es ist nichts zu beachten. Es läuft alles ohne Probleme.
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).

Fredi69

#2440
Bei mir funktioniert bei einer von zwei Kameras das Livebild (SSCamSTRM.mjpeg) vermutlich nach dem Update der SVS nicht mehr.
Hat jemand eine Idee wo das Problem liegt?
fhem auf Raspberry Pi 3
FRITZ!Box7490, Fritz!Box 3270 AP, 3xHMLAN, CUL868, nanoCUL 433 für IT, JeeLink für LaCrosse, HUE Bridge 2.0, Samsung UE46C8790 (STV), mehrere Homematic, Intertechno, Shelly und LaCrosse Komponenten

Fredi69

Zitat von: Fredi69 am 01 Juli 2022, 14:48:49
Bei mir funktioniert bei einer von zwei Kameras das Livebild (SSCamSTRM.mjpeg), vermutlich nach dem Update der SVS, nicht mehr.
Hat jemand eine Idee wo das Problem liegt?
fhem auf Raspberry Pi 3
FRITZ!Box7490, Fritz!Box 3270 AP, 3xHMLAN, CUL868, nanoCUL 433 für IT, JeeLink für LaCrosse, HUE Bridge 2.0, Samsung UE46C8790 (STV), mehrere Homematic, Intertechno, Shelly und LaCrosse Komponenten

DS_Starter

#2442
Setz dir mal bitte das Attr noQuotesForSID auf 0 oder 1 je nachdem was momentan drin steht.
Danach ein "get ...stmUrlPath" und testen ob jetzt wieder geht. 
Das betrifft das Cam Device selbst. Testen mit "set .. runView live_fw"
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

DS_Starter

Ich konnte es bei mir nachstellen nachdem ich jetzt auf SVS 9.0.0 gegangen bin.
Bei einer Cam habe ich das gleiche Thema und konnte das Livebild wie oben beschrieben wieder zum Laufen bringen.

Bein Streamdev klappt es noch nicht, aber ich weiß woran es liegt und werde schnellstens einen Patch für SSCam erstellen.

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

DS_Starter

Habe das noQuotesForSID-Problem bzgl. Nutzung in Streamingdevices gefixt und eine neue SSCam Version eingecheckt.
Ist morgen früh im Update.
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