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

juemuc

Hallo Heiko,

jetzt funktioniert es bei mir auch wieder.  :o In den Logs ist nichts zu sehen.

Danke für die "Fernheilung"  ;D

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

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

xasher

Hallo zusammen,

ich klinke mich mal hier herein. Ich habe zum letzten Post ja bereits ein Thread offen gehabt. Das Problem löst sich von alleine und tritt dann wieder auf - und zwar bei jeder Kamera, die ich in Betrieb habe.

Dem Call-out Pfad folgend
Call-Out now: http://www.meine-url.de:5000/webapi/entry.cgi?api="SYNO.SurveillanceStation.Camera"&method="GetLiveViewPath"&version=9&idList="2"&_sid="xxx"

bekommt man das Ergebnis im Anhang.

Die hinterlegte URL liefert 105 im json. Das ist also vermutlich kein SSCAM Fehler sondern ein Bug? im SVS.

Keine Ahnung was man da außer warten machen kann - schade ist es auf jeden Fall.

Gruß,
Alex

DS_Starter

Hi Alex,

hast du schon mal versucht auf session SurveillanceStation umzustellen ?
Weiterhin könntest du versuchen die SID ohne Anführungszeichen zu übermitteln. Das entspricht dem Attribut noQuotesforSid im SSCam.

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

xasher

Hallo Heiko,

ich vermute mal, dass manche stmkeys nicht funktionieren. Warum auch immer.
Wie ist denn deine Einstellung in SVS. Bei mir ist die Streamfreigabe auf eine Stunde begrenzt gewesen. Jetzt habe ich auf dauerhaft umgestellt.

Ich habe beide Links verglichen. Einer der nicht ging mit dem aktuellen Link, der geht. Da ist ja nur der stmkey unterschiedlich. Ich hoffe mal, dass bei "dauerhaft" mir der key erhalten bleibt.

Was denkst du? Deine Sachen kann ich gerne dann testen - aber ich will nicht zu viel machen, sonst weiß ich nicht mehr was vielleicht "die Lösung" des Problems war.

Grüße,
Alex

DS_Starter

Hallo Alex,

ich schaue heute Abend mal bei mir. Ich hatte auch dauerhaft eingestellt, aber ich bin der Meinung dass es bei der aktuellen SVS Version eine solche Einstellmöglichkeit nicht mehr gibt, kann mich aber täuschen.
Kann aber getrost sagen, dass bei mir die Darstellung über die Streamkeys absolut zuverlässig läuft. Ich benutze momentan noch Dashboard wo die Streaming Devices (SSCamSTRM) zur Wiedergabe eingebunden sind.
Und ich benutze session = SurveillanceStation.

VG
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

ZitatWie ist denn deine Einstellung in SVS. Bei mir ist die Streamfreigabe auf eine Stunde begrenzt gewesen.
Bei mir ist in der aktuellen SVS-Version 8.2.3-5829 tatsächlich keine Einstellung des Gültigkeitszeitraums für Streamkeys mehr vorhanden. Ich weiß aber dass es sie gab und ich hatte sie auf dauerhaft stehen.

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

math78

Hallo,

