Neuigkeiten:

Am Sonntag den 8.12.2024 kann es ab ca. 8:00 Uhr zu kurzzeitigen Einschränkungen / Ausfällen bei den Diensten des FHEM Vereines kommen.
Die Server müssen mal gewartet und dabei neu gestartet werden ;)

Hauptmenü

SSCam - nach Systemwechsel keine Snapshots mehr

Begonnen von Icinger, 10 Oktober 2024, 09:46:56

Vorheriges Thema - Nächstes Thema

Icinger

Hallo Heiko, Hallo alle anderen,

Ich habe vor ein paar Tagen mein System von einem XPenology auf eine DS923+ gewechselt.

Grundsätzlich funktioniert alles einwandfrei. Das einige Problem, das ich aktuell habe:
Ich kann von FHEM aus keine Snapshots mit den Kameras mehr anstossen.
In der SurveilanceStation ist ein Snapshot kein Problem, aber über FHEM bekomme ich nur Fehler (bzw. kommt nach ~5 Minuten dann der letzte Snapshot, den ich in der SurveilanceStation aufgenommen habe)

Ein kurzes verbose 5 bringt mir folgendes:
2024.10.10 06:26:50 3:  SSCam.Stiege - no session ID found - get new one
2024.10.10 06:27:31 4:  SSCam.Stiege - Trigger snapshots - Number: 1, Lag: 2
2024.10.10 06:27:31 4:  SSCam.Stiege - ####################################################
2024.10.10 06:27:31 4:  SSCam.Stiege - ###    start cam operation Snap         
2024.10.10 06:27:31 4:  SSCam.Stiege - ####################################################
2024.10.10 06:27:31 5:  getCombinedKeyValAttr SSCam.Stiege state: including HASH from device attribute readingsDesc
2024.10.10 06:27:31 5:  getCombinedKeyValAttr SSCam.Stiege state: including HASH from device attribute readingsDesc
2024.10.10 06:27:31 4:  SSCam.Stiege - --- Start getCamId ---
2024.10.10 06:27:31 4:  SSCam.Stiege - CAMID already set - ignore get camid
2024.10.10 06:27:31 4:  SSCam.Stiege - --- Start Snap ---
2024.10.10 06:27:31 5:  SSCam.Stiege - HTTP-Call will be done with httptimeout-Value: 20 s
2024.10.10 06:27:31 4:  SSCam.Stiege - Call-Out now: http://192.168.1.25:5000/webapi/entry.cgi?api="SYNO.SurveillanceStation.SnapShot"&version="1"&dsId="0"&method="TakeSnapshot"&blSave="true"&camId="5"&_sid="Hx6B654HpYK_XzYjwknQdUW202RvZoFLrlTcn7vktT8Z6wFvdUn_hyPq6dt1xtTwVTAYx6eafoVPUr-oiskYAA"
2024.10.10 06:27:31 5:  getCombinedKeyValAttr SSCam.Stiege Error: including HASH from device attribute readingsDesc
2024.10.10 06:27:31 5:  getCombinedKeyValAttr SSCam.Stiege Error: including HASH from device attribute readingsDesc
2024.10.10 06:27:31 5:  getCombinedKeyValAttr SSCam.Stiege Errorcode: including HASH from device attribute readingsDesc
2024.10.10 06:27:31 5:  getCombinedKeyValAttr SSCam.Stiege Errorcode: including HASH from device attribute readingsDesc
2024.10.10 06:27:31 5:  getCombinedKeyValAttr SSCam.Stiege state: including HASH from device attribute readingsDesc
2024.10.10 06:27:31 5:  getCombinedKeyValAttr SSCam.Stiege state: including HASH from device attribute readingsDesc
2024.10.10 06:27:31 4:  SSCam.Stiege - Data returned:








AQEBAgICAgICAgICAgICAgICAgICAgICAgICAgICAgL/2wBDAQEBAQEBAQICAgICAgICAgICAgIC
AgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgL/wAARCAAzAMgDAREA
AhEBAxEB/8QAHwAAAgIDAAMBAQAAAAAAAAAAAAkICgEGBwQFCwMC/8QARBAAAAYCAAUCBQIDAwYP
AAAAAQIDBAUGBwgACRESExQhChUiMUEWMiNCURckYRhDUnGBkRozNDY5U2JydHZ4sbW2wf/EABgB
<gekürzt>
cqusWgPJY8Moz86qgkilmSkUkQ3hSZERAqYBcPj2DGJZMoqLZNI2MjWjePjo1g3RZsI9gyQK3Zsm
TNuBU0kkkylImmQpSEIAFKAAABwHm8AcB//Z
"/>


© 2024 Synology Inc.




/* Copyright (c) 2024 Synology Inc. All rights reserved. */

