Hallo DS_Starter,
ich habe heute ein Update auf die Beta 9 Version gemacht und wahrscheinlich war das ein Fehler. Leider habe ich keine Verbindung mehr. Anfangs funktionierte es noch und dann nicht mehr. Ich habe das Paket auf der Synology neu gestartet und Fhem auch. Kann ich noch was machen?
Viele Grüße,
Stefan
Internals:
CAMNAME Auffahrt
COMPATIBILITY 8.2.10
CREDENTIALS Set
DEF Auffahrt 192.168.188.65 5000
FUUID 5cd19329-f33f-a51c-2bc5-2590df3772f66b02
FVERSION 49_SSCam.pm:v9.10.2-s25176/2021-11-03
MODEL CAM
NAME CamAuffahrt
NR 53
OPMODE Getcapabilities
PROTOCOL http
SERVERADDR 192.168.188.65
SERVERPORT 5000
STATE off
TYPE SSCam
HELPER:
ACTIVE off
CREDENTIALS ]qmreVq]dxxxxxxxxxx
GETSNAPGALLERY 1
HLSSTREAM inactive
LOGINRETRIES 0
OLDPTZHOME
OLDVALPOLL 60
OLDVALPOLLNOLOGGING 0
PACKAGE FHEM::SSCam
RECTIME_DEF 15
SNAPLIMIT 0
TOTALCNT 0
VERSION 9.10.2
VERSION_API 1.2.0
VERSION_ErrCodes 1.3.4
VERSION_SMUtils 1.23.1
API:
AUDIOSTM:
NAME SYNO.SurveillanceStation.AudioStream
AUTH:
MOD no
NAME SYNO.API.Auth
PATH entry.cgi
VER 7
CAM:
NAME SYNO.SurveillanceStation.Camera
CAMEVENT:
MOD no
NAME SYNO.SurveillanceStation.Camera.Event
PATH entry.cgi
VER 1
EVENT:
NAME SYNO.SurveillanceStation.Event
EXTEVT:
NAME SYNO.SurveillanceStation.ExternalEvent
EXTREC:
NAME SYNO.SurveillanceStation.ExternalRecording
HMODE:
MOD no
NAME SYNO.SurveillanceStation.HomeMode
PATH entry.cgi
VER 1
INFO:
MOD no
NAME SYNO.API.Info
PATH entry.cgi
VER 1
LOG:
NAME SYNO.SurveillanceStation.Log
PRESET:
NAME SYNO.SurveillanceStation.PTZ.Preset
PTZ:
NAME SYNO.SurveillanceStation.PTZ
REC:
NAME SYNO.SurveillanceStation.Recording
SNAPSHOT:
MOD no
NAME SYNO.SurveillanceStation.SnapShot
PATH entry.cgi
VER 1
STM:
MOD no
NAME SYNO.SurveillanceStation.Stream
PATH entry.cgi
VER 1
SVSINFO:
MOD no
NAME SYNO.SurveillanceStation.Info
PATH entry.cgi
VER 8
VIDEOSTM:
NAME SYNO.SurveillanceStation.VideoStreaming
VIDEOSTMS:
NAME SYNO.SurveillanceStation.VideoStream
READINGS:
2022-01-22 12:06:22 Availability ???
2022-01-22 09:25:50 CamAudioType AAC
2022-01-22 09:25:44 CamEventNum 802
2022-01-22 09:25:50 CamExposureControl Unknown
2022-01-22 09:25:50 CamExposureMode Unknown
2022-01-22 09:25:50 CamIP 192.168.188.70
2022-01-22 09:25:44 CamLastRec 20220122AM/Auffahrt-20220122-091015-1642839015011-7.mp4
2022-01-22 09:25:44 CamLastRecId 49481
2022-01-22 09:25:44 CamLastRecTime 2022-01-22 / 09:10:15 - 09:25:59
2022-01-22 09:25:50 CamLiveFps 10
2022-01-22 09:25:50 CamLiveMode Liveview from DS
2022-01-22 09:25:50 CamLiveQuality 5
2022-01-22 09:25:50 CamLiveResolution 1280x720
2022-01-22 09:25:50 CamLiveStreamNo 1
2022-01-22 09:25:50 CamModel Generic_ONVIF
2022-01-22 09:25:46 CamMotDetSc SVS, sensitivity: 95, threshold: 5
2022-01-22 09:25:50 CamNTPServer
2022-01-22 09:25:50 CamPort 8010
2022-01-22 09:25:50 CamPreRecTime 10
2022-01-22 09:25:50 CamRecShare Raspberry
2022-01-22 09:25:50 CamRecVolume /volume1
2022-01-22 09:05:06 CamStreamFormat HLS
2022-01-22 09:25:50 CamVendor ONVIF
2022-01-22 09:25:50 CamVideoFlip true
2022-01-22 09:25:50 CamVideoMirror true
2022-01-22 09:25:50 CamVideoRotate false
2022-01-22 09:25:50 CamVideoType H.264
2022-01-22 09:25:50 CamblPresetSpeed false
2022-01-22 09:26:40 CapAudioOut false
2022-01-22 09:26:40 CapChangeSpeed false
2022-01-22 09:25:50 CapPIR false
2022-01-22 09:26:40 CapPTZAbs false
2022-01-22 09:26:40 CapPTZAutoFocus false
2022-01-22 09:26:40 CapPTZDirections 0
2022-01-22 09:26:40 CapPTZFocus false
2022-01-22 09:26:40 CapPTZHome false
2022-01-22 09:26:40 CapPTZIris false
2022-01-22 09:26:40 CapPTZObjTracking false
2022-01-22 09:26:40 CapPTZPan false
2022-01-22 09:26:40 CapPTZPresetNumber 0
2022-01-22 09:26:40 CapPTZTilt false
2022-01-22 09:26:40 CapPTZZoom false
2022-01-22 09:25:50 DeviceType Camera
2022-01-22 12:10:26 Error API keys and values not completed
2022-01-22 12:10:26 Errorcode 9001
2022-01-22 09:26:42 LastSnapFilename Auffahrt-20220122-0924128622.jpg
2022-01-22 09:26:42 LastSnapId 13660
2022-01-22 09:26:42 LastSnapTime 2022-01-22 / 09:24:11
2022-01-22 09:25:50 LastUpdateTime 2022-01-22 / 09:25:50
2022-01-22 12:10:26 PollState Active - next time: 12:11:26
2022-01-22 09:25:50 Record Start
2022-01-22 09:26:44 SVSlicenseNumber 2
2022-01-22 09:26:44 SVSuserPriv Manager
2022-01-22 09:26:44 SVSversion 9.0.0-7519
2022-01-22 09:25:52 StmKey "200c81ae2f9225691b846721860d7184"
2022-01-22 09:25:50 UsedSpaceMB 299.766
2022-01-22 09:25:50 VideoFolder /volume1/Raspberry/Auffahrt
2022-01-22 12:06:42 compstate true
2022-01-22 12:06:22 state off
Attributes:
disable 0
event-on-change-reading .*
group Kamera
pollcaminfoall 60
room 03_Überwachung
session SurveillanceStation
verbose 0
webCmd on:off:snap:enable:disable:runView:stopView
Hallo stera,
du könntest das Attr simu_SVSversion auf z.B. 8.xxxx setzen um ein logisches "Downgrade" auf die angegebene SVS-Version zu machen.
Wenn das klappt, wovon ich ausgehe, schauen wir hinterher nochmal genauer was Synology mit der V geändert hat.
LG,
Heiko
Zitat von: DS_Starter am 22 Januar 2022, 13:05:04
Hallo stera,
du könntest das Attr simu_SVSversion auf z.B. 8.xxxx setzen um ein logisches "Downgrade" auf die angegebene SVS-Version zu machen.
Wenn das klappt, wovon ich ausgehe, schauen wir hinterher nochmal genauer was Synology mit der V geändert hat.
LG,
Heiko
Danke für die schnelle Antwort Heiko. Leider gehts nicht. Habe auf simu_SVSversion 8.2.0-xxxx gestellt und auch andere Version getestet. SVS Paket und Fhem nochmal neugestartet.
Weiterhin API Fehler:
Hier mal der Log mit verbose 5:
2022.01.22 13:59:14.502 4: CamAuffahrt - API imported:
$VAR1 = {
'EXTREC' => {
'NAME' => 'SYNO.SurveillanceStation.ExternalRecording'
},
'SNAPSHOT' => {
'NAME' => 'SYNO.SurveillanceStation.SnapShot'
},
'AUDIOSTM' => {
'NAME' => 'SYNO.SurveillanceStation.AudioStream'
},
'SVSINFO' => {
'NAME' => 'SYNO.SurveillanceStation.Info'
},
'LOG' => {
'NAME' => 'SYNO.SurveillanceStation.Log'
},
'HMODE' => {
'NAME' => 'SYNO.SurveillanceStation.HomeMode'
},
'VIDEOSTM' => {
'NAME' => 'SYNO.SurveillanceStation.VideoStreaming'
},
'EXTEVT' => {
'NAME' => 'SYNO.SurveillanceStation.ExternalEvent'
},
'REC' => {
'NAME' => 'SYNO.SurveillanceStation.Recording'
},
'CAMEVENT' => {
'NAME' => 'SYNO.SurveillanceStation.Camera.Event'
},
'AUTH' => {
'NAME' => 'SYNO.API.Auth'
},
'VIDEOSTMS' => {
'NAME' => 'SYNO.SurveillanceStation.VideoStream'
},
'CAM' => {
'NAME' => 'SYNO.SurveillanceStation.Camera'
},
'PTZ' => {
'NAME' => 'SYNO.SurveillanceStation.PTZ'
},
'EVENT' => {
'NAME' => 'SYNO.SurveillanceStation.Event'
},
'PRESET' => {
'NAME' => 'SYNO.SurveillanceStation.PTZ.Preset'
},
'STM' => {
'NAME' => 'SYNO.SurveillanceStation.Stream'
},
'INFO' => {
'VER' => 1,
'NAME' => 'SYNO.API.Info',
'PATH' => 'query.cgi'
}
};
2022.01.22 13:59:14.502 4: CamAuffahrt - Call-Out now: http://192.168.188.65:5000/webapi/query.cgi?api=SYNO.API.Info&method=Query&version=1&query=SYNO.SurveillanceStation.ExternalRecording,SYNO.SurveillanceStation.SnapShot,SYNO.SurveillanceStation.AudioStream,SYNO.SurveillanceStation.Info,SYNO.SurveillanceStation.Log,SYNO.SurveillanceStation.HomeMode,SYNO.SurveillanceStation.VideoStreaming,SYNO.SurveillanceStation.ExternalEvent,SYNO.SurveillanceStation.Recording,SYNO.SurveillanceStation.Camera.Event,SYNO.API.Auth,SYNO.SurveillanceStation.VideoStream,SYNO.SurveillanceStation.Camera,SYNO.SurveillanceStation.PTZ,SYNO.SurveillanceStation.Event,SYNO.SurveillanceStation.PTZ.Preset,SYNO.SurveillanceStation.Stream,SYNO.API.Info
2022.01.22 13:59:14.867 5: CamAuffahrt - JSON returned: $VAR1 = {
'data' => {
'SYNO.SurveillanceStation.Log' => {
'minVersion' => 1,
'maxVersion' => 3,
'path' => 'entry.cgi',
'requestFormat' => 'JSON'
},
'SYNO.SurveillanceStation.Camera.Event' => {
'path' => 'entry.cgi',
'minVersion' => 1,
'maxVersion' => 1,
'requestFormat' => 'JSON'
},
'SYNO.SurveillanceStation.HomeMode' => {
'maxVersion' => 1,
'minVersion' => 1,
'path' => 'entry.cgi',
'requestFormat' => 'JSON'
},
'SYNO.SurveillanceStation.ExternalEvent' => {
'requestFormat' => 'JSON',
'path' => 'entry.cgi',
'maxVersion' => 1,
'minVersion' => 1
},
'SYNO.SurveillanceStation.Info' => {
'requestFormat' => 'JSON',
'path' => 'entry.cgi',
'minVersion' => 1,
'maxVersion' => 8
},
'SYNO.SurveillanceStation.Camera' => {
'requestFormat' => 'JSON',
'path' => 'entry.cgi',
'minVersion' => 1,
'maxVersion' => 9
},
'SYNO.API.Auth' => {
'path' => 'entry.cgi',
'maxVersion' => 7,
'minVersion' => 1
},
'SYNO.API.Info' => {
'path' => 'entry.cgi',
'maxVersion' => 1,
'minVersion' => 1,
'requestFormat' => 'JSON'
},
'SYNO.SurveillanceStation.Recording' => {
'minVersion' => 1,
'maxVersion' => 6,
'path' => 'entry.cgi',
'requestFormat' => 'JSON'
},
'SYNO.SurveillanceStation.Stream' => {
'requestFormat' => 'JSON',
'maxVersion' => 1,
'minVersion' => 1,
'path' => 'entry.cgi'
},
'SYNO.SurveillanceStation.PTZ.Preset' => {
'path' => 'entry.cgi',
'minVersion' => 1,
'maxVersion' => 1,
'requestFormat' => 'JSON'
},
'SYNO.SurveillanceStation.VideoStreaming' => {
'maxVersion' => 1,
'minVersion' => 1,
'path' => 'entry.cgi',
'requestFormat' => 'JSON'
},
'SYNO.SurveillanceStation.PTZ' => {
'requestFormat' => 'JSON',
'maxVersion' => 6,
'minVersion' => 1,
'path' => 'entry.cgi'
},
'SYNO.SurveillanceStation.ExternalRecording' => {
'requestFormat' => 'JSON',
'minVersion' => 1,
'maxVersion' => 3,
'path' => 'entry.cgi'
},
'SYNO.SurveillanceStation.Event' => {
'requestFormat' => 'JSON',
'maxVersion' => 5,
'minVersion' => 1,
'path' => 'entry.cgi'
},
'SYNO.SurveillanceStation.SnapShot' => {
'path' => 'entry.cgi',
'minVersion' => 1,
'maxVersion' => 1,
'requestFormat' => 'JSON'
}
},
'success' => bless( do{\(my $o = 1)}, 'JSON::PP::Boolean' )
};
2022.01.22 13:59:14.868 2: CamAuffahrt - ERROR - API keys and values not completed
2022.01.22 13:59:15.098 4: CamAuffahrt - ####################################################
2022.01.22 13:59:15.099 4: CamAuffahrt - ### start cam operation geteventlist
2022.01.22 13:59:15.099 4: CamAuffahrt - ####################################################
2022.01.22 13:59:15.099 4: CamAuffahrt - --- Start getApiSites ---
2022.01.22 13:59:15.099 5: CamAuffahrt - HTTP-Call will be done with httptimeout-Value: 20 s
2022.01.22 13:59:15.102 4: CamAuffahrt - API imported:
Ja ich sehe, Syno hat zwei API-Keys entfernt. Schaue ich mal ...
Ich habe dir eine Testversion der SynoModules API.pm bereitgestellt.
Zum Download in der FHEMWEB Kommandozeile inklusive der Anführungszeichen angeben und danach FHEM restarten:
"wget -qO ./lib/FHEM/SynoModules/API.pm https://svn.fhem.de/fhem/trunk/fhem/contrib/DS_Starter/API.pm"
Es wird noch ein paar Warnungen im Log geben, aber das ist erstmal egal.
Schau mal bitte ob es damit funktioniert.
Sehr gut! Das funktioniert mit den erwarteten LogFehler. Ich habe das Attr simu_SVSversion noch gelassen. Hatte das kurzzeitig gelöscht und dann kam ein Error.
Danke, dass du so schnell eine Übergangslösung gefunden hast 8)
Gruß,
Stefan
Sehr gut dass es zunächst funktioniert. Jetzt überlege ich mir in Ruhe wie ich den Change sauber implementiere.
Evtl. melde ich mich schon morgen nochmal mit einer neuen Version und der Bitte sie zu testen.
LG,
Heiko
Dankeschön, vielen Dank :)
Hallo Stefan,
ich habe den Change recht umfangreich eingebaut um auch zukünftig leichte Anpassungen vornehmen zu können.
Ich hoffe das klappt. Du müsstest bitte die nachfolgenden drei Module herunterzuladen und dann restarten:
"wget -qO ./FHEM/49_SSCam.pm https://svn.fhem.de/fhem/trunk/fhem/contrib/DS_Starter/49_SSCam.pm"
"wget -qO ./lib/FHEM/SynoModules/SMUtils.pm https://svn.fhem.de/fhem/trunk/fhem/contrib/DS_Starter/SMUtils.pm"
"wget -qO ./lib/FHEM/SynoModules/API.pm https://svn.fhem.de/fhem/trunk/fhem/contrib/DS_Starter/API.pm"
Bin gespannt auf dein Resultat.
Grüße,
Heiko
Hallo Heiko,
ich habe das Attr simu_SVSversion gelöscht und die Verbindung wurde erfolgreich aufgebaut. Habe dann Fhem neu gestartet und bis jetzt keine Fehlermeldung im Log zu sehen. Allerdings habe ich es auf verbose 0 stehen. Vorher kam aber auch damit die Meldungen.
Vielen Vielen Dank für die schnelle Umsetzung. Von meiner Seite aus funktioniert es wunderbar.
Viele Grüße,
Stefan
Danke für die positive Rückmeldung Stefan.
Ich checke die Module ein und sind morgen früh im Update.
LG,
Heiko