haben seit einigen Tagen folgende Fehlermeldung im Log.
Zitat2019.04.07 10:31:42 1: PERL WARNING: Use of uninitialized value $d in hash element at fhem.pl line 4476.
2019.04.07 10:31:42 1: stacktrace:
2019.04.07 10:31:42 1:     main::__ANON__                      called by fhem.pl (4476)
2019.04.07 10:31:42 1:     main::AttrVal                       called by ./FHEM/49_SSCam.pm (7524)
2019.04.07 10:31:42 1:     main::SSCam_composegallery          called by ./FHEM/49_SSCam.pm (5425)
2019.04.07 10:31:42 1:     main::SSCam_camop_parse             called by FHEM/HttpUtils.pm (606)
2019.04.07 10:31:42 1:     main::__ANON__                      called by fhem.pl (742)
2019.04.07 10:31:45 1: PERL WARNING: Use of uninitialized value $d in hash element at fhem.pl line 4476.
2019.04.07 10:31:45 1: stacktrace:
2019.04.07 10:31:45 1:     main::__ANON__                      called by fhem.pl (4476)
2019.04.07 10:31:45 1:     main::AttrVal                       called by ./FHEM/49_SSCam.pm (7524)
2019.04.07 10:31:45 1:     main::SSCam_composegallery          called by ./FHEM/49_SSCam.pm (5425)
2019.04.07 10:31:45 1:     main::SSCam_camop_parse             called by FHEM/HttpUtils.pm (606)
2019.04.07 10:31:45 1:     main::__ANON__                      called by fhem.pl (742)
2019.04.07 10:31:54 1: PERL WARNING: Use of uninitialized value $d in hash element at fhem.pl line 4476.
2019.04.07 10:31:54 1: stacktrace:
2019.04.07 10:31:54 1:     main::__ANON__                      called by fhem.pl (4476)
2019.04.07 10:31:54 1:     main::AttrVal                       called by ./FHEM/49_SSCam.pm (7524)
2019.04.07 10:31:54 1:     main::SSCam_composegallery          called by ./FHEM/49_SSCam.pm (5425)
2019.04.07 10:31:54 1:     main::SSCam_camop_parse             called by FHEM/HttpUtils.pm (606)
2019.04.07 10:31:54 1:     main::__ANON__                      called by fhem.pl (742)

Kommt das aus dem Modul oder habe ich etwas falsch programmiert?

Danke.

Grüße
Matthias

DS_Starter

#1538
Hallo Matthias,

danke für den Hinweis, sieht nach dem Modul aus.
Bei mir habe ich es noch nicht feststellen können und muss schauen unter welchen Umständen diese Meldung prduziert werden könnte.
Kannst du mir noch ein paar Infos zu deienr Umgebung geben ?
Also list von Devices, welche Streamingdevices etc.

Danke und 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

DS_Starter

@Matthias, ich denke ich habe das Problem identifiziert und beseitigt.

Bitte die korrigierte Version aus dem contrib laden, restart und testen:

https://svn.fhem.de/trac/browser/trunk/fhem/contrib/DS_Starter  (Downloadbutton benutzen)

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

math78

Hi,
habe es getestet, aber keine Änderung.

Grüße

Zitat.04.07 16:44:54 1: PERL WARNING: Use of uninitialized value $d in hash element at fhem.pl line 4476.
2019.04.07 16:44:54 1: stacktrace:
2019.04.07 16:44:54 1:     main::__ANON__                      called by fhem.pl (4476)
2019.04.07 16:44:54 1:     main::AttrVal                       called by ./FHEM/49_SSCam.pm (7524)
2019.04.07 16:44:54 1:     main::SSCam_composegallery          called by ./FHEM/49_SSCam.pm (5425)
2019.04.07 16:44:54 1:     main::SSCam_camop_parse             called by FHEM/HttpUtils.pm (606)
2019.04.07 16:44:54 1:     main::__ANON__                      called by fhem.pl (742)
2019.04.07 16:44:56 1: PERL WARNING: Use of uninitialized value $d in hash element at fhem.pl line 4476.
2019.04.07 16:44:56 1: stacktrace:
2019.04.07 16:44:56 1:     main::__ANON__                      called by fhem.pl (4476)
2019.04.07 16:44:56 1:     main::AttrVal                       called by ./FHEM/49_SSCam.pm (7524)
2019.04.07 16:44:56 1:     main::SSCam_composegallery          called by ./FHEM/49_SSCam.pm (5425)
2019.04.07 16:44:56 1:     main::SSCam_camop_parse             called by FHEM/HttpUtils.pm (606)
2019.04.07 16:44:56 1:     main::__ANON__                      called by fhem.pl (742)

math78

ergänzend noch ein List von einem Device

