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

gleiches Ergebnis
2020.08.10 22:14:20 3: E1Zoom - Capabilities of camera E1-Zoom retrieved
2020.08.10 22:14:21 4: E1Zoom - ####################################################
2020.08.10 22:14:21 4: E1Zoom - ###    start cam operation Getptzlistpreset         
2020.08.10 22:14:21 4: E1Zoom - ####################################################
2020.08.10 22:14:21 4: E1Zoom - --- Begin Function getApiSites nonblocking ---
2020.08.10 22:14:21 4: E1Zoom - API hashvalues already set - ignore get apisites
2020.08.10 22:14:21 4: E1Zoom - --- Begin Function getCamId nonblocking ---
2020.08.10 22:14:21 4: E1Zoom - CAMID already set - ignore get camid
2020.08.10 22:14:21 4: E1Zoom - --- Begin Function Getptzlistpreset nonblocking ---
2020.08.10 22:14:21 5: E1Zoom - HTTP-Call will be done with httptimeout-Value: 4 s
2020.08.10 22:14:21 4: E1Zoom - Call-Out now: https://x.y.z:8701/webapi/entry.cgi?api=SYNO.SurveillanceStation.PTZ&version=6&method=ListPreset&cameraId=9&_sid="xx"
2020.08.10 22:14:21 5: E1Zoom - JSON returned: {
  'error' => {
               'code' => 400,
               'errors' => {
                             'param1' => '',
                             'param2' => ''
                           }
             },
  'success' => bless( do{\(my $o = 0)}, 'JSON::PP::Boolean' )
}

2020.08.10 22:14:21 2: E1Zoom - ERROR - Operation Getptzlistpreset of Camera E1-Zoom was not successful. Errorcode: 400 - Execution failed
2020.08.10 22:14:21 4: E1Zoom - ####################################################
2020.08.10 22:14:21 4: E1Zoom - ###    start cam operation Getptzlistpatrol         
2020.08.10 22:14:21 4: E1Zoom - ####################################################
2020.08.10 22:14:21 4: E1Zoom - --- Begin Function getApiSites nonblocking ---
2020.08.10 22:14:21 4: E1Zoom - API hashvalues already set - ignore get apisites
2020.08.10 22:14:21 4: E1Zoom - --- Begin Function getCamId nonblocking ---
2020.08.10 22:14:21 4: E1Zoom - CAMID already set - ignore get camid
2020.08.10 22:14:21 4: E1Zoom - --- Begin Function Getptzlistpatrol nonblocking ---
2020.08.10 22:14:21 5: E1Zoom - HTTP-Call will be done with httptimeout-Value: 4 s
2020.08.10 22:14:21 4: E1Zoom - Call-Out now: https://x.y.z:8701/webapi/entry.cgi?api=SYNO.SurveillanceStation.PTZ&version=6&method=ListPatrol&cameraId=9&_sid="xx"
2020.08.10 22:14:21 5: E1Zoom - JSON returned: {
  'error' => {
               'code' => 400,
               'errors' => {
                             'param1' => '',
                             'param2' => ''
                           }
             },
  'success' => bless( do{\(my $o = 0)}, 'JSON::PP::Boolean' )
}

2020.08.10 22:14:21 2: E1Zoom - ERROR - Operation Getptzlistpatrol of Camera E1-Zoom was not successful. Errorcode: 400 - Execution failed
2020.08.10 22:14:21 4: E1Zoom - ####################################################
2020.08.10 22:14:21 4: E1Zoom - ###    start cam operation getStmUrlPath         
2020.08.10 22:14:21 4: E1Zoom - ####################################################
2020.08.10 22:14:21 4: E1Zoom - --- Begin Function getApiSites nonblocking ---
2020.08.10 22:14:21 4: E1Zoom - API hashvalues already set - ignore get apisites
2020.08.10 22:14:21 4: E1Zoom - --- Begin Function getCamId nonblocking ---
2020.08.10 22:14:21 4: E1Zoom - CAMID already set - ignore get camid
2020.08.10 22:14:21 4: E1Zoom - --- Begin Function getStmUrlPath nonblocking ---
2020.08.10 22:14:21 5: E1Zoom - HTTP-Call will be done with httptimeout-Value: 4 s
2020.08.10 22:14:21 4: E1Zoom - Call-Out now: https://x.y.z:8701/webapi/entry.cgi?api="SYNO.SurveillanceStation.Camera"&method="GetLiveViewPath"&version=9&idList="9"&_sid="xx"
2020.08.10 22:14:21 5: E1Zoom - JSON returned: {
  'data' => [
              {
                'id' => 9,
                'mjpegHttpPath' => 'http://192.168.70.40:7800/webapi/entry.cgi?api=SYNO.SurveillanceStation.Stream.VideoStreaming&version=1&method=Stream&format=mjpeg&cameraId=9&StmKey="',
                'multicstPath' => 'rtsp://syno:3a651c6aa3f77d9517777c1eafdc2a00@192.168.70.40:554/Sms=9.multicast',
                'mxpegHttpPath' => 'http://192.168.70.40:7800/webapi/entry.cgi?api=SYNO.SurveillanceStation.Stream.VideoStreaming&version=1&method=Stream&format=mxpeg&cameraId=9&StmKey="3a651c6aa3f77d9517777c1eafdc2a00"',
                'rtspOverHttpPath' => 'rtsp://192.168.70.40:7800/webman/3rdparty/SurveillanceStation/cgi/rtsp.cgi?Sms=9.unicast&DsId=0&StmKey=3a651c6aa3f77d9517777c1eafdc2a00',
                'rtspPath' => 'rtsp://syno:3a651c6aa3f77d9517777c1eafdc2a00@192.168.70.40:554/Sms=9.unicast'
              }
            ],
  'success' => bless( do{\(my $o = 1)}, 'JSON::PP::Boolean' )
}


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

