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

Frazzor

Hallo Heiko,

genau der Fehler wars :)

vielen vielen Dank.

Gruß
Michael

DS_Starter

 :)
Namen mit Leerzeichen sind fast nie eine gute Idee, egal wo.
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

#1937
Hallo zusammen,

nachfolgende Info ist nur für User relevant die SSCam zusammen mit SSChatBot zum Versenden von Snapshots/Aufnahmen verwenden.
Morgen ist eine SSCam Version im Update, die die neueste Version SSChatBot aus meinem contrib benötigt.Wer SSChatBot benutzt, am Besten schon jetzt aktualisieren. Im verlinkten Wikibeitrag steht gleich am Anfang drin wie es geht.

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

Leider ist mir ein Fehler unterlaufen.
Bitte updated SSCam heute am 30.05. nicht !
Ich habe eine Korrektur eingecheckt, die morgen früh verfügbar ist.

Alternativ, oder falls ihr doch schon geupdated habt, könnt ihr die korrigierte Version aus meinem contrib laden.
Zum Download in der FHEMWEB Kommandozeile inklusive der Ausführungszeichen angeben:


"wget -qO ./FHEM/49_SSCam.pm https://svn.fhem.de/fhem/trunk/fhem/contrib/DS_Starter/49_SSCam.pm"


Danach FHEM restarten.
Schöne Pfingsten,

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

juemuc

Hallo Heiko,

ich habe gestern eine zweite Reolink-Cam in Betrieb genommen. Dabei sind mir folgende Punkte aufgefallen:


  • Ich hatte wieder vergessen, dass Attribut "session" zu setzen. Kannst Du das nicht als default definieren  8)
  • Es wird eine ReadingsGroup angelegt, was mir sehr gut gefällt. Allerdings verstehe ich dort einige Spalten nicht.

    • Was ist der Unterschied zwischen der Spalte Kamera On/Offline und Disable Module
    • Unter Wiedergabe sind diese Einträge zu finden:    black_btn_LSNAP   black_btn_LASTRECIFRAME   black_btn_MJPEG Sollten hier Icons erscheinen?
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

#1940
Hallo Jürgen,

bin grad ein paar Tage unterwegs, deswegen nur kurz.  ;)

Ergänze dir mal Im FHEMWEB iconPath sscam, z.B


default:fhemSVG:openautomation:sscam


Dort liefere ich die Icons aus. dachte ich setze das per default oder steht in der comref ?

Zitat
Was ist der Unterschied zwischen der Spalte Kamera On/Offline und Disable Module

Kamera On/Offline setzt tatsächlich nur diese Kamera disabled oder enabled, ist also eine Funktion der API für die Cam. Disable Module betrifft alle. Oder besser gesagt steuert das Modul nichts mehr, aber die cams sind in der Svs noch steuerbar. Das ist das disable wie du es auch bei anderen modulen im fhem kennst. Dummerweise hat Syno die Func in der API auch disable genannt und so musste ich mir was einfallen lassen.  :)

Die Sache mit session überdenke ich mal ...

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

juemuc

Hallo Heiko,

danke für die Infos. Das hat geholfen. Jetzt fehlt mir noch noch die Zoomfunktion in FHEM  8) Vieleicht hast Du mal Zeit, wenn Du wieder zu Hause bist  ::)

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

Moin Jürgen,

Zitat
Jetzt fehlt mir noch noch die Zoomfunktion in FHEM

Das machen wir. Da brauche ich deine Unterstützung weil ich selbst keine Cam mit Zoom habe. Aber kriegen wir bestimmt hin.
Du kannst mir inzwischen ja schonmal ein list deiner neuen Cam 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

juemuc

Hallo Heiko,

super. Danke.