Internals:
   CAMID      11
   CAMNAME    Haustuer
   CHANGED   
   COMPATIBILITY 8.2.3
   CREDENTIALS Set
   DEF        Haustuer 192.168.50.13 24855 HTTPS
   FUUID      5c763aac-f33f-3b81-4b73-545498f4deca7a8c
   FVERSION   49_SSCam.pm:v8.13.1-s19124/2019-04-06
   MODEL      Vivotek - FE8171V
   NAME       Cam_Haustuer
   NR         173
   OPMODE     getStmUrlPath
   PROTOCOL   https
   SERVERADDR 192.168.50.13
   SERVERPORT 24855
   STATE      Stop
   TYPE       SSCam
   HELPER:
     ACTIVE     off
     APIAUDIOSTM SYNO.SurveillanceStation.AudioStream
     APIAUDIOSTMMAXVER 2
     APIAUDIOSTMPATH SurveillanceStation/audioStreaming.cgi
     APIAUTH    SYNO.API.Auth
     APIAUTHMAXVER 6
     APIAUTHPATH auth.cgi
     APICAM     SYNO.SurveillanceStation.Camera
     APICAMEVENT SYNO.SurveillanceStation.Camera.Event
     APICAMEVENTMAXVER 1
     APICAMEVENTPATH entry.cgi
     APICAMMAXVER 9
     APICAMPATH entry.cgi
     APIEVENT   SYNO.SurveillanceStation.Event
     APIEVENTMAXVER 5
     APIEVENTPATH entry.cgi
     APIEXTEVT  SYNO.SurveillanceStation.ExternalEvent
     APIEXTEVTMAXVER 1
     APIEXTEVTPATH entry.cgi
     APIEXTREC  SYNO.SurveillanceStation.ExternalRecording
     APIEXTRECMAXVER 3
     APIEXTRECPATH entry.cgi
     APIHM      SYNO.SurveillanceStation.HomeMode
     APIHMMAXVER 1
     APIHMPATH  entry.cgi
     APIINFO    SYNO.API.Info
     APILOG     SYNO.SurveillanceStation.Log
     APILOGMAXVER 3
     APILOGPATH entry.cgi
     APIPARSET  1
     APIPRESET  SYNO.SurveillanceStation.PTZ.Preset
     APIPRESETMAXVER 1
     APIPRESETPATH entry.cgi
     APIPTZ     SYNO.SurveillanceStation.PTZ
     APIPTZMAXVER 5
     APIPTZPATH entry.cgi
     APIREC     SYNO.SurveillanceStation.Recording
     APIRECMAXVER 6
     APIRECPATH entry.cgi
     APISNAPSHOT SYNO.SurveillanceStation.SnapShot
     APISTM     SYNO.SurveillanceStation.Stream
     APISTMMAXVER 1
     APISTMPATH entry.cgi
     APISVSINFO SYNO.SurveillanceStation.Info
     APISVSINFOMAXVER 6
     APISVSINFOPATH entry.cgi
     APITAKESNAPMAXVER 1
     APITAKESNAPPATH entry.cgi
     APIVIDEOSTM SYNO.SurveillanceStation.VideoStreaming
     APIVIDEOSTMMAXVER 1
     APIVIDEOSTMPATH entry.cgi
     APIVIDEOSTMS SYNO.SurveillanceStation.VideoStream
     APIVIDEOSTMSMAXVER 1
     APIVIDEOSTMSPATH SurveillanceStation/videoStreaming.cgi
     CREDENTIALS ]qmreVp<UWR7_mLZlkn4
     HLSSTREAM  inactive
     KEYWORD    Haustuer
     LOGINRETRIES 0
     OLDPTZHOME
     OLDVALPOLL 300
     OLDVALPOLLNOLOGGING 0
     PACKAGE    main
     RECTIME_DEF 15
     SID        qPa2pTN7bkff217A0PEN357401
     SNAPIMGSIZE 1
     SNAPLIMIT  1
     STMKEYMJPEGHTTP http://192.168.50.13:5000/webapi/entry.cgi?api=SYNO.SurveillanceStation.Stream.VideoStreaming&version=1&method=Stream&format=mjpeg&cameraId=11&StmKey=d53a9ae016a26dcc38af38b26c0568be
     STMKEYMXPEGHTTP http://192.168.50.13:5000/webapi/entry.cgi?api=SYNO.SurveillanceStation.Stream.VideoStreaming&version=1&method=Stream&format=mxpeg&cameraId=11&StmKey="d53a9ae016a26dcc38af38b26c0568be"
     STMKEYUNICST rtsp://syno:d53a9ae016a26dcc38af38b26c0568be@192.168.50.13:554/Sms=11.unicast
     STMKEYUNICSTOVERHTTP rtsp://192.168.50.13:5000/webman/3rdparty/SurveillanceStation/cgi/rtsp.cgi?Sms=11.unicast&DsId=0&StmKey=d53a9ae016a26dcc38af38b26c0568be
     STRMDETAIL
     STRMDEV   
     STRMROOM   
     TOTALCNT   4890
     VERSION    8.13.1
     SVSVERSION:
       BUILD      5828
       MAJOR      8
       MINOR      2
       SMALL      3
   READINGS:
     2019-04-07 16:44:56   Availability    enabled
     2019-04-07 16:44:56   CamAudioType    Unknown
     2019-04-07 16:44:55   CamEventNum     3365
     2019-04-07 16:44:56   CamExposureControl Auto
     2019-04-07 16:44:56   CamExposureMode Auto
     2019-04-07 16:44:56   CamIP           192.168.50.65
     2019-04-07 16:44:55   CamLastRec      20190407AM/Haustuer-20190407-001229-1554588749.mp4
     2019-04-07 16:44:55   CamLastRecId    60810
     2019-04-07 16:44:55   CamLastRecTime  07.04.2019 / 00:12:29 - 00:13:00
     2019-04-07 16:44:56   CamLiveFps      10
     2019-04-07 16:44:56   CamLiveMode     Liveview from Camera
     2019-04-07 16:44:56   CamLiveQuality  5
     2019-04-07 16:44:56   CamLiveResolution 768x768
     2019-04-07 16:44:56   CamLiveStreamNo 2
     2019-04-07 16:44:56   CamModel        FE8171V
     2019-04-07 16:44:57   CamMotDetSc     Camera, sensitivity: 90, percentage: 50
     2019-04-07 16:44:56   CamNTPServer    Surveillance Station
     2019-04-07 16:44:56   CamPort         80
     2019-04-07 16:44:56   CamPreRecTime   10
     2019-04-07 16:44:56   CamRecShare     surveillance
     2019-04-07 16:44:56   CamRecVolume    /volume1
     2019-04-07 16:44:58   CamStreamFormat MJPEG
     2019-04-07 16:44:56   CamVendor       Vivotek
     2019-04-07 16:44:56   CamVideoFlip    false
     2019-04-07 16:44:56   CamVideoMirror  false
     2019-04-07 16:44:56   CamVideoRotate  false
     2019-04-07 16:44:56   CamVideoType    MJPEG
     2019-04-07 16:44:56   CamblPresetSpeed false
     2019-04-07 16:44:56   CapAudioOut     true
     2019-04-07 16:44:56   CapChangeSpeed  false
     2019-04-07 16:44:56   CapPIR          false
     2019-04-07 16:44:56   CapPTZAbs       false
     2019-04-07 16:44:56   CapPTZAutoFocus false
     2019-04-07 16:44:56   CapPTZDirections 0
     2019-04-07 16:44:56   CapPTZFocus     false
     2019-04-07 16:44:56   CapPTZHome      false
     2019-04-07 16:44:56   CapPTZIris      false
     2019-04-07 16:44:56   CapPTZObjTracking false
     2019-04-07 16:44:56   CapPTZPan       false
     2019-04-07 16:44:56   CapPTZPresetNumber 0
     2019-04-07 16:44:56   CapPTZTilt      false
     2019-04-07 16:44:56   CapPTZZoom      false
     2019-04-07 16:44:56   DeviceType      Fisheye
     2019-04-07 16:44:59   Error           none
     2019-04-07 16:44:59   Errorcode       none
     2019-04-07 16:44:56   LastSnapFilename Haustuer-20190405-1752173113.jpg
     2019-04-07 16:44:56   LastSnapId      4900
     2019-04-07 16:44:56   LastSnapTime    05.04.2019 / 17:52:17
     2019-04-07 16:44:56   LastUpdateTime  07.04.2019 / 16:44:56
     2019-04-07 16:44:55   PollState       Active - next time: 16:49:55
     2019-04-07 16:44:56   Record          Stop
     2019-04-07 16:44:57   SVScustomPortHttp 24854
     2019-04-07 16:44:57   SVScustomPortHttps 24855
     2019-04-07 16:44:57   SVSlicenseNumber 6
     2019-04-07 16:44:57   SVSuserPriv     Admin
     2019-04-07 16:44:57   SVSversion      8.2.3-5828
     2019-04-07 16:44:59   StmKey          d53a9ae016a26dcc38af38b26c0568be
     2019-04-07 16:44:59   StmKeyUnicst    rtsp://syno:d53a9ae016a26dcc38af38b26c0568be@192.168.50.13:554/Sms=11.unicast
     2019-04-07 16:44:59   StmKeyUnicstOverHttp rtsp://192.168.50.13:5000/webman/3rdparty/SurveillanceStation/cgi/rtsp.cgi?Sms=11.unicast&DsId=0&StmKey=d53a9ae016a26dcc38af38b26c0568be
     2019-04-07 16:44:59   StmKeymjpegHttp http://192.168.50.13:5000/webapi/entry.cgi?api=SYNO.SurveillanceStation.Stream.VideoStreaming&version=1&method=Stream&format=mjpeg&cameraId=11&StmKey=d53a9ae016a26dcc38af38b26c0568be
     2019-04-07 16:44:59   StmKeymxpegHttp http://192.168.50.13:5000/webapi/entry.cgi?api=SYNO.SurveillanceStation.Stream.VideoStreaming&version=1&method=Stream&format=mxpeg&cameraId=11&StmKey="d53a9ae016a26dcc38af38b26c0568be"
     2019-04-07 16:44:56   UsedSpaceMB     332.972
     2019-04-07 16:44:56   VideoFolder     /volume1/surveillance/Haustuer
     2019-04-07 16:44:57   compstate       true
     2019-04-07 16:44:56   state           off