(function(){var a={en:"Sorry, the page you are looking for is not found.",zh:"\u62b1\u6b49\uff0c\u60a8\u6240\u6307\u5b9a\u7684\u9875\u9762\u4e0d\u5b58\u5728\u3002",it:"La pagina richiesta non \u00e8 stata trovata.","zh-HK":"\u62b1\u6b49\uff0c\u60a8\u6240\u6307\u5b9a\u7684\u9801\u9762\u4e0d\u5b58\u5728\u3002",cs:"Hledan\u00e1 str\u00e1nka nebyla nalezena.",es:"Lo sentimos, no se encuentra la p\u00e1gina que est\u00e1 buscando.",ru:"\u0418\u0437\u0432\u0438\u043d\u0438\u0442\u0435, \u0438\u0441\u043a\u043e\u043c\u0430\u044f \u0432\u0430\u043c\u0438 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430 \u043d\u0435 \u043d\u0430\u0439\u0434\u0435\u043d\u0430.",nl:"Sorry, de pagina die u zoekt kan niet weergegeven worden.",pt:"Desculpe, a p\u00e1gina que procura n\u00e3o foi encontrada.",no:"Beklager, siden du leter etter finnes ikke.",nb:"Beklager, siden du leter etter finnes ikke.",tr:"\u00dczg\u00fcn\u00fcz, arad\u0131\u011f\u0131n\u0131z sayfa bulunamad\u0131.",pl:"Przepraszamy, nie znaleziono strony, kt\u00f3rej szukasz.",fr:"D\u00e9sol\u00e9, la page que vous recherchez est introuvable.",de:"Es tut uns Leid, die von Ihnen gesuchte Seite konnte nicht gefunden werden.",da:"Desv\u00e6rre, den side, du leder efter, kunne ikke findes.","pt-BR":"Desculpe, a p\u00e1gina que procura n\u00e3o foi encontrada.","zh-MO":"\u62b1\u6b49\uff0c\u60a8\u6240\u6307\u5b9a\u7684\u9801\u9762\u4e0d\u5b58\u5728\u3002",hu:"Eln\u00e9z\u00e9st, a keresett oldal nem tal\u00e1lhat\u00f3.",ja:"\u7533\u3057\u8a33\u3042\u308a\u307e\u305b\u3093\u304c\u3001\u635c\u3057\u3066\u3044\u308b\u30da\u30fc\u30b8\u304c\u898b\u3064\u304b\u308a\u307e\u305b\u3093",nn:"Beklager, siden du leter etter finnes ikke.","zh-TW":"\u62b1\u6b49\uff0c\u60a8\u6240\u6307\u5b9a\u7684\u9801\u9762\u4e0d\u5b58\u5728\u3002",ko:"\uc8c4\uc1a1\ud569\ub2c8\ub2e4. \ucc3e\uace0\uc790 \ud558\ub294 \ud398\uc774\uc9c0\ub97c \ubc1c\uacac\ud558\uc9c0 \ubabb\ud588\uc2b5\ub2c8\ub2e4.",sv:"Sidan du s\u00f6ker hittades inte."};var b=window.navigator.browserLanguage||window.navigator.language;if(-1==["zh-TW","zh-MO","zh-HK","pt-BR"].indexOf(b)){b=b.split("-",1)}document.getElementById("a").innerHTML=a[b]||a.en})();

Habe auch schon versucht, die Kameras in FHEM zu löschen und mit autoCreateCams neu anlegen zu lassen. Danach natürlich die Credentials auch nochmal gesetzt.
Bringt aber leider nichts.
Am FHEM (in Docker) habe ich absolut nichts verändert.

Irgendjemand eine Idee, woran ich noch rumschrauben könnte?

lg, Stefan