anbei das List
Internals:
   CAMID      6
   CAMNAME    E1-Zoom
   CFGFN     
   COMPATIBILITY 8.2.7
   CREDENTIALS Set
   DEF        E1-Zoom jue0159.selfhost.info 8701 https
   FUUID      5ee529c4-f33f-ca7c-3cde-b8dd8caf84c96492
   FVERSION   49_SSCam.pm:v9.2.3-s22073/2020-05-30
   MODEL      Reolink - E1 Zoom
   NAME       E1Zoom
   NR         16483
   OPMODE     getsnapgallery
   PROTOCOL   https
   SERVERADDR jue0159.selfhost.info
   SERVERPORT 8701
   STATE      off
   TYPE       SSCam
   HELPER:
     ACTIVE     off
     ALIAS      LiveView
     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 8
     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 fq[|eIm~b}tOj5nl\ET5hsYxJZ>@
     GOMOVEDIR  16
     GOMOVETIME 0.5
     GOPRESETNAME not
     HLSSTREAM  inactive
     KEYWORD    E1-Zoom
     LOGINRETRIES 0
     OLDPTZHOME goPreset not set
     OLDVALPOLL 300
     OLDVALPOLLNOLOGGING 0
     OPENWINDOW 0
     PACKAGE    main
     PTZACTION  movestart
     RECTIME_DEF 15
     RUNVIEW    live_link
     SID        n9RnI1DoaTWXx7qpaBMNhyWqlVzE02SmFPyBTw2UUmojt1uC9wYrryfDyB1VVDlPJ6P2o2alYLvjyWjDGFo9SM
     SNAPIMGSIZE 1
     SNAPLIMIT  1
     STMKEYMJPEGHTTP https://jue0159.selfhost.info:8701/webapi/entry.cgi?api=SYNO.SurveillanceStation.Stream.VideoStreaming&version=1&method=Stream&format=mjpeg&cameraId=6&StmKey="bed6977ba79e3e62727656dbb33b61ec"
     STMKEYMXPEGHTTP https://jue0159.selfhost.info:8701/webapi/entry.cgi?api=SYNO.SurveillanceStation.Stream.VideoStreaming&version=1&method=Stream&format=mxpeg&cameraId=6&StmKey="bed6977ba79e3e62727656dbb33b61ec"
     STMKEYUNICST rtsp://syno:bed6977ba79e3e62727656dbb33b61ec@jue0159.selfhost.info:554/Sms=6.unicast
     STMKEYUNICSTOVERHTTP rtsp://192.168.70.40:7800/webman/3rdparty/SurveillanceStation/cgi/rtsp.cgi?Sms=6.unicast&DsId=0&StmKey=bed6977ba79e3e62727656dbb33b61ec
     STRMDETAIL
     STRMDEV    SSCamSTRM.E1Zoom.mjpeg
     STRMROOM   IP Kamera
     TOTALCNT   1
     VERSION    9.2.3
     WLTYPE     link
     ALLPATROLS:
     ALLPRESETS:
     SVSVERSION:
       BUILD      6222
       MAJOR      8
       MINOR      2
       SMALL      7
   READINGS:
     2020-06-14 11:27:51   Availability    enabled
     2020-06-14 11:27:51   CamAudioType    AAC
     2020-06-14 11:27:51   CamEventNum     0
     2020-06-14 11:27:51   CamExposureControl Auto
     2020-06-14 11:27:51   CamExposureMode Auto
     2020-06-14 11:27:51   CamIP           192.168.70.46
     2020-06-14 11:27:51   CamLiveFps      20
     2020-06-14 11:27:51   CamLiveMode     Liveview from DS
     2020-06-14 11:27:51   CamLiveQuality 
     2020-06-14 11:27:51   CamLiveResolution 2560x1920
     2020-06-14 11:27:51   CamLiveStreamNo 1
     2020-06-14 11:27:51   CamModel        E1 Zoom
     2020-06-14 11:27:53   CamMotDetSc     SVS, sensitivity: 90, threshold: 10
     2020-06-14 11:27:51   CamPort         80
     2020-06-14 11:27:51   CamPreRecTime   5
     2020-06-14 11:27:51   CamPtSpeed      3
     2020-06-14 11:27:51   CamRecShare     surveillance
     2020-06-14 11:27:51   CamRecVolume    /volume2
     2020-06-14 11:27:53   CamStreamFormat HLS
     2020-06-14 11:27:51   CamVendor       Reolink
     2020-06-14 11:27:51   CamVideoFlip    false
     2020-06-14 11:27:51   CamVideoMirror  false
     2020-06-14 11:27:51   CamVideoRotate  false
     2020-06-14 11:27:51   CamVideoType    H.264
     2020-06-14 11:27:51   CamblPresetSpeed false
     2020-06-14 11:27:52   CapAudioOut     false
     2020-06-14 11:27:52   CapChangeSpeed  false
     2020-06-14 11:27:51   CapPIR          false
     2020-06-14 11:27:52   CapPTZAbs       false
     2020-06-14 11:27:52   CapPTZAutoFocus false
     2020-06-14 11:27:52   CapPTZDirections 8
     2020-06-14 11:27:52   CapPTZFocus     support continuous operation
     2020-06-14 11:27:52   CapPTZHome      false
     2020-06-14 11:27:52   CapPTZIris      false
     2020-06-14 11:27:52   CapPTZObjTracking false
     2020-06-14 11:27:52   CapPTZPan       support continuous operation
     2020-06-14 11:27:52   CapPTZPresetNumber 64
     2020-06-14 11:27:52   CapPTZTilt      support continuous operation
     2020-06-14 11:27:52   CapPTZZoom      support continuous operation
     2020-06-14 11:27:51   DeviceType      PTZ
     2020-06-14 11:27:55   Error           none
     2020-06-14 11:27:55   Errorcode       none
     2020-06-14 11:27:55   LastSnapFilename E1-Zoom-20200612-2239551260.jpg
     2020-06-14 11:27:55   LastSnapId      16
     2020-06-14 11:27:55   LastSnapTime    12.06.2020 / 22:39:54
     2020-06-14 11:27:51   LastUpdateTime  14.06.2020 / 11:27:51
     2020-06-14 11:27:52   Patrols         
     2020-06-14 11:27:50   PollState       Active - next time: 11:32:50
     2020-06-14 11:27:52   PresetHome      not set
     2020-06-14 11:27:52   Presets         
     2020-06-14 11:27:51   Record          Stop
     2020-06-14 11:27:53   SVSlicenseNumber 2
     2020-06-14 11:27:53   SVSuserPriv     Viewer
     2020-06-14 11:27:53   SVSversion      8.2.7-6222
     2020-06-14 11:27:54   StmKey          "bed6977ba79e3e62727656dbb33b61ec"
     2020-06-14 11:27:54   StmKeyUnicst    rtsp://syno:bed6977ba79e3e62727656dbb33b61ec@jue0159.selfhost.info:554/Sms=6.unicast
     2020-06-14 11:27:54   StmKeyUnicstOverHttp rtsp://192.168.70.40:7800/webman/3rdparty/SurveillanceStation/cgi/rtsp.cgi?Sms=6.unicast&DsId=0&StmKey=bed6977ba79e3e62727656dbb33b61ec
     2020-06-14 11:27:54   StmKeymjpegHttp https://jue0159.selfhost.info:8701/webapi/entry.cgi?api=SYNO.SurveillanceStation.Stream.VideoStreaming&version=1&method=Stream&format=mjpeg&cameraId=6&StmKey="bed6977ba79e3e62727656dbb33b61ec"
     2020-06-14 11:27:54   StmKeymxpegHttp https://jue0159.selfhost.info:8701/webapi/entry.cgi?api=SYNO.SurveillanceStation.Stream.VideoStreaming&version=1&method=Stream&format=mxpeg&cameraId=6&StmKey="bed6977ba79e3e62727656dbb33b61ec"
     2020-06-14 11:27:51   UsedSpaceMB     0
     2020-06-14 11:27:51   VideoFolder     /volume2/surveillance/E1-Zoom
     2020-06-14 11:27:53   compstate       true
     2020-06-14 11:27:55   state           off
