Hallo,
ich versuche gerade mein System nach einer kompletten Neuinstallation zu reanimieren. Beim SSCam Modul geht irgendwie gar nichts mehr. Viele Attribute und Vorgehensweisen, die ich in der Doku (https://wiki.fhem.de/wiki/SSCAM_-_Steuerung_von_Kameras_in_Synology_Surveillance_Station#Credentials) gefunden habe scheint es nciht mehr zu geben.
Ich kann automatisiert keine Kameras mehr einbinden: set <SVS-Name> autocreateCams
Email-Versand klappt auch nicht mehr. Es scheint dieverse Attribute/Methoden, die dokumentiert sind und in meinem alten setup noch funktionierten, nicht mehr zu geben: smtp...
Hat jemand einen Tipp, wie ich vorgehen sollte?
Hallo stobor,
Bin zur zeit noch im urlaub. Kann dir aber sagen, dass sich im Modul nichts geändert hat. Das Gerüst an Methoden und Attributen ist unverändert vorhanden.
Es scheint etwas grundsätzlich schief zu laufen.Gib doch mal ein paar logauszüge und lists.
Ab Montag kann ich wieder helfen. Aber ich könnte mir vorstellen, dass auch ein anderer user unterstützen kann bei solch grundlegenden dingen.
Lg,
Heiko
Hallo Heiko,
das wäre ein Traum, wenn Du helfen kannst.
Versuche ich direkt in der fhem.cfg die Attribute an eine Kamera zu hängen, erhalte ich Fehler und kann's gar nicht speichern:
Attribute:
attr SSCam.West smtpDebug 0
attr SSCam.West smtpFrom meine@email.com
attr SSCam.West smtpHost smtp.1und1.de
attr SSCam.West smtpPort 25
attr SSCam.West smtpTo meine@email.com
Fehler:
SSCam.West: unknown attribute smtpDebug. Type 'attr SSCam.West ?' for a detailed list. SSCam.West: unknown attribute smtpFrom. Type 'attr SSCam.West ?' for a detailed list. SSCam.West: unknown attribute smtpHost. Type 'attr SSCam.West ?' for a detailed list. SSCam.West: unknown attribute smtpPort. Type 'attr SSCam.West ?' for a detailed list. SSCam.West: unknown attribute smtpTo. Type 'attr SSCam.West ?' for a detailed list.
In der FHEM-GUI lassen sich diese Attribute in der Dropdown-Liste gar nicht auswählen: siehe Dateianhänge
Ein attr SSCam.West ? liefert:
SSCam.West: unknown attribute ?, choose one of alias comment eventMap group room suppressReading userReadings verbose disable genericStrmHtmlTag httptimeout htmlattr livestreamprefix loginRetries videofolderMap pollcaminfoall snapGalleryBoost snapGallerySize snapGalleryNumber snapGalleryColumns snapGalleryHtmlAttr pollnologging debugactivetoken rectime recextend noQuotesForSID session showPassInLog showStmInfoFull simu_SVSversion webCmd event-aggregator event-min-interval event-on-change-reading event-on-update-reading oldreadings stateFormat timestamp-on-change-reading cmdIcon devStateIcon devStateIcon devStateStyle fm_lock fm_type fp_Erdgeschoss icon sortby webCmd webCmdLabel widgetOverride userattr
So sieht meine fhem.cfg derzeit aus:
define SDS1 SSCam SVS 192.168.2.31
attr SDS1 pollcaminfoall 200
attr SDS1 room Surveillance
attr SDS1 verbose 0
attr SDS1 webCmd homeMode
attr SDS1 webCmdLabel HomeMode
#attr SDS1 snapEmailTxt subject => SDS1, body => SDS1 body
#set SDS1 autocreateCams in Komandozeile eingeben
#set SDS1 credentials FHEMreader FHEMreader
define SSCam.West SSCam West 192.168.2.31 5000
attr SSCam.West devStateIcon .*isable.*:set_off .*nap:li_wht_on
attr SSCam.West httptimeout 30
attr SSCam.West icon it_camera
attr SSCam.West pollcaminfoall 210
attr SSCam.West pollnologging 1
attr SSCam.West room Surveillance
attr SSCam.West session DSM
attr SSCam.West verbose 0
attr SSCam.West webCmd on:off:snap:enable:disable:runView:stopView
Die Kamera musste ich manuell eintragen. Ein set SDS1 autocreateCams liefert einen Fehler:
Unknown argument autocreateCams, choose one of credentials extevent homeMode
Was brauchst Du sonst noch?
Hallo stobor,
Die aktuelle Version die du einsetzt. Du siehst sie im Internal.
Bzw. ein list von einem device. Dann sehe ich auch alles.
Lg,
Heiko
Hmmm, mal sehen, ob ich Dich richtig verstehe.
ein list SDS1 (Definition eines SVS-Devices (SVS = Synology Surveillance Station)) ergibt:
Internals:
CAMNAME SVS
COMPATIBILITY 8.2.0
CREDENTIALS Set
DEF SVS 192.168.178.31
MODEL SVS
NAME SDS1
NR 604
OPMODE getsvsinfo
PROTOCOL http
SERVERADDR 192.168.178.31
SERVERPORT 5000
STATE polling
TYPE SSCam
VERSION 7.1.0
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
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 UomLWZKuZZVqimrH\FYRhsYj[PW|
HLSSTREAM inactive
LOGINRETRIES 0
OLDPTZHOME
OLDVALPOLL 200
OLDVALPOLLNOLOGGING 0
RECTIME_DEF 15
SID IjX4SoedqsOyQ1790PDN347600
SNAPLIMIT 0
TOTALCNT 0
SVSVERSION:
BUILD 5850
MAJOR 8
MINOR 2
SMALL 5
READINGS:
2019-08-10 21:32:46 Error none
2019-08-10 21:32:46 Errorcode none
2019-08-10 21:32:46 HomeModeState off
2019-08-10 21:32:46 LastLogEntry 2019-08-10 21:12:17 - Information - Settings of [Manual Record] for camera [West] were changed to [Stop].
2019-08-10 21:32:45 PollState Active - next time: 21:36:05
2019-08-10 21:32:46 SVSlicenseNumber 5
2019-08-10 21:32:46 SVSuserPriv Admin
2019-08-10 21:32:46 SVSversion 8.2.5-5850
2019-08-10 21:32:46 compstate false
2019-08-10 21:32:45 state polling
Attributes:
pollcaminfoall 200
room Surveillance
verbose 0
webCmd homeMode
webCmdLabel HomeMode
Ein list SSCam.West (Kamera) ergibt:
Internals:
CAMID 1
CAMNAME West
COMPATIBILITY 8.2.0
CREDENTIALS Set
DEF West 192.168.178.31 5000
MODEL SAMSUNG - SNV-7084R
NAME SSCam.West
NR 615
OPMODE getStmUrlPath
PROTOCOL http
SERVERADDR 192.168.178.31
SERVERPORT 5000
STATE on
TYPE SSCam
VERSION 7.1.0
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
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
CAMLASTRECID 216861
CREDENTIALS UomLWZKuZZVqimrH\FYRhsYj[PW|
HLSSTREAM inactive
KEYWORD West
LOGINRETRIES 0
OLDPTZHOME
OLDVALPOLL 210
OLDVALPOLLNOLOGGING 1
RECTIME_DEF 15
SID e7JYDMMeDmthM1790PDN347600
SNAPIMGSIZE 0
SNAPLIMIT 1
STMKEYMJPEGHTTP http://192.168.178.31:5000/webapi/entry.cgi?api=SYNO.SurveillanceStation.Stream.VideoStreaming&version=1&method=Stream&format=mjpeg&cameraId=1&StmKey="5a793e725ac8be8c890999e462f028dd"
STMKEYMXPEGHTTP http://192.168.178.31:5000/webapi/entry.cgi?api=SYNO.SurveillanceStation.Stream.VideoStreaming&version=1&method=Stream&format=mxpeg&cameraId=1&StmKey="5a793e725ac8be8c890999e462f028dd"
STMKEYUNICST rtsp://syno:5a793e725ac8be8c890999e462f028dd@192.168.178.31:554/Sms=1.unicast
STMKEYUNICSTOVERHTTP rtsp://192.168.178.31:5000/webman/3rdparty/SurveillanceStation/cgi/rtsp.cgi?Sms=1.unicast&DsId=0&StmKey=5a793e725ac8be8c890999e462f028dd
TOTALCNT 0
SVSVERSION:
BUILD 5850
MAJOR 8
MINOR 2
SMALL 5
READINGS:
2019-08-10 21:33:38 Availability enabled
2019-08-10 21:33:38 CamAudioType Unknown
2019-08-10 21:33:38 CamEventNum 913
2019-08-10 21:33:38 CamExposureControl None
2019-08-10 21:33:38 CamExposureMode Auto
2019-08-10 21:33:38 CamIP 192.168.178.243
2019-08-10 21:33:38 CamLastRec 20190810PM/West-20190810-210532-1565463932.mp4
2019-08-10 21:33:38 CamLastRecTime 10.08.2019 / 21:05:32 - 21:33:33
2019-08-10 21:33:38 CamLiveFps 5
2019-08-10 21:33:38 CamLiveMode Liveview from DS
2019-08-10 21:33:38 CamLiveQuality 5
2019-08-10 21:33:38 CamLiveResolution 2048x1536
2019-08-10 21:33:38 CamLiveStreamNo 1
2019-08-10 21:33:38 CamModel SNV-7084R
2019-08-10 21:33:40 CamMotDetSc SVS, sensitivity: 90, threshold: 7
2019-08-10 21:33:38 CamPort 80
2019-08-10 21:33:38 CamPreRecTime 5
2019-08-10 21:33:38 CamRecShare Surveillance
2019-08-10 21:33:38 CamRecVolume /volume2
2019-08-10 21:33:40 CamStreamFormat HLS
2019-08-10 21:33:38 CamVendor SAMSUNG
2019-08-10 21:33:38 CamVideoFlip false
2019-08-10 21:33:38 CamVideoMirror false
2019-08-10 21:33:38 CamVideoRotate false
2019-08-10 21:33:38 CamVideoType H.264
2019-08-10 21:33:38 CamblPresetSpeed false
2019-08-10 21:33:39 CapAudioOut false
2019-08-10 21:33:39 CapChangeSpeed false
2019-08-10 21:33:38 CapPIR false
2019-08-10 21:33:39 CapPTZAbs false
2019-08-10 21:33:39 CapPTZAutoFocus false
2019-08-10 21:33:39 CapPTZDirections 0
2019-08-10 21:33:39 CapPTZFocus false
2019-08-10 21:33:39 CapPTZHome false
2019-08-10 21:33:39 CapPTZIris false
2019-08-10 21:33:39 CapPTZObjTracking false
2019-08-10 21:33:39 CapPTZPan false
2019-08-10 21:33:39 CapPTZPresetNumber 0
2019-08-10 21:33:39 CapPTZTilt false
2019-08-10 21:33:39 CapPTZZoom false
2019-08-10 21:33:38 DeviceType Camera
2019-08-10 21:33:42 Error none
2019-08-10 21:33:42 Errorcode none
2019-08-10 21:33:39 LastSnapFilename West-20190810-1948399821.jpg
2019-08-10 21:33:39 LastSnapId 749166
2019-08-10 21:33:39 LastSnapTime 10.08.2019 / 19:48:39
2019-08-10 21:33:38 LastUpdateTime 10.08.2019 / 21:33:38
2019-08-10 21:33:37 PollState Active - next time: 21:37:07
2019-08-10 21:33:38 Record Start
2019-08-10 21:33:39 SVSlicenseNumber 5
2019-08-10 21:33:39 SVSuserPriv Admin
2019-08-10 21:33:39 SVSversion 8.2.5-5850
2019-08-10 21:33:42 StmKey 5a793e725ac8be8c890999e462f028dd
2019-08-10 21:33:38 UsedSpaceMB 722.414
2019-08-10 21:33:38 VideoFolder /volume2/Surveillance/West
2019-08-10 21:33:39 compstate false
2019-08-10 21:33:39 state on
Attributes:
devStateIcon .*isable.*:set_off .*nap:li_wht_on
httptimeout 30
icon it_camera
pollcaminfoall 210
pollnologging 1
room Surveillance
session DSM
verbose 0
webCmd on:off:snap:enable:disable:runView:stopView
Est es was Du brauchst?
Ich habe gerade gesehen dass du eine alte version einsetzt. Die aktuelle ist die 8.16.2
Also ist die sscam nicht aktuell.
Lg,
Heiko
Ich fresse einen Besen. Genau! Ich habe gerade nochmals ein UPDATE durchgeführt. Da wurde auch die SSCam aktualisiert. Jetzt gibt's die Attribute wieder.
Jetzt werde ich die Konfiguration mal fortsetzen und schauen, ob's alles läuft.
Danke und Dir noch einen schönen Urlaub...
Danke :)