PS:
Hier noch ein List:
define SSCam.Stiege SSCam Stiege 192.168.1.25 5000 http
attr SSCam.Stiege DbLogExclude .*
attr SSCam.Stiege devStateIcon .*isable.*:set_off .*nap:li_wht_on
attr SSCam.Stiege httptimeout 20
attr SSCam.Stiege icon it_camera
attr SSCam.Stiege pollcaminfoall 210
attr SSCam.Stiege pollnologging 1
attr SSCam.Stiege room SSCam
attr SSCam.Stiege session DSM
attr SSCam.Stiege snapTelegramTxt tbot => myTelegram, peers => @PetraGuttmann @StefanGuttmann, subject => Es hat geklingelt
attr SSCam.Stiege webCmd on:off:snap:enable:disable:runView:stopView
#   CAMID      5
#   CAMNAME    Stiege
#   CFGFN     
#   COMPATIBILITY 9.0.00
#   CREDENTIALS Set
#   DEF        Stiege 192.168.1.25 5000 http
#   FUUID      67075008-f33f-d004-cbbd-5daa97b60788cc66
#   FVERSION   49_SSCam.pm:v9.11.4-s28874/2024-05-13
#   MODEL      ONVIF - Generic_ONVIF
#   NAME       SSCam.Stiege
#   NR         728
#   OPMODE     getStmUrlPath
#   PROTOCOL   http
#   SERVERADDR 192.168.1.25
#   SERVERPORT 5000
#   STATE      off
#   TYPE       SSCam
#   eventCount 887
#   HELPER:
#     ACTIVE     off
#     CREDENTIALS f7Wr]oG~PoRsTWW3XEP}NZX?␋
#     HLSSTREAM  inactive
#     LOGINRETRIES 0
#     OLDPTZHOME
#     OLDVALPOLL 210
#     OLDVALPOLLNOLOGGING 1
#     PACKAGE    FHEM::SSCam
#     RECTIME_DEF 15
#     SID        Hx6B654HpYK_XzYjwknQdUW202RvZoFLrlTcn7vktT8Z6wFvdUn_hyPq6dt1xtTwVTAYx6eafoVPUr-oiskYAA
#     SNAPLAG    2
#     SNAPLIMIT  1
#     SNAPNUMCOUNT 1
#     STMKEYMJPEGHTTP http://192.168.1.25:5000/webapi/entry.cgi?api=SYNO.SurveillanceStation.Stream.VideoStreaming&version=1&method=Stream&format=mjpeg&cameraId=5&StmKey="95225cffefbb14d3deb98c3ed679cd11"
#     STMKEYMXPEGHTTP http://192.168.1.25:5000/webapi/entry.cgi?api=SYNO.SurveillanceStation.Stream.VideoStreaming&version=1&method=Stream&format=mxpeg&cameraId=5&StmKey="95225cffefbb14d3deb98c3ed679cd11"
#     STMKEYUNICST rtsp://syno:95225cffefbb14d3deb98c3ed679cd11@192.168.1.25:554/Sms=5.unicast
#     STMKEYUNICSTOVERHTTP rtsp://192.168.1.25:5000/webman/3rdparty/SurveillanceStation/cgi/rtsp.cgi?Sms=5.unicast&DsId=0&StmKey=95225cffefbb14d3deb98c3ed679cd11
#     TOTALCNT   1
#     VERSION    9.11.4
#     VERSION_API 1.4.0
#     VERSION_CTZ unused
#     VERSION_ErrCodes 1.3.7
#     VERSION_SMUtils 1.27.2
#     API:
#       PARSET     1
#       AUDIOSTM:
#         MOD        no
#         NAME       SYNO.SurveillanceStation.AudioStream
#         PATH      
#         VER       
#         mk         0
#       AUTH:
#         MOD        yes
#         NAME       SYNO.API.Auth
#         PATH       entry.cgi
#         VER        6
#         mk         1
#       CAM:
#         MOD        no
#         NAME       SYNO.SurveillanceStation.Camera
#         PATH       entry.cgi
#         VER        9
#         mk         1
#       CAMEVENT:
#         MOD        no
#         NAME       SYNO.SurveillanceStation.Camera.Event
#         PATH       entry.cgi
#         VER        1
#         mk         1
#       EVENT:
#         MOD        no
#         NAME       SYNO.SurveillanceStation.Event
#         PATH       entry.cgi
#         VER        5
#         mk         1
#       EXTEVT:
#         MOD        no
#         NAME       SYNO.SurveillanceStation.ExternalEvent
#         PATH       entry.cgi
#         VER        1
#         mk         1
#       EXTREC:
#         MOD        no
#         NAME       SYNO.SurveillanceStation.ExternalRecording
#         PATH       entry.cgi
#         VER        3
#         mk         1
#       HMODE:
#         MOD        no
#         NAME       SYNO.SurveillanceStation.HomeMode
#         PATH       entry.cgi
#         VER        1
#         mk         0
#       INFO:
#         MOD        no
#         NAME       SYNO.API.Info
#         PATH       entry.cgi
#         VER        1
#         mk         1
#       LOG:
#         MOD        no
#         NAME       SYNO.SurveillanceStation.Log
#         PATH       entry.cgi
#         VER        3
#         mk         1
#       PRESET:
#         MOD        no
#         NAME       SYNO.SurveillanceStation.PTZ.Preset
#         PATH       entry.cgi
#         VER        1
#         mk         1
#       PTZ:
#         MOD        no
#         NAME       SYNO.SurveillanceStation.PTZ
#         PATH       entry.cgi
#         VER        6
#         mk         1
#       REC:
#         MOD        no
#         NAME       SYNO.SurveillanceStation.Recording
#         PATH       entry.cgi
#         VER        6
#         mk         1
#       SNAPSHOT:
#         MOD        no
#         NAME       SYNO.SurveillanceStation.SnapShot
#         PATH       entry.cgi
#         VER        1
#         mk         1
#       STM:
#         MOD        no
#         NAME       SYNO.SurveillanceStation.Stream
#         PATH       entry.cgi
#         VER        1
#         mk         1
#       SVSINFO:
#         MOD        no
#         NAME       SYNO.SurveillanceStation.Info
#         PATH       entry.cgi
#         VER        8
#         mk         1
#       VIDEOSTM:
#         MOD        no
#         NAME       SYNO.SurveillanceStation.VideoStreaming
#         PATH       entry.cgi
#         VER        1
#         mk         1
#       VIDEOSTMS:
#         MOD        no
#         NAME       SYNO.SurveillanceStation.VideoStream
#         PATH      
#         VER       
#         mk         0
#     SVSVERSION:
#       BUILD      11380
#       MAJOR      9
#       MINOR      2
#       SMALL      1
#   Helper:
#     DBLOG:
#       Availability:
#         logdb:
#           TIME       1728532488.49669
#           VALUE      ???
#       PollState:
#         logdb:
#           TIME       1728532488.49669
#           VALUE      Inactive
#       state:
#         logdb:
#           TIME       1728532488.49669
#           VALUE      off
#   READINGS:
#     2024-10-10 09:46:30   Availability    enabled
#     2024-10-10 09:46:30   CamAudioType    G711
#     2024-10-10 09:46:25   CamEventNum     37
#     2024-10-10 09:46:30   CamExposureControl Auto
#     2024-10-10 09:46:30   CamExposureMode Auto
#     2024-10-10 09:46:30   CamIP           192.168.1.132
#     2024-10-10 09:46:25   CamLastRec      20241010AM/Stiege-20241010-092628-1728545188188-7.mp4
#     2024-10-10 09:46:25   CamLastRecId    68078
#     2024-10-10 09:46:25   CamLastRecTime  10.10.2024 / 09:26:28 - 09:26:48
#     2024-10-10 09:46:30   CamLiveFps      15
#     2024-10-10 09:46:30   CamLiveMode     Liveview from DS
#     2024-10-10 09:46:30   CamLiveQuality  5
#     2024-10-10 09:46:30   CamLiveResolution 2560x1440
#     2024-10-10 09:46:30   CamLiveStreamNo 1
#     2024-10-10 09:46:30   CamModel        Generic_ONVIF
#     2024-10-10 09:46:28   CamMotDetSc     SVS, sensitivity: 90, threshold: 10
#     2024-10-10 09:46:30   CamNTPServer   
#     2024-10-10 09:46:30   CamPort         8080
#     2024-10-10 09:46:30   CamPreRecTime   5
#     2024-10-10 09:46:30   CamRecShare     surveilance
#     2024-10-10 09:46:30   CamRecVolume    /volume2
#     2024-10-10 09:46:30   CamVendor       ONVIF
#     2024-10-10 09:46:30   CamVideoFlip    false
#     2024-10-10 09:46:30   CamVideoMirror  false
#     2024-10-10 09:46:30   CamVideoRotate  false
#     2024-10-10 09:46:30   CamVideoType    H.264
#     2024-10-10 09:46:30   CamblPresetSpeed false
#     2024-10-10 09:46:21   CapAudioOut     false
#     2024-10-10 09:46:21   CapChangeSpeed  false
#     2024-10-10 09:46:30   CapPIR          false
#     2024-10-10 09:46:21   CapPTZAbs       false
#     2024-10-10 09:46:21   CapPTZAutoFocus false
#     2024-10-10 09:46:21   CapPTZDirections 0
#     2024-10-10 09:46:21   CapPTZFocus     false
#     2024-10-10 09:46:21   CapPTZHome      false
#     2024-10-10 09:46:21   CapPTZIris      false
#     2024-10-10 09:46:21   CapPTZObjTracking false
#     2024-10-10 09:46:21   CapPTZPan       false
#     2024-10-10 09:46:21   CapPTZPresetNumber 0
#     2024-10-10 09:46:21   CapPTZTilt      false
#     2024-10-10 09:46:21   CapPTZZoom      false
#     2024-10-10 09:46:30   DeviceType      Camera
#     2024-10-10 09:46:33   Error           none
#     2024-10-10 09:46:33   Errorcode       none
#     2024-10-10 09:46:25   LastSnapFilename Stiege-20241010-0600203050.jpg
#     2024-10-10 09:46:25   LastSnapId      41219
#     2024-10-10 09:46:25   LastSnapTime    10.10.2024 / 06:00:20
#     2024-10-10 09:46:30   LastUpdateTime  10.10.2024 / 09:46:30
#     2024-10-10 09:46:21   PollState       Active - next time: 09:49:51
#     2024-10-10 09:46:30   Record          Stop
#     2024-10-10 09:46:23   SVSlicenseNumber 2
#     2024-10-10 09:46:23   SVSuserPriv     Admin
#     2024-10-10 09:46:23   SVSversion      9.2.1-11380
#     2024-10-10 09:46:33   StmKey          "95225cffefbb14d3deb98c3ed679cd11"
#     2024-10-10 09:46:30   UsedSpaceMB     0.594
#     2024-10-10 09:46:30   VideoFolder     /volume2/surveilance/Stiege
#     2024-10-10 09:46:23   compstate       true
#     2024-10-10 08:36:23   sendTeleState   Telegram message [0] of transaction "1863" sent to "@PG @SG" by "myTelegram"
#     2024-10-10 09:46:30   state           off
#   powerMap:
#   readingsDesc:
#     pM_consumption:
#       rtype      w
#     pM_energy:
#       rtype      whr
#
setstate SSCam.Stiege off
setstate SSCam.Stiege 2024-10-10 09:46:30 Availability enabled
setstate SSCam.Stiege 2024-10-10 09:46:30 CamAudioType G711
setstate SSCam.Stiege 2024-10-10 09:46:25 CamEventNum 37
setstate SSCam.Stiege 2024-10-10 09:46:30 CamExposureControl Auto
setstate SSCam.Stiege 2024-10-10 09:46:30 CamExposureMode Auto
setstate SSCam.Stiege 2024-10-10 09:46:30 CamIP 192.168.1.132
setstate SSCam.Stiege 2024-10-10 09:46:25 CamLastRec 20241010AM/Stiege-20241010-092628-1728545188188-7.mp4
setstate SSCam.Stiege 2024-10-10 09:46:25 CamLastRecId 68078
setstate SSCam.Stiege 2024-10-10 09:46:25 CamLastRecTime 10.10.2024 / 09:26:28 - 09:26:48
setstate SSCam.Stiege 2024-10-10 09:46:30 CamLiveFps 15
setstate SSCam.Stiege 2024-10-10 09:46:30 CamLiveMode Liveview from DS
setstate SSCam.Stiege 2024-10-10 09:46:30 CamLiveQuality 5
setstate SSCam.Stiege 2024-10-10 09:46:30 CamLiveResolution 2560x1440
setstate SSCam.Stiege 2024-10-10 09:46:30 CamLiveStreamNo 1
setstate SSCam.Stiege 2024-10-10 09:46:30 CamModel Generic_ONVIF
setstate SSCam.Stiege 2024-10-10 09:46:28 CamMotDetSc SVS, sensitivity: 90, threshold: 10
setstate SSCam.Stiege 2024-10-10 09:46:30 CamNTPServer
setstate SSCam.Stiege 2024-10-10 09:46:30 CamPort 8080
setstate SSCam.Stiege 2024-10-10 09:46:30 CamPreRecTime 5
setstate SSCam.Stiege 2024-10-10 09:46:30 CamRecShare surveilance
setstate SSCam.Stiege 2024-10-10 09:46:30 CamRecVolume /volume2
setstate SSCam.Stiege 2024-10-10 09:46:30 CamVendor ONVIF
setstate SSCam.Stiege 2024-10-10 09:46:30 CamVideoFlip false
setstate SSCam.Stiege 2024-10-10 09:46:30 CamVideoMirror false
setstate SSCam.Stiege 2024-10-10 09:46:30 CamVideoRotate false
setstate SSCam.Stiege 2024-10-10 09:46:30 CamVideoType H.264
setstate SSCam.Stiege 2024-10-10 09:46:30 CamblPresetSpeed false
setstate SSCam.Stiege 2024-10-10 09:46:21 CapAudioOut false
setstate SSCam.Stiege 2024-10-10 09:46:21 CapChangeSpeed false
setstate SSCam.Stiege 2024-10-10 09:46:30 CapPIR false
setstate SSCam.Stiege 2024-10-10 09:46:21 CapPTZAbs false
setstate SSCam.Stiege 2024-10-10 09:46:21 CapPTZAutoFocus false
setstate SSCam.Stiege 2024-10-10 09:46:21 CapPTZDirections 0
setstate SSCam.Stiege 2024-10-10 09:46:21 CapPTZFocus false
setstate SSCam.Stiege 2024-10-10 09:46:21 CapPTZHome false
setstate SSCam.Stiege 2024-10-10 09:46:21 CapPTZIris false
setstate SSCam.Stiege 2024-10-10 09:46:21 CapPTZObjTracking false
setstate SSCam.Stiege 2024-10-10 09:46:21 CapPTZPan false
setstate SSCam.Stiege 2024-10-10 09:46:21 CapPTZPresetNumber 0
setstate SSCam.Stiege 2024-10-10 09:46:21 CapPTZTilt false
setstate SSCam.Stiege 2024-10-10 09:46:21 CapPTZZoom false
setstate SSCam.Stiege 2024-10-10 09:46:30 DeviceType Camera
setstate SSCam.Stiege 2024-10-10 09:46:33 Error none
setstate SSCam.Stiege 2024-10-10 09:46:33 Errorcode none
setstate SSCam.Stiege 2024-10-10 09:46:25 LastSnapFilename Stiege-20241010-0600203050.jpg
setstate SSCam.Stiege 2024-10-10 09:46:25 LastSnapId 41219
setstate SSCam.Stiege 2024-10-10 09:46:25 LastSnapTime 10.10.2024 / 06:00:20
setstate SSCam.Stiege 2024-10-10 09:46:30 LastUpdateTime 10.10.2024 / 09:46:30
setstate SSCam.Stiege 2024-10-10 09:46:21 PollState Active - next time: 09:49:51
setstate SSCam.Stiege 2024-10-10 09:46:30 Record Stop
setstate SSCam.Stiege 2024-10-10 09:46:23 SVSlicenseNumber 2
setstate SSCam.Stiege 2024-10-10 09:46:23 SVSuserPriv Admin
setstate SSCam.Stiege 2024-10-10 09:46:23 SVSversion 9.2.1-11380
setstate SSCam.Stiege 2024-10-10 09:46:33 StmKey "95225cffefbb14d3deb98c3ed679cd11"
setstate SSCam.Stiege 2024-10-10 09:46:30 UsedSpaceMB 0.594
setstate SSCam.Stiege 2024-10-10 09:46:30 VideoFolder /volume2/surveilance/Stiege
setstate SSCam.Stiege 2024-10-10 09:46:23 compstate true
setstate SSCam.Stiege 2024-10-10 08:36:23 sendTeleState Telegram message [0] of transaction "1863" sent to "@PetraGuttmann @StefanGuttmann" by "myTelegram"
setstate SSCam.Stiege 2024-10-10 09:46:30 state off