Attributes:
   disable    0
   event-on-change-reading .*
   icon       it_camera@black
   livestreamprefix DEF
   pollcaminfoall 300
   ptzPanel_row00 move upleft:CAMUPLEFTFAST.png,:CAMBLANK.png,move up:CAMUPFAST.png,:CAMBLANK.png,move upright:CAMUPRIGHTFAST.png
   ptzPanel_row01 :CAMBLANK.png,move upleft 0.5:CAMUPLEFT.png,move up 0.5:CAMUP.png,move upright 0.5:CAMUPRIGHT.png
   ptzPanel_row02 move left:CAMLEFTFAST.png,move left 0.5:CAMLEFT.png,goPreset not set:CAMHOME.png,move right 0.5:CAMRIGHT.png,move right:CAMRIGHTFAST.png
   ptzPanel_row03 :CAMBLANK.png,move downleft 0.5:CAMDOWNLEFT.png,move down 0.5:CAMDOWN.png,move downright 0.5:CAMDOWNRIGHT.png
   ptzPanel_row04 move downleft:CAMDOWNLEFTFAST.png,:CAMBLANK.png,move down:CAMDOWNFAST.png,:CAMBLANK.png,move downright:CAMDOWNRIGHTFAST.png
   rectime    300
   room       IP Kamera
   session    SurveillanceStation
   showStmInfoFull 1
   userattr   ptzPanel_iconPath ptzPanel_iconPrefix ptzPanel_row00 ptzPanel_row01 ptzPanel_row02 ptzPanel_row03 ptzPanel_row04 ptzPanel_row05 ptzPanel_row06 ptzPanel_row07 ptzPanel_row08 ptzPanel_row09 ptzPanel_use:0,1
   webCmd     on:off:snap:enable:disable:runView:stopView



    Zusätzlich mir noch folgende Punkte aufgefallen:


    • Die E1-Zoom kann keine Presets speichern - dies sollte dann auch bei FHEM entfallen  8)
    • bei disable wird der Status (state) der Kamera auf "inactive" gesetzt. Homemode erhält den Status (state) "disabled". Dadurch erhält man unteschiedliche Icons
    • Die Icons in der 2. Spalte sind nicht mittig. Ich habe es nicht geschaft, diese auzurichten (s. Anhang)
    • Da in dem "HomeMOde-Device staeformat und /homeMode on:on/homeMode off:off definiert sind, musste ich das Attribute command anpassen
        "HomeModeState.on"      => "set $DEVICE off",
        "HomeModeState.off"     => "set $DEVICE on"