Der Call-Out hat jetzt die richtige Version 6:

Call-Out now: https://x.y.z:8701/webapi/entry.cgi?api=SYNO.SurveillanceStation.PTZ&;version=6&method=ListPatrol&cameraId=9&_sid="xx"

Ansonsten stochere ich gerade im Nebel. Wie sieht es aus wenn du auf http umstellst ?
Du kannst auch mal bewußt eine tiefere API Version verwenden, z.B. mit simu_SVSversion = 8.2.0-xxxx.
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,

wird etwas dauern, da ich aktuell nur den https-Zugriff erlaubt habe und wir am renovieren sind.

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

Naja, war auch nur so eine Idee. Irgendwas muss sich doch gestern 10:41 passiert sein.
Die Meldung "400 - Execution failed" sagt aus, dass die API den Befehl nicht ausführen konnte. Eventuell Rechte geändert ?
Hat die Syno vielleicht ihre SSL-Zertifikate automatisch erneuert ? Irgendetwas in dieser Richtung. Möglicherweise weit hergeholt und vermutlich kämen andere SSL-Fehler, aber mein Bauchgefühl geht in diese Richtung ...

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

Eins ist mir noch eingefalen. Hast du denn auch mal die Kamera neu gestartet ? Möglicherweise reagiert die aus irgendwelchen Gründen ablehnend auf den Befehl die Presets und Patrols zu liefern.
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,

diese Kamera hat dies doch nicht  8). Das hattest Du mal berücksichtigt  ::) Könnte das das Problem sein?

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

Zitatdiese Kamera hat dies doch nicht  8). Das hattest Du mal berücksichtigt  ::) Könnte das das Problem sein?
Na klar  :o

Der Abruf erfolgt wenn das Reading DeviceType = PTZ ist.  Das wird bei dir so sein, oder ?
Aber hilf mir mal wann ich da was gemacht habe ... an dieser Logik habe ich seit "Ewigkeiten" nichts geändert.
Und schon garnicht vorgestern um 10:41  :D

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

juemuc

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).

juemuc

Und DeviceType ist PTZ  :-[

Ich hatte eine neue Firmware aufgespielt. Eventuell lag es daran.

Hier sollte es idealweise noch ein Attribut geben, mit dem man das manuell übersteuern kann.


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

Hi Jürgen,

ich glaube du meinst den Punkt 1 aus https://forum.fhem.de/index.php/topic,45671.msg1064440.html#msg1064440 ?

Aber gemacht hatte ich da nichts.  ;)

Lass mich mal nachdenken ...
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

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

So, jetzt habe ich quick & dirty das Attr ptzNoCapPrePat eingebaut.
Wenn gesetzt, sollten alle Funktionen die mit Presets / Patrols zu tun haben nicht mehr vorhanden sein und auch keine Fehler generiert werden.
Probiers mal, liegt im contrib.
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

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).

juemuc

Hallo Heiko,

der Ansatz ist gut. Die Fehlermeldung ist weg.

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

Sehr schön Jürgen. Dann werde ich die heiße Nadelmal abkühlen lassen und nochmal alles checken (comref ergänzen) usw.
und dir morgen eine neue Version zum Test geben.
Heute bin ich nicht mehr so fit  ;)

viele 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