Verwende deine Zeit nicht mit Erklärungen. Die Menschen hören (lesen) nur, was sie hören (lesen) wollen. (c) Paulo Coelho

DS_Starter

Hallo Stefan,

die returned data der Synology:

Zitat/* Copyright (c) 2024 Synology Inc. All rights reserved. */

(function(){var a={en:"Sorry, the page you are looking for is not found.

deuten sehr stark darauf hin, dass die angesprochene API im call auf der Synology nicht verfügbar ist.
Deine SVS Version auf der Syno ist die 9.2.1-11380 soweit ich sehen kann.
Bei mir steht bis dato nur die SVS Version 9.2.0-11289 zur Verfügung mit der auch alles funktioniert.
Du kannst mal versuchen die SVS Version logisch downzugraden mit dem Attr

 simu_SVSversion = 8.2.8-xxxx

LG,
Heiko
Proxmox+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

Icinger

Hallo Heiko,

das mit der Version stimmt.

Das simu-attr bringt macht leider keinen Unterschied, habs bei beiden Devices probiert (Cam und das SVS-Device)
Kommt die gleiche Antwort von der Syno wie vorher (not found...)

lg, Stefan
Verwende deine Zeit nicht mit Erklärungen. Die Menschen hören (lesen) nur, was sie hören (lesen) wollen. (c) Paulo Coelho

DS_Starter

Ja dann ist die Wahrscheinlichkeit hoch, dass Synology in der neueren Version ann der API gefummelt hat.
Setz mal bitte im Device verbose 4 und dann ein get ... scanVirgin.
Es kommt eine Ausgabe der API-Versionen:

2024.10.10 20:38:28.174 4: CamHE1 - ####################################################
2024.10.10 20:38:28.176 4: CamHE1 - ###    start cam operation Getcapabilities         
2024.10.10 20:38:28.178 4: CamHE1 - ####################################################
2024.10.10 20:38:28.182 4: CamHE1 - --- Start getApiSites ---
2024.10.10 20:38:28.185 4: CamHE1 - API imported:
{
  'VIDEOSTM' => {
                  'mk' => 1,
                  'NAME' => 'SYNO.SurveillanceStation.VideoStreaming'
                },
  'PTZ' => {
             'NAME' => 'SYNO.SurveillanceStation.PTZ',
             'mk' => 1
           },
  'CAMEVENT' => {
                  'mk' => 1,
                  'NAME' => 'SYNO.SurveillanceStation.Camera.Event'
                },
  'EVENT' => {
               'NAME' => 'SYNO.SurveillanceStation.Event',
               'mk' => 1
             },
  'REC' => {
             'mk' => 1,
             'NAME' => 'SYNO.SurveillanceStation.Recording'
           },
  'EXTEVT' => {
                'mk' => 1,
                'NAME' => 'SYNO.SurveillanceStation.ExternalEvent'
              },
  'SNAPSHOT' => {
                  'NAME' => 'SYNO.SurveillanceStation.SnapShot',
                  'mk' => 1
                },
  'EXTREC' => {
                'mk' => 1,
                'NAME' => 'SYNO.SurveillanceStation.ExternalRecording'
              },
  'LOG' => {
             'NAME' => 'SYNO.SurveillanceStation.Log',
             'mk' => 1
           },
  'STM' => {
             'NAME' => 'SYNO.SurveillanceStation.Stream',
             'mk' => 1
           },
  'HMODE' => {
               'mk' => 0,
               'NAME' => 'SYNO.SurveillanceStation.HomeMode'
             },
  'SVSINFO' => {
                 'mk' => 1,
                 'NAME' => 'SYNO.SurveillanceStation.Info'
               },
  'AUTH' => {
              'NAME' => 'SYNO.API.Auth',
              'mk' => 1
            },
  'PRESET' => {
                'mk' => 1,
                'NAME' => 'SYNO.SurveillanceStation.PTZ.Preset'
              },
  'VIDEOSTMS' => {
                   'NAME' => 'SYNO.SurveillanceStation.VideoStream',
                   'mk' => 0
                 },
  'CAM' => {
             'mk' => 1,
             'NAME' => 'SYNO.SurveillanceStation.Camera'
           },
  'AUDIOSTM' => {
                  'mk' => 0,
                  'NAME' => 'SYNO.SurveillanceStation.AudioStream'
                },
  'INFO' => {
              'PATH' => 'query.cgi',
              'mk' => 1,
              'NAME' => 'SYNO.API.Info',
              'VER' => 1
            }
}
2024.10.10 20:38:28.187 4: CamHE1 - Call-Out now: http://192.168.2.10:5000/webapi/query.cgi?api=SYNO.API.Info&method=Query&version=1&query=SYNO.SurveillanceStation.VideoStreaming,SYNO.SurveillanceStation.PTZ,SYNO.SurveillanceStation.Camera.Event,SYNO.SurveillanceStation.Event,SYNO.SurveillanceStation.Recording,SYNO.SurveillanceStation.ExternalEvent,SYNO.SurveillanceStation.SnapShot,SYNO.SurveillanceStation.ExternalRecording,SYNO.SurveillanceStation.Log,SYNO.SurveillanceStation.Stream,SYNO.SurveillanceStation.HomeMode,SYNO.SurveillanceStation.Info,SYNO.API.Auth,SYNO.SurveillanceStation.PTZ.Preset,SYNO.SurveillanceStation.VideoStream,SYNO.SurveillanceStation.Camera,SYNO.SurveillanceStation.AudioStream,SYNO.API.Info
2024.10.10 20:38:28.301 4: CamHE1 - installed SVS version is: 92011289
2024.10.10 20:38:28.303 4: CamHE1 - ------- Begin of adaption section -------
2024.10.10 20:38:28.304 4: CamHE1 - Version of SYNO.API.Auth adapted to: 6
2024.10.10 20:38:28.306 4: CamHE1 - ------- End of adaption section -------
2024.10.10 20:38:28.307 4: CamHE1 - ------- Begin of simulation section -------
2024.10.10 20:38:28.309 4: CamHE1 - ------- End of simulation section -------
2024.10.10 20:38:28.325 4: CamHE1 - API completed after retrieval and adaption:
{
  'PRESET' => {
                'mk' => 1,
                'MOD' => 'no',
                'PATH' => 'entry.cgi',
                'NAME' => 'SYNO.SurveillanceStation.PTZ.Preset',
                'VER' => 1
              },
  'VIDEOSTMS' => {
                   'VER' => undef,
                   'MOD' => 'no',
                   'mk' => 0,
                   'PATH' => undef,
                   'NAME' => 'SYNO.SurveillanceStation.VideoStream'
                 },
  'CAM' => {
             'NAME' => 'SYNO.SurveillanceStation.Camera',
             'PATH' => 'entry.cgi',
             'mk' => 1,
             'MOD' => 'no',
             'VER' => 9
           },
  'AUDIOSTM' => {
                  'VER' => undef,
                  'NAME' => 'SYNO.SurveillanceStation.AudioStream',
                  'mk' => 0,
                  'MOD' => 'no',
                  'PATH' => undef
                },
  'INFO' => {
              'VER' => 1,
              'NAME' => 'SYNO.API.Info',
              'PATH' => 'entry.cgi',
              'MOD' => 'no',
              'mk' => 1
            },
  'HMODE' => {
               'VER' => 1,
               'mk' => 0,
               'MOD' => 'no',
               'PATH' => 'entry.cgi',
               'NAME' => 'SYNO.SurveillanceStation.HomeMode'
             },
  'SVSINFO' => {
                 'NAME' => 'SYNO.SurveillanceStation.Info',
                 'mk' => 1,
                 'MOD' => 'no',
                 'PATH' => 'entry.cgi',
                 'VER' => 8
               },
  'AUTH' => {
              'NAME' => 'SYNO.API.Auth',
              'mk' => 1,
              'MOD' => 'yes',
              'PATH' => 'entry.cgi',
              'VER' => '6'
            },
  'STM' => {
             'VER' => 1,
             'NAME' => 'SYNO.SurveillanceStation.Stream',
             'mk' => 1,
             'MOD' => 'no',
             'PATH' => 'entry.cgi'
           },
  'SNAPSHOT' => {
                  'mk' => 1,
                  'MOD' => 'no',
                  'PATH' => 'entry.cgi',
                  'NAME' => 'SYNO.SurveillanceStation.SnapShot',
                  'VER' => 1
                },
  'EXTREC' => {
                'VER' => 3,
                'MOD' => 'no',
                'mk' => 1,
                'PATH' => 'entry.cgi',
                'NAME' => 'SYNO.SurveillanceStation.ExternalRecording'
              },
  'LOG' => {
             'MOD' => 'no',
             'mk' => 1,
             'PATH' => 'entry.cgi',
             'NAME' => 'SYNO.SurveillanceStation.Log',
             'VER' => 3
           },
  'PARSET' => 1,
  'EVENT' => {
               'VER' => 5,
               'NAME' => 'SYNO.SurveillanceStation.Event',
               'PATH' => 'entry.cgi',
               'mk' => 1,
               'MOD' => 'no'
             },
  'REC' => {
             'MOD' => 'no',
             'mk' => 1,
             'PATH' => 'entry.cgi',
             'NAME' => 'SYNO.SurveillanceStation.Recording',
             'VER' => 6
           },
  'EXTEVT' => {
                'PATH' => 'entry.cgi',
                'MOD' => 'no',
                'mk' => 1,
                'NAME' => 'SYNO.SurveillanceStation.ExternalEvent',
                'VER' => 1
              },
  'CAMEVENT' => {
                  'NAME' => 'SYNO.SurveillanceStation.Camera.Event',
                  'PATH' => 'entry.cgi',
                  'MOD' => 'no',
                  'mk' => 1,
                  'VER' => 1
                },
  'VIDEOSTM' => {
                  'PATH' => 'entry.cgi',
                  'mk' => 1,
                  'MOD' => 'no',
                  'NAME' => 'SYNO.SurveillanceStation.VideoStreaming',
                  'VER' => 1
                },
  'PTZ' => {
             'PATH' => 'entry.cgi',
             'mk' => 1,
             'MOD' => 'no',
             'NAME' => 'SYNO.SurveillanceStation.PTZ',
             'VER' => 6
           }
}

Für uns ist momentan die SNAPSHOT relevant:

  'SNAPSHOT' => {
                  'mk' => 1,
                  'MOD' => 'no',
                  'PATH' => 'entry.cgi',
                  'NAME' => 'SYNO.SurveillanceStation.SnapShot',
                  'VER' => 1
                },

Proxmox+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

Icinger

Bitteschön:

2024.10.11 04:32:08 4:  SSCam.Stiege - ####################################################
2024.10.11 04:32:08 4:  SSCam.Stiege - ###    start cam operation Getcapabilities         
2024.10.11 04:32:08 4:  SSCam.Stiege - ####################################################
2024.10.11 04:32:08 4:  SSCam.Stiege - --- Start getApiSites ---
2024.10.11 04:32:08 4:  SSCam.Stiege - API imported:
$VAR1 = {
  'AUDIOSTM' => {
    'NAME' => 'SYNO.SurveillanceStation.AudioStream',
    'mk' => 0
  },
  'AUTH' => {
    'NAME' => 'SYNO.API.Auth',
    'mk' => 1
  },
  'CAM' => {
    'NAME' => 'SYNO.SurveillanceStation.Camera',
    'mk' => 1
  },
  'CAMEVENT' => {
    'NAME' => 'SYNO.SurveillanceStation.Camera.Event',
    'mk' => 1
  },
  'EVENT' => {
    'NAME' => 'SYNO.SurveillanceStation.Event',
    'mk' => 1
  },
  'EXTEVT' => {
    'NAME' => 'SYNO.SurveillanceStation.ExternalEvent',
    'mk' => 1
  },
  'EXTREC' => {
    'NAME' => 'SYNO.SurveillanceStation.ExternalRecording',
    'mk' => 1
  },
  'HMODE' => {
    'NAME' => 'SYNO.SurveillanceStation.HomeMode',
    'mk' => 0
  },
  'INFO' => {
    'NAME' => 'SYNO.API.Info',
    'PATH' => 'query.cgi',
    'VER' => 1,
    'mk' => 1
  },
  'LOG' => {
    'NAME' => 'SYNO.SurveillanceStation.Log',
    'mk' => 1
  },
  'PRESET' => {
    'NAME' => 'SYNO.SurveillanceStation.PTZ.Preset',
    'mk' => 1
  },
  'PTZ' => {
    'NAME' => 'SYNO.SurveillanceStation.PTZ',
    'mk' => 1
  },
  'REC' => {
    'NAME' => 'SYNO.SurveillanceStation.Recording',
    'mk' => 1
  },
  'SNAPSHOT' => {
    'NAME' => 'SYNO.SurveillanceStation.SnapShot',
    'mk' => 1
  },
  'STM' => {
    'NAME' => 'SYNO.SurveillanceStation.Stream',
    'mk' => 1
  },
  'SVSINFO' => {
    'NAME' => 'SYNO.SurveillanceStation.Info',
    'mk' => 1
  },
  'VIDEOSTM' => {
    'NAME' => 'SYNO.SurveillanceStation.VideoStreaming',
    'mk' => 1
  },
  'VIDEOSTMS' => {
    'NAME' => 'SYNO.SurveillanceStation.VideoStream',
    'mk' => 0
  }
};

2024.10.11 04:32:08 4:  SSCam.Stiege - Call-Out now: http://192.168.1.25:5000/webapi/query.cgi?api=SYNO.API.Info&method=Query&version=1&query=SYNO.SurveillanceStation.PTZ,SYNO.API.Info,SYNO.SurveillanceStation.Info,SYNO.SurveillanceStation.HomeMode,SYNO.SurveillanceStation.VideoStream,SYNO.SurveillanceStation.Camera.Event,SYNO.SurveillanceStation.Log,SYNO.SurveillanceStation.VideoStreaming,SYNO.SurveillanceStation.Camera,SYNO.SurveillanceStation.SnapShot,SYNO.SurveillanceStation.ExternalRecording,SYNO.API.Auth,SYNO.SurveillanceStation.AudioStream,SYNO.SurveillanceStation.Event,SYNO.SurveillanceStation.PTZ.Preset,SYNO.SurveillanceStation.Recording,SYNO.SurveillanceStation.ExternalEvent,SYNO.SurveillanceStation.Stream
2024.10.11 04:32:08 4:  SSCam.Stiege - installed SVS version is: 92111380
2024.10.11 04:32:08 4:  SSCam.Stiege - ------- Begin of adaption section -------
2024.10.11 04:32:08 4:  SSCam.Stiege - Version of SYNO.API.Auth adapted to: 6
2024.10.11 04:32:08 4:  SSCam.Stiege - ------- End of adaption section -------
2024.10.11 04:32:08 4:  SSCam.Stiege - ------- Begin of simulation section -------
2024.10.11 04:32:08 4:  SSCam.Stiege - ------- End of simulation section -------
2024.10.11 04:32:08 4:  SSCam.Stiege - API completed after retrieval and adaption:
$VAR1 = {
  'AUDIOSTM' => {
    'MOD' => 'no',
    'NAME' => 'SYNO.SurveillanceStation.AudioStream',
    'PATH' => undef,
    'VER' => undef,
    'mk' => 0
  },
  'AUTH' => {
    'MOD' => 'yes',
    'NAME' => 'SYNO.API.Auth',
    'PATH' => 'entry.cgi',
    'VER' => '6',
    'mk' => 1
  },
  'CAM' => {
    'MOD' => 'no',
    'NAME' => 'SYNO.SurveillanceStation.Camera',
    'PATH' => 'entry.cgi',
    'VER' => 9,
    'mk' => 1
  },
  'CAMEVENT' => {
    'MOD' => 'no',
    'NAME' => 'SYNO.SurveillanceStation.Camera.Event',
    'PATH' => 'entry.cgi',
    'VER' => 1,
    'mk' => 1
  },
  'EVENT' => {
    'MOD' => 'no',
    'NAME' => 'SYNO.SurveillanceStation.Event',
    'PATH' => 'entry.cgi',
    'VER' => 5,
    'mk' => 1
  },
  'EXTEVT' => {
    'MOD' => 'no',
    'NAME' => 'SYNO.SurveillanceStation.ExternalEvent',
    'PATH' => 'entry.cgi',
    'VER' => 1,
    'mk' => 1
  },
  'EXTREC' => {
    'MOD' => 'no',
    'NAME' => 'SYNO.SurveillanceStation.ExternalRecording',
    'PATH' => 'entry.cgi',
    'VER' => 3,
    'mk' => 1
  },
  'HMODE' => {
    'MOD' => 'no',
    'NAME' => 'SYNO.SurveillanceStation.HomeMode',
    'PATH' => 'entry.cgi',
    'VER' => 1,
    'mk' => 0
  },
  'INFO' => {
    'MOD' => 'no',
    'NAME' => 'SYNO.API.Info',
    'PATH' => 'entry.cgi',
    'VER' => 1,
    'mk' => 1
  },
  'LOG' => {
    'MOD' => 'no',
    'NAME' => 'SYNO.SurveillanceStation.Log',
    'PATH' => 'entry.cgi',
    'VER' => 3,
    'mk' => 1
  },
  'PARSET' => 1,
  'PRESET' => {
    'MOD' => 'no',
    'NAME' => 'SYNO.SurveillanceStation.PTZ.Preset',
    'PATH' => 'entry.cgi',
    'VER' => 1,
    'mk' => 1
  },
  'PTZ' => {
    'MOD' => 'no',
    'NAME' => 'SYNO.SurveillanceStation.PTZ',
    'PATH' => 'entry.cgi',
    'VER' => 6,
    'mk' => 1
  },
  'REC' => {
    'MOD' => 'no',
    'NAME' => 'SYNO.SurveillanceStation.Recording',
    'PATH' => 'entry.cgi',
    'VER' => 6,
    'mk' => 1
  },
  'SNAPSHOT' => {
    'MOD' => 'no',
    'NAME' => 'SYNO.SurveillanceStation.SnapShot',
    'PATH' => 'entry.cgi',
    'VER' => 1,
    'mk' => 1
  },
  'STM' => {
    'MOD' => 'no',
    'NAME' => 'SYNO.SurveillanceStation.Stream',
    'PATH' => 'entry.cgi',
    'VER' => 1,
    'mk' => 1
  },
  'SVSINFO' => {
    'MOD' => 'no',
    'NAME' => 'SYNO.SurveillanceStation.Info',
    'PATH' => 'entry.cgi',
    'VER' => 8,
    'mk' => 1
  },
  'VIDEOSTM' => {
    'MOD' => 'no',
    'NAME' => 'SYNO.SurveillanceStation.VideoStreaming',
    'PATH' => 'entry.cgi',
    'VER' => 1,
    'mk' => 1
  },
  'VIDEOSTMS' => {
    'MOD' => 'no',
    'NAME' => 'SYNO.SurveillanceStation.VideoStream',
    'PATH' => undef,
    'VER' => undef,
    'mk' => 0
  }
};

Wobei ich jetzt nicht wirklich einen Unterschied erkennen kann :(
Hab grad extra 3mal kontrolliert, ob ich das simu-Attribut eh überall gelöscht habe.

lg, Stefan
Verwende deine Zeit nicht mit Erklärungen. Die Menschen hören (lesen) nur, was sie hören (lesen) wollen. (c) Paulo Coelho

DS_Starter

Moin,
leider kein Anhaltspunkt. Das ist schade.
Die API ist vorhanden. Die Syno sollte also auch darauf reagieren. Zumal alle anderen Calls ja funktionieren, nur diese nicht.

Du kannst den Aufruf:

http://192.168.1.25:5000/webapi/entry.cgi?api="SYNO.SurveillanceStation.SnapShot"&version="1"&dsId="0"&method="TakeSnapshot"&blSave="true"&camId="5"&_sid="Hx6B654HpYK_XzYjwknQdUW202RvZoFLrlTcn7vktT8Z6wFvdUn_hyPq6dt1xtTwVTAYx6eafoVPUr-oiskYAA"

direkt im Browser absetzen und das Ergebnis kontrollieren. die _sid kann sich ändern. Eventuell mit verbose 5 im Log die aktuelle _sid ermitteln, kopieren und im Browser verwenden.

Vielleicht hat die SVS Version einen Bug bzgl. Snapshot-API.
Durchaus möglich. Du kannst dir z.B. die Version 9.2.0 herunterladen und manuell installieren.
Die funktioniert ja definitiv.
Du kannst auch mal im SSCam-Thread fragen ob noch jemand aktuell die 9.2.1 im Einsatz hat.

LG
Proxmox+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

Icinger

#6
Hmm, wenn ich das im Browser aufrufe (mit aktueller sid), kommt nur ein

{
  "error": {
    "code": 105
  },
  "success": false
}
zurück.

Ich werd dann mal die 9.2.0 probieren. Mal schaun, was da dabei rumkommt.

lg, Stefan



PS: Denkste, war wohl auch nix :(
Verwende deine Zeit nicht mit Erklärungen. Die Menschen hören (lesen) nur, was sie hören (lesen) wollen. (c) Paulo Coelho

DS_Starter

Jo, super Sache.

Vielleicht

 attr SSCam.Stiege session SurveillanceStation
verwenden und einen in der SVS mit allen Rechten ausgestatten User verwenden.
Vllt. ein Rechteproblem.
Proxmox+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

Icinger

Probiert....Extra neuen User mit allen Rechten, die es nur gibt, angelegt.

Leider auch nix :(

Echt a total komische Sache irgendwie.
Verwende deine Zeit nicht mit Erklärungen. Die Menschen hören (lesen) nur, was sie hören (lesen) wollen. (c) Paulo Coelho

DS_Starter

Ja, wirklich eigenartig.
Frag doch mal bitte im SSCam Thread ob noch jemand deine SVSVersion im Einsatz hat und wie eingestellt.
Kann mir nicht vorstellen, dass du der einzige damit bist.
Proxmox+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

dott.olivero

Bei mir auf einer DS423+ das gleiche SNAP-Problem nach Upgrade auf die DSM-Version: 7.2.2-72806. Im State steht "Error".