Hie rauch das List der RG
Internals:
   CFGFN     
   DEF        <%it_camera@black>,<Kamera<br>On/Offline>,< >,<Status>,< >,<Bewegungs<br>erkennung>,< >,<letzte Aufnahme>,< >,<bel. Platz<br>(MB)>,< >,<letzte Aktualisierung>,< >,<Disable<br>Modul>,< >,<Wiedergabe>
TYPE=SSCam:FILTER=MODEL!=SVS:Availability,<&nbsp;>,state,<&nbsp;>,!CamMotDetSc,<&nbsp;>,!CamLastRecTime,<&nbsp;>,!UsedSpaceMB,<&nbsp;>,!LastUpdateTime,<&nbsp;>,?!disable,<&nbsp;>,?!LSnap,?!LRec,?!Start,?!Stop
< >,< >,< >,< >,< >,< >,< >,< >,< >,< >,< >,< >,< >,< >,< >,< >,< >,< >,< >
< >,< >,< >,< >,< >,< >,< >,< >,< >,< >,< >,< >,< >,< >,< >,< >,< >,< >,< >
< >,< >,< >,< >,< >,< >,< >,< >,< >,< >,< >,< >,< >,< >,< >,< >,< >,< >,< >
<%it_server@black>,<HomeMode<br>On/Off>,<&nbsp;>,<Status>,<&nbsp;>,&nbsp;>,<&nbsp;>,<&nbsp;>,<&nbsp;>,<&nbsp;>,&nbsp;>,<&nbsp;>,<&nbsp;>,<&nbsp;>,<&nbsp;>,<&nbsp;>,<&nbsp;>,<&nbsp;>,<&nbsp;>,<&nbsp;>,<&nbsp;>
TYPE=SSCam:FILTER=MODEL=SVS:!HomeModeState,<&nbsp;>,state,<&nbsp;>,<&nbsp;>,<&nbsp;>,<&nbsp;>,<&nbsp;>,<&nbsp;>,&nbsp;>,<&nbsp;>,<&nbsp;>,<&nbsp;>,?!disable,<&nbsp;>,<&nbsp;>,<&nbsp;>,<&nbsp;>,<&nbsp;>

   FUUID      5ee52bb6-f33f-ca7c-2ae3-6582ee93efa925a9
   NAME       RG.SSCam
   NR         16565
   NTFY_ORDER 50-RG.SSCam
   STATE      Initialized
   TYPE       readingsGroup
   changed    0
   mayBeVisible 1
   CONTENT:
     C1Pro      1
     C1Pro_SVS  1
     E1Zoom     1
   CONTENT2:
   DEVICES:
     ARRAY(0x68639b0)
     ARRAY(0x62f0480)
     ARRAY(0x67289d8)
     ARRAY(0x67710a0)
     ARRAY(0x64aaec8)
     ARRAY(0x6063008)
     ARRAY(0x5f33ba0)
     ARRAY(0x6792368)
   READINGS:
   fhem:
     lastDefChange 174
     last_update 1592162354.75821
   helper:
     DEF       
     commands   {
  "Availability.enabled"  => "set $DEVICE disable",
  "Availability.disabled" => "set $DEVICE enable",
  "HomeModeState.on"      => "set $DEVICE homeMode off",
  "HomeModeState.off"     => "set $DEVICE homeMode on",
  "RG.SSCam.Start"      => "set %DEVICE runView live_fw",
  "Start"                 => "set %DEVICE runView live_fw",
  "LRec"                  => "set %DEVICE runView lastrec_fw",
  "LSnap"                 => "set %DEVICE runView lastsnap_fw",
  "Stop"                  => "set %DEVICE stopView",
  "Record"                => "runView:",
  "disable"               => "disable:"
}
     nameStyle  style = "color:black;font-weight:bold;text-align:center"
     valueFormat {
  ($READING eq "CamMotDetSc" && $VALUE eq "disabled") ? "external" : $VALUE
}
     valueStyle {
  if($READING eq "Availability" && $VALUE eq "enabled"){ ' style="color:green" ' }
  elsif( $READING eq "Availability" && $VALUE eq  "disabled"){ ' style="color:red" ' }
  elsif( $READING eq "CamMotDetSc" && $VALUE =~ /SVS.*/ ){ ' style="color:orange" ' }
  elsif( $READING eq "CamMotDetSc" && $VALUE eq "disabled"){ ' style="color:LimeGreen" ' }
  elsif( $READING eq "CamMotDetSc" && $VALUE =~ /Cam.*/ ){ ' style="color:SandyBrown" ' }
}
     cellStyle:
       c:0        style="text-align:left;font-weight:normal"
       c:1        style="text-align:left;font-weight:normal"
       c:4        style="text-align:center;font-weight:bold"
       c:5        style="text-align:center;color:green;font-weight:normal"
       c:9        style="text-align:center;font-weight:normal"
     positions:
       C1Pro.Availability 2:1
       C1Pro.CamLastRecTime 2:7
       C1Pro.CamMotDetSc 2:5
       C1Pro.LRec 2:16
       C1Pro.LSnap 2:15
       C1Pro.LastUpdateTime 2:11
       C1Pro.Start 2:17
       C1Pro.Stop 2:18
       C1Pro.UsedSpaceMB 2:9
       C1Pro.disable 2:13
       C1Pro.state 2:3
       C1Pro_SVS.HomeModeState 8:1
       C1Pro_SVS.disable 8:13
       C1Pro_SVS.state 8:3
       E1Zoom.Availability 3:1
       E1Zoom.CamLastRecTime 3:7
       E1Zoom.CamMotDetSc 3:5
       E1Zoom.LRec 3:16
       E1Zoom.LSnap 3:15
       E1Zoom.LastUpdateTime 3:11
       E1Zoom.Start 3:17
       E1Zoom.Stop 3:18
       E1Zoom.UsedSpaceMB 3:9
       E1Zoom.disable 3:13
       E1Zoom.state 3:3
     valueColumns:
       Wiedergabe colspan="4"
     valueIcon:
       Availability.disabled remotecontrol/black_btn_RED
       Availability.enabled remotecontrol/black_btn_GREEN
       HomeModeState.off status_away_1@orange
       HomeModeState.on status_available
       LRec       black_btn_LASTRECIFRAME
       LSnap      black_btn_LSNAP
       Start      black_btn_MJPEG
       Stop       remotecontrol/black_btn_POWEROFF3
       state      %devStateIcon
       state.disabled inactive
       state.initialized remotecontrol/black_btn_STOP
       state.polling FS20.off
     values:
       formated:
         undef
         ARRAY(0x6634770)
         undef
         ARRAY(0x6a600e8)
         undef
         ARRAY(0x68d9970)
         undef
         ARRAY(0xdcc2e8)
         undef
         ARRAY(0x6798300)
         undef
         ARRAY(0x604a990)
         undef
         ARRAY(0x68d03d0)
         undef
         ARRAY(0x6062510)
         ARRAY(0x6144490)
         ARRAY(0x6a400f0)
         ARRAY(0x64b55d0)
       orig:
         undef
         ARRAY(0x64057f8)
         undef
         ARRAY(0x68d2e60)
         undef
         ARRAY(0x5ed6660)
         undef
         ARRAY(0x68d0f18)
         undef
         ARRAY(0x68d9928)
         undef
         ARRAY(0x662f408)
         undef
         ARRAY(0x6a2e100)
         undef
         ARRAY(0x6f807c0)
         ARRAY(0x6776e18)
         ARRAY(0x6167078)
         ARRAY(0x6793fb8)
       prefixsuffix:
         undef
         ARRAY(0x66205b8)
         undef
         ARRAY(0x6864b88)
         undef
         ARRAY(0x6a577e8)
         undef
         ARRAY(0x6f8e6b0)
         undef
         ARRAY(0x6405de0)
         undef
         ARRAY(0x6498600)
         undef
         ARRAY(0x60df7a8)
         undef
         ARRAY(0x6877a88)
         ARRAY(0x5c47330)
         ARRAY(0x6a2e0a0)
         ARRAY(0x6f85ce0)