Attributes:
   devStateIcon .*isable:set_off .*nable:FS20.off .*nap:li_wht_on
   event-on-change-reading CamEventNum,Record,Error,Errorcode,LastSnapId,Availability,state
   eventMap   on:Start off:Stop snap:Snap enable:Enable disable:Disable
   group      Kameras
   htmlattr   "target=_blank width="400" height="400""
   icon       it_camera
   pollcaminfoall 300
   rectime    0
   room       Kamera
   session    SurveillanceStation
   showStmInfoFull 1
   snapTelegramTxt tbot => telebot, peers => 207728134 181745937, subject => Bewegung $CAM
   verbose    1
   webCmd     on:off:snap:enable:disable:runView:stopView

DS_Starter

Hast du nach dem Download aus dem Contrib restartet ?

Die Version müsste 8.13.2 sein, ist bei die aber noch 8.13.1

FVERSION   49_SSCam.pm:v8.13.1-s19124/2019-04-06
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

math78

Hi,
habe deine Datei heruntergeladen und ins passende Verzeichnis FHEM bei mir verschoben.
Nach nochmaligem Neustart kommt folgende Meldung

ZitatMessages collected while initializing FHEM:
configfile: Cannot load module SSCam


DS_Starter

Äh ... hast du auch den Download-Button auf der Seite benutzt ? Vermute du hast nur eine HTML gesaved.
Ansonsten steht sicher was im Log drin warum FHEM meint das Modul könnte nicht geladen werden.
Nicht speichern drücken !
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