Attributes:
   alias      Überblick Kameras
   cellStyle  {
  "c:0" => 'style="text-align:left;font-weight:normal"',
  "c:1" => 'style="text-align:left;font-weight:normal"',
  "c:4" => 'style="text-align:center;font-weight:bold"',
  "c:5" => 'style="text-align:center;color:green;font-weight:normal"',
  "c:9" => 'style="text-align:center;font-weight:normal"'
}
   commands   {
  "Availability.enabled"  => "set $DEVICE disable",
  "Availability.disabled" => "set $DEVICE enable",
  "HomeModeState.on"      => "set $DEVICE homeMode off",
  "HomeModeState.off"     => "set $DEVICE homeMode on",
  "RG.SSCam.Start"      => "set %DEVICE runView live_fw",
  "Start"                 => "set %DEVICE runView live_fw",
  "LRec"                  => "set %DEVICE runView lastrec_fw",
  "LSnap"                 => "set %DEVICE runView lastsnap_fw",
  "Stop"                  => "set %DEVICE stopView",
  "Record"                => "runView:",
  "disable"               => "disable:"
}
   nameStyle  style = "color:black;font-weight:bold;text-align:center"
   room       IP Kamera
   valueColumns {
  'Wiedergabe' => 'colspan="4"'
}
   valueFormat {
  ($READING eq "CamMotDetSc" && $VALUE eq "disabled") ? "external" : $VALUE
}
   valueIcon  {
  "Availability.enabled"  => "remotecontrol/black_btn_GREEN",
  "Availability.disabled" => "remotecontrol/black_btn_RED",
  "HomeModeState.on"      => "status_available",
  "HomeModeState.off"     => "status_away_1\@orange",
  "Start"                 => "black_btn_MJPEG",
  "LRec"                  => "black_btn_LASTRECIFRAME",
  "LSnap"                 => "black_btn_LSNAP",
  "Stop"                  => "remotecontrol/black_btn_POWEROFF3",
  "state.initialized"     => "remotecontrol/black_btn_STOP",
  "state.disabled"        => "inactive",
  "state.polling"         => "FS20.off",
  "state"                 => "%devStateIcon"
}
   valueStyle {
  if($READING eq "Availability" && $VALUE eq "enabled"){ ' style="color:green" ' }
  elsif( $READING eq "Availability" && $VALUE eq  "disabled"){ ' style="color:red" ' }
  elsif( $READING eq "CamMotDetSc" && $VALUE =~ /SVS.*/ ){ ' style="color:orange" ' }
  elsif( $READING eq "CamMotDetSc" && $VALUE eq "disabled"){ ' style="color:LimeGreen" ' }
  elsif( $READING eq "CamMotDetSc" && $VALUE =~ /Cam.*/ ){ ' style="color:SandyBrown" ' }
}


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

Danke Jürgen,

vorab kann ich dir ein paar Antworten geben.

1. die Cam oder SVS behauptet im Reading CapPTZPresetNumber 64 Presets speichern zu können. Deswegen geht das Modul davon aus dass es stimmt.  ;)  Kann die Cam tatsächlich keine Presets ? Scheint mir etwas seltsam für eine PTZ.

2. stimmt. Das passe ich im SVS device an. Grund dafür ist die disabled Problematik wie oben geschrieben.

3. Du hast zwar den Anhang vergessen  ;) aber ich hatte es auch nicht geschafft , readingsgroup Problematik. Irgendwie geht es bestimmt.

4. Das passe ich mit an. Das eventMap braucht man im SVS nicht mehr. Deswegen passt auch die RG Definition. Musst nur das eventMap Attr löschen.

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

juemuc

Hallo Heiko,

ja es geht tatsächlich nicht (Presets anlegen und speichern). Der Reolink-Support hat schon geantwortet.
EventMap lösche ich dann mal :-). Wenn ich etwas testen soll, bitte melden.

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

juemuc

Hallo Heiko,

nur keine Eile  ;D

EventMap wird wohl doch noch benötigt   ???
Ohne kommt diese Meldung:
Unknown argument off, choose one of autocreateCams:noArg credentials smtpcredentials createReadingsGroup extevent:1,2,3,4,5,6,7,8,9,10 homeMode:on,off snapCams


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

Eigenartig, mein SVS device hat auch kein Eventmap mehr und läuft


defmod SDS1 SSCam SVS 192.168.2.10
attr SDS1 cacheServerParam 192.168.2.10:6379
attr SDS1 cacheType file
attr SDS1 debugactivetoken 0
attr SDS1 devStateIcon disabled:remotecontrol/black_btn_RED initialized:remotecontrol/black_btn_STOP
attr SDS1 disable 0
attr SDS1 hlsNetScript 1
attr SDS1 httptimeout 20
attr SDS1 pollcaminfoall 120
attr SDS1 pollnologging 1
attr SDS1 room Cams_RG,SSCam
attr SDS1 session SurveillanceStation
attr SDS1 smtpFrom ......
attr SDS1 smtpHost .....
attr SDS1 smtpTo .....
attr SDS1 snapEmailTxt subject => zentraler Bewegungsalarm, body => Schnappschüsse aller Cams wurden ausgelöst
attr SDS1 snapGalleryBoost 0
attr SDS1 verbose 3
attr SDS1 webCmd homeMode
attr SDS1 webCmdLabel HomeMode


Naja, alles andere später wenn ich wieder das Tablet in die Ecke legen kann und einen PC habe.  ;)
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

Hallo Jürgen,

den Punk 2 aus #1944 habe ich erledigt.

Was das eventMap  angeht, ich habe es bei mir und auch bei den define eines SVS-Devices bzw. createReadingsgroup nicht mehr drin und klappt einwandfrei.
Kann ich jetzt nicht identifizieren wieso du es bei dir noch benötigst ... wohl ein Fall für Magie.  ;)
Ist aber nicht so tragisch denke ich.

Eine Frage zum Zoom ... wie ist denn die Bedienung des Zoom in der SVS der Synology gelöst, d.h. welche Bedienungsmöglichkeit gibt es ?
Wenn ich die API Doku richtig lese, gibt es keine Steps, sondern nur ein totales Zoom in bzw. Zoom out. Es sei denn, ich überlege mir ein paar Tricks.
Und wie lange dauert ein Zoom in / out wenn man den gesamten Zoombereich durchläuft. Vielleicht kannst du einen Screenshot anhängen.

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