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

DS_Starter

Die neue Version ist soeben eingecheckt und morgen früh im Update enthalten.
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

pcjogi

Hallo zusammen,

ich habe das Modul erfolgreich auf einem Raspberry 4 (Buster) eingebunden. Leider bekomme ich es auf einem Raspberry 3 (ebenfalls Buster) nicht zum Laufen. Beide Systeme sind seitens des OS und auch des FHEM auf dem neuesten Stand. Die Fehlersituation auf dem RPi 3 ist folgende:

Wenn ich auf dem System die Definition define SDS2 SSCam SVS 192.168.X.X vornehme (Testweise habe ich auf der Synology den Port 5000 und HTTP wieder aktiviert) wird das Device ordnungsgemäß angelegt. Wenn ich jedoch die dann notwendigen Credentials eingebe (diese sind definitiv richtig und die Synology funktioniert auch s wie erwartet, da das vom RPi 4 funktioniert) stürzt FHEM ab und kommt auch erst wieder wenn ich manuell aus der fhem.cfg die SSCAM Definition wider entferne.

Das fhem.log zeigt mir leider auch keinen wirklichen Ansatz zur Lösung:
2023.04.06 12:54:14 4: SVS - ####################################################
2023.04.06 12:54:14 4: SVS - ###    start cam operation getsvslog
2023.04.06 12:54:14 4: SVS - ####################################################
2023.04.06 12:54:14 4: SVS - --- Start getApiSites ---
2023.04.06 12:54:14 5: SVS - HTTP-Call will be done with httptimeout-Value: 20 s
2023.04.06 12:54:14 4: SVS - API imported:
$VAR1 = {
          'PTZ' => {
                     'mk' => 1,
                     'NAME' => 'SYNO.SurveillanceStation.PTZ'
                   },
          'EVENT' => {
                       'NAME' => 'SYNO.SurveillanceStation.Event',
                       'mk' => 1
                     },
          'HMODE' => {
                       'NAME' => 'SYNO.SurveillanceStation.HomeMode',
                       'mk' => 0
                     },
          'LOG' => {
                     'NAME' => 'SYNO.SurveillanceStation.Log',
                     'mk' => 1
                   },
          'STM' => {
                     'NAME' => 'SYNO.SurveillanceStation.Stream',
                     'mk' => 1
                   },
          'EXTREC' => {
                        'NAME' => 'SYNO.SurveillanceStation.ExternalRecording',
                        'mk' => 1
                      },
          'SVSINFO' => {
                         'NAME' => 'SYNO.SurveillanceStation.Info',
                         'mk' => 1
                       },
          'VIDEOSTM' => {
                          'NAME' => 'SYNO.SurveillanceStation.VideoStreaming',
                          'mk' => 1
                        },
          'INFO' => {
                      'PATH' => 'query.cgi',
                      'NAME' => 'SYNO.API.Info',
                      'mk' => 1,
                      'VER' => 1
                    },
          'VIDEOSTMS' => {
                           'NAME' => 'SYNO.SurveillanceStation.VideoStream',
                           'mk' => 0
                         },
          'AUTH' => {
                      'NAME' => 'SYNO.API.Auth',
                      'mk' => 1
                    },
          'CAM' => {
                     'mk' => 1,
                     'NAME' => 'SYNO.SurveillanceStation.Camera'
                   },
          'PRESET' => {
                        'NAME' => 'SYNO.SurveillanceStation.PTZ.Preset',
                        'mk' => 1
                      },
          'SNAPSHOT' => {
                          'mk' => 1,
                          'NAME' => 'SYNO.SurveillanceStation.SnapShot'
                        },
          'REC' => {
                     'mk' => 1,
                     'NAME' => 'SYNO.SurveillanceStation.Recording'
                   },
          'EXTEVT' => {
                        'mk' => 1,
                        'NAME' => 'SYNO.SurveillanceStation.ExternalEvent'
                      },
          'AUDIOSTM' => {
                          'NAME' => 'SYNO.SurveillanceStation.AudioStream',
                          'mk' => 0
                        },
          'CAMEVENT' => {
                          'mk' => 1,
                          'NAME' => 'SYNO.SurveillanceStation.Camera.Event'
                        }
        };

2023.04.06 12:54:14 4: SVS - Call-Out now: http://192.168.X.X:5000/webapi/query.cgi?api=SYNO.API.Info&method=Query&version=1&query=SYNO.SurveillanceStation.PTZ,SYNO.SurveillanceStation.Event,SYNO.SurveillanceStation.HomeMode,SYNO.Surve>
2023.04.06 12:54:14 3: SVS - Polling of SVS is deactivated

Hat jemand eine Idee wie ich weiter suchen kann?

Danke Jürgen
Haupt-Fhem (Docker auf Synology), Sub-Fhem (433Mhz und 833Mhz) auf RasPi, Sub-Fhem (Heizungssteuerung) auf RasPi, Sub_Fhem (System) auf RasPi, IoBroker zur Darstellung (Docker auf Synology), alles verbunden über einen MQTT Broker, insgesamt ca. 100 Sensoren/Aktoren

DS_Starter

Poste doch mal bitte den Teil des Logs kurz vor dem Absturz bis kurz nach dem Eintrag:

 Including fhem.cfg
 ...

LG
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

pcjogi

Das ist vorher:

2023.04.06 12:54:06 1: Including ./log/fhem.save
2023.04.06 12:54:07 1: Messages collected while initializing FHEM:SecurityCheck:
  WEBDEV is not password protected
  WEB is not password protected

Protect this FHEM installation by defining an allowed device with define allowed allowed
You can disable this message with attr global motd none

2023.04.06 12:54:07 0: HMCCU [d_ccu] Scheduling post FHEM initialization tasks in 12 seconds
2023.04.06 12:54:10 1: usb create starting
sh: 1: echo: echo: I/O error
2023.04.06 12:54:11 3: Probing ZWDongle device /dev/serial0
2023.04.06 12:54:11 1: ZWDongle: Can't open /dev/serial0: Permission denied
2023.04.06 12:54:11 3: Probing CUL device /dev/ttyAMA0
2023.04.06 12:54:11 1: CUL: Can't open /dev/ttyAMA0: Permission denied
2023.04.06 12:54:11 1: usb create end
2023.04.06 12:54:11 3: CORESECURE.SIGNAL: Before parse:@+4915146181689 coresecure gestartet!:
2023.04.06 12:54:11 2: [Freezemon] FREEZEMON: ready to watch out for delays greater than 2 second(s)
2023.04.06 12:54:11 3: NTFY return:  SYSMON.coresecure:Initialized
2023.04.06 12:54:11 0: Featurelevel: 6.2
2023.04.06 12:54:11 0: Server started with 40 defined entities (fhem.pl:27302/2023-03-05 perl:5.032001 os:linux user:fhem pid:21931)
2023.04.06 12:54:11 3: Opening MQTT device 192.168.1.32:1883
2023.04.06 12:54:14 4: SVS - ####################################################
2023.04.06 12:54:14 4: SVS - ###    start cam operation getsvslog
2023.04.06 12:54:14 4: SVS - ####################################################

und das danach:

          'CAMEVENT' => {
                          'mk' => 1,
                          'NAME' => 'SYNO.SurveillanceStation.Camera.Event'
                        }
        };

2023.04.06 12:54:14 4: SVS - Call-Out now: http://192.168.1.11:5000/webapi/query.cgi?api=SYNO.API.Info&method=Query&version=1&query=SYNO.SurveillanceStation.PTZ,SYNO.SurveillanceStation.Event,SYNO.SurveillanceStation.HomeMode,SYNO.Surve>
2023.04.06 12:54:14 3: SVS - Polling of SVS is deactivated
2023.04.06 12:54:16 3: MQTT device opened
2023.04.06 12:54:18 1: [Freezemon] FREEZEMON: possible freeze starting at 12:54:12, delay is 6.721 possibly caused by: no bad guy found :-(
2023.04.06 12:54:19 3: CORESECURE.SIGNAL: Before parse:@+4915146181689 RFID3 Eingang wieder Online:
2023.04.06 12:54:20 1: PERL WARNING: ^* matches null string many times in regex; marked by <-- HERE in m/^* <-- HERE .$/ at ./FHEM/93_DbLog.pm line 1359.
2023.04.06 12:54:20 3: CORESECURE.SIGNAL: Before parse:@+4915146181689 <b>ACHTUNG!!!!<b> RFID Eingang Offline:
2023.04.06 12:54:20 3: CORESECURE.SIGNAL: Before parse:@+4915146181689 <b>ACHTUNG!!!!<b> RFID2 Eingang Offline:
2023.04.06 12:54:20 1: HMCCU [d_ccu] Reading device config from CCU. This may take a couple of seconds ...
2023.04.06 12:54:20 2: HMCCU [d_ccu] Reading Device Descriptions for interface HmIP-RF
2023.04.06 12:54:21 2: HMCCU [d_ccu] Read 80 Device Descriptions for interface HmIP-RF
2023.04.06 12:54:21 2: HMCCU [d_ccu] Reading Paramset Descriptions for interface HmIP-RF
2023.04.06 12:54:30 2: HMCCU [d_ccu] Read 245 Paramset Descriptions for interface HmIP-RF
2023.04.06 12:54:30 2: HMCCU [d_ccu] Reading Peer Descriptions for interface HmIP-RF
2023.04.06 12:54:30 2: HMCCU [d_ccu] Read 0 Peer Descriptions for interface HmIP-RF
2023.04.06 12:54:30 2: HMCCU [d_ccu] Reading Device Descriptions for interface VirtualDevices
2023.04.06 12:54:30 2: HMCCU [d_ccu] Read 0 Device Descriptions for interface VirtualDevices
2023.04.06 12:54:30 2: HMCCU [d_ccu] Reading Paramset Descriptions for interface VirtualDevices
2023.04.06 12:54:30 2: HMCCU [d_ccu] Read 0 Paramset Descriptions for interface VirtualDevices
2023.04.06 12:54:30 2: HMCCU [d_ccu] Reading Peer Descriptions for interface VirtualDevices
2023.04.06 12:54:30 2: HMCCU [d_ccu] Read 0 Peer Descriptions for interface VirtualDevices
2023.04.06 12:54:30 2: HMCCU [d_ccu] Reading Device Descriptions for interface BidCos-RF
2023.04.06 12:54:31 2: HMCCU [d_ccu] Read 210 Device Descriptions for interface BidCos-RF
2023.04.06 12:54:32 2: HMCCU [d_ccu] Reading Paramset Descriptions for interface BidCos-RF
2023.04.06 12:54:42 2: HMCCU [d_ccu] Read 364 Paramset Descriptions for interface BidCos-RF
2023.04.06 12:54:42 2: HMCCU [d_ccu] Reading Peer Descriptions for interface BidCos-RF
2023.04.06 12:54:42 2: HMCCU [d_ccu] Read 22 Peer Descriptions for interface BidCos-RF
2023.04.06 12:54:43 2: HMCCU [d_ccu] Read device configuration in 22.1084001064301 seconds: devices/channels=290 parametersets=609 links=22
Unknown encoding '"UTF-8"' at FHEM/HttpUtils.pm line 1061.
2


Ohne Verbose 5 habe ich auch so etwas als letzten Eintrag im Log gesehen.
2023.04.06 12:30:40 3: CAMTEST - Polling of SVS is deactivated
Unknown encoding '"UTF-8"' at FHEM/HttpUtils.pm line 1061.
2023.04.06 12:32:13 1: Including fhem.cfg
2023.04.06 12:32:19 2: DbLog logdb - Subprocess >17212< initialized ... ready for non-blocking operation
2

Habe ich aber mit verbose 5 nicht mehr zu Gesicht bekommen.

Brauchst du die vollständige fhem.cfg? Die muss ich dann erstmal anonymisieren. Der teil des Moduls ist hier:

define SVS SSCam SVS 192.168.1.11
setuuid SVS 642ea123-f33f-6802-23e3-5bfa4656060cf097
attr SVS room SSCam
attr SVS webCmd homeMode
attr SVS webCmdLabel HomeMode

Danke


Haupt-Fhem (Docker auf Synology), Sub-Fhem (433Mhz und 833Mhz) auf RasPi, Sub-Fhem (Heizungssteuerung) auf RasPi, Sub_Fhem (System) auf RasPi, IoBroker zur Darstellung (Docker auf Synology), alles verbunden über einen MQTT Broker, insgesamt ca. 100 Sensoren/Aktoren

DS_Starter

Das ist die Ursache:

2023.04.06 12:54:43 2: HMCCU [d_ccu] Read device configuration in 22.1084001064301 seconds: devices/channels=290 parametersets=609 links=22
Unknown encoding '"UTF-8"' at FHEM/HttpUtils.pm line 1061.


Hat auch nichts direkt mit SSCam zu tun, tritt auch wie oben zu sehen mit HMCCU auf.
HttpUtils.pm ist ein zentrales Modul was von vielen anderen Modulen eingebunden wird.

An der besagten Stelle wird ein Perl Modul "Encode" angesprochen. Dieses kennt das verwendete encoding "UTF-8" nicht.

Es ist also eine zentrale Stelle (Modul Encode) in deiner Perl Version.
So sieht es zumindest für mich aus.
Du könntest mal eine Meldung zu HttpUtils aufmachen mit dem Verweis auf

 Unknown encoding '"UTF-8"' at FHEM/HttpUtils.pm

Vielleicht kennt Rudolph (König) das Problem.

LG

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

pcjogi

Ok, aber dieser Logeintrag erfolgt nur wenn ich SSCAM einbinde. Sonst nicht. Daher glaube ich nicht, dass es etwas mit HMCCU zu tun hat. Ich bin aber nicht so tief in FHEM drin und versuche den vorgeschlagenen Weg über die HttpUtils Meldung
Haupt-Fhem (Docker auf Synology), Sub-Fhem (433Mhz und 833Mhz) auf RasPi, Sub-Fhem (Heizungssteuerung) auf RasPi, Sub_Fhem (System) auf RasPi, IoBroker zur Darstellung (Docker auf Synology), alles verbunden über einen MQTT Broker, insgesamt ca. 100 Sensoren/Aktoren

DS_Starter

ZitatDaher glaube ich nicht, dass es etwas mit HMCCU zu tun hat.
Hat es auch nicht, sondern mit HttpUtils bzw. dem Perl Modul "Encode" welches HttpUtils an dieser Stelle aufruft.  ;)
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

uwirt

Ich kann auf meine Kameras, die sich im selben LAN befinden über Synology/SurveillanceStation problemlos zugreifen.

Nun möchte ich von einem anderen Standort auf Kameras zugreifen. Ich habe einen Port mit Weiterleitung im Router definiert. Leider gibt mir FHEM einen Fehler:

define SDS SSCam SVS XX.XXX.XXX.218 554 HTTPS
attr SDS devStateStyle style="text-align:right"
attr SDS httptimeout 10
attr SDS pollcaminfoall 100
attr SDS room Camera
attr SDS session SurveillanceStation
attr SDS showStmInfoFull 1
attr SDS webCmd homeMode
attr SDS webCmdLabel HomeMode
#   CAMNAME    SVS
#   CFGFN     
#   COMPATIBILITY 9.0.00
#   CREDENTIALS Set
#   DEF        SVS XX.XXX.XXX.218 554 HTTPS
#   FUUID      648061a6-f33f-c144-d731-9421cd936dc47078
#   FVERSION   49_SSCam.pm:v9.11.0-s27242/2023-02-17
#   MODEL      SVS
#   NAME       SDS
#   NR         1028
#   OPMODE     getsvsinfo
#   PROTOCOL   https
#   SERVERADDR XX.XXX.XXX.218
#   SERVERPORT 554
#   STATE      polling
#   TYPE       SSCam
#   eventCount 835
#   HELPER:
#     ACTIVE     off
#     CREDENTIALS \[WzdY5?d6VmipfimHX~R�D6Np>@␎
#     HLSSTREAM  inactive
#     LOGINRETRIES 0
#     OLDPTZHOME
#     OLDVALPOLL 100
#     OLDVALPOLLNOLOGGING 0
#     PACKAGE    FHEM::SSCam
#     RECTIME_DEF 15
#     SNAPLIMIT  0
#     TOTALCNT   0
#     VERSION    9.11.0
#     VERSION_API 1.4.0
#     VERSION_CTZ unused
#     VERSION_ErrCodes 1.3.7
#     VERSION_SMUtils 1.26.0
#     API:
#       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
#     CL:
#       1:
#         Authenticated 0
#         BUF       
#         FW_ID      1686136668.86947
#         LASTACCESS 1686136669.7385
#         NAME       WEB_192.168.1.106_54974
#         NR         2051
#         NTFY_ORDER WEB_192.168.1.106_54974
#         PEER       192.168.1.106
#         PORT       54974
#         SNAME      WEB
#         SSL       
#         STATE      Connected
#         TEMPORARY  1
#         TYPE       FHEMWEB
#         WBCallback
#         canAsyncOutput 1
#         encoding   UTF-8
#         stacktrace  TcpServer_Close:325 FW_Undef:3980 CallFn:2345 CommandDelete:370 FW_Read:3980 CallFn:784
#         READINGS:
#           2023-06-07 13:17:40   state           Connected
#         inform:
#           filter     SDS
#           fmt        JSON
#           since      1686136664.73946
#           type       status
#           devices:
#             #FHEMWEB:WEB 1
#             SDS        1
#   READINGS:
#     2023-06-07 16:50:54   Error           start_SSL https://XX.XX.XXX.218:554 timed out
#     2023-06-07 13:02:16   Errorcode       9001
#     2023-06-07 16:50:34   PollState       Active - next time: 16:52:14
#     2023-06-07 13:17:53   compstate       true
#     2023-06-07 16:50:34   state           polling
#   hmccu:
#
setstate SDS polling
setstate SDS 2023-06-07 16:50:54 Error start_SSL https://XX.XXX.XXX.218:554 timed out
setstate SDS 2023-06-07 13:02:16 Errorcode 9001
setstate SDS 2023-06-07 16:50:34 PollState Active - next time: 16:52:14
setstate SDS 2023-06-07 13:17:53 compstate true
setstate SDS 2023-06-07 16:50:34 state polling


Ich habe auch HTTP, TCP und UDP als Protokolle versucht.
FHEM / Ubuntu / fitlet2
HomeMatic: CCU3|HmIP-STHD|HmIP-PCBS|HmIP-PCBS2|HmIP-PCBS-BAT|HM-WDC7000|HM-WDS100-C6-O|HM-WDS40|HM-LC-Sw1-FM|HM-LC-RGBW-WM|HM-ES-PMSw1-Pl|HM-ES-TX-WM
NAS: DS218+|DS209j|DS216+II|DS412+
Devices: Panasonic Webcams|Withings|Gardena Smart|Tuya

DS_Starter

Das Attr livestreamprefix sollte dir helfen.

(Von unterwegs)
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

uwirt

Ich habe das mit dem Attr livestreamprefix versucht - nur leider bringt mich das noch nicht weiter. Ich habe immer noch ein TimeOut.

define SDS SSCam SVS xx.xxxx.218 544 http
attr SDS devStateStyle style="text-align:right"
attr SDS httptimeout 100
attr SDS livestreamprefix https://xx.xxx.xxx.218:554
attr SDS pollcaminfoall 100
attr SDS room Camera
attr SDS session SurveillanceStation
attr SDS showStmInfoFull 1
attr SDS webCmd homeMode
attr SDS webCmdLabel HomeMode
#   CAMNAME    SVS
#   COMPATIBILITY 9.0.00
#   CREDENTIALS Set
#   DEF        SVS xx.xxx.xxx.218 544 http
#   FUUID      648061a6-f33f-c144-d731-9421cd936dc47078
#   FVERSION   49_SSCam.pm:v9.11.0-s27242/2023-02-17
#   MODEL      SVS
#   NAME       SDS
#   NR         142
#   OPMODE     getsvslog
#   PROTOCOL   http
#   SERVERADDR xx.xxx.xxx.218
#   SERVERPORT 544
#   STATE      polling
#   TYPE       SSCam
#   eventCount 437
#   HELPER:
#     ACTIVE     on
#     CREDENTIALS \[WzdY5?d6VmipfimHX~R�D6Np>@␎
#     HLSSTREAM  inactive
#     LOGINRETRIES 0
#     OLDPTZHOME
#     OLDVALPOLL 100
#     OLDVALPOLLNOLOGGING 0
#     PACKAGE    FHEM::SSCam
#     RECTIME_DEF 15
#     SNAPLIMIT  0
#     TOTALCNT   0
#     VERSION    9.11.0
#     VERSION_API 1.4.0
#     VERSION_CTZ unused
#     VERSION_ErrCodes 1.3.7
#     VERSION_SMUtils 1.26.0
#     API:
#       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
#     CL:
#       1:
#         Authenticated 0
#         BUF       
#         FW_ID      1686209961.09711
#         LASTACCESS 1686209961.70076
#         NAME       WEB_192.168.1.106_47496
#         NR         5250
#         NTFY_ORDER WEB_192.168.1.106_47496
#         PEER       192.168.1.106
#         PORT       47496
#         SNAME      WEB
#         SSL       
#         STATE      Connected
#         TEMPORARY  1
#         TYPE       FHEMWEB
#         canAsyncOutput 1
#         encoding   UTF-8
#         stacktrace  TcpServer_Close:325 FW_Undef:3980 CallFn:2345 CommandDelete:370 FW_Read:3980 CallFn:784
#         READINGS:
#           2023-06-08 09:38:22   state           Connected
#         inform:
#           filter     SDS
#           fmt        JSON
#           since      1686209956.7016
#           type       status
#           devices:
#             #FHEMWEB:WEB 1
#             SDS        1
#   READINGS:
#     2023-06-08 10:22:26   Error           connect to http://xx.xxx.xxx.218:544 timed out
#     2023-06-07 17:31:59   Errorcode       none
#     2023-06-08 10:22:29   PollState       Active - next time: 10:24:09
#     2023-06-08 09:39:17   compstate       true
#     2023-06-08 10:22:29   state           polling
#   hmccu:
#
setstate SDS polling
setstate SDS 2023-06-08 10:22:26 Error connect to http://xx.xxx.xxx.218:544 timed out
setstate SDS 2023-06-07 17:31:59 Errorcode none
setstate SDS 2023-06-08 10:22:29 PollState Active - next time: 10:24:09
setstate SDS 2023-06-08 09:39:17 compstate true
setstate SDS 2023-06-08 10:22:29 state polling

FHEM / Ubuntu / fitlet2
HomeMatic: CCU3|HmIP-STHD|HmIP-PCBS|HmIP-PCBS2|HmIP-PCBS-BAT|HM-WDC7000|HM-WDS100-C6-O|HM-WDS40|HM-LC-Sw1-FM|HM-LC-RGBW-WM|HM-ES-PMSw1-Pl|HM-ES-TX-WM
NAS: DS218+|DS209j|DS216+II|DS412+
Devices: Panasonic Webcams|Withings|Gardena Smart|Tuya

DS_Starter

Arbeitet die Umleitung wie sie soll ? Ist es 554 oder 544 ? Du hast zwei verschiedene Ports angegeben.
Mehr siehst du wahrscheinlich mit verbose 4 oder 5. Wenn in der DEF die IP und Port welche von extern erreichbar sein sollten drin stehen, sollte das passen.
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

Ich würde weder 554 noch 544 nurzen. Die sind lt. IANA belegt.
Nimm einen hohen wie 32900 oder so.
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

uwirt

Ich habe den port jetzt auf 32900 umgestellt und erhalte folgenden Fehler:

2023-06-08 12:40:35.873 SSCam SDS polling
2023-06-08 12:40:35.879 SSCam SDS PollState: Active - next time: 12:42:15
2023-06-08 12:40:35.938 SSCam SDS Error:  SSL connect attempt failed error:1408F10B:SSL routines:ssl3_get_record:wrong version number
2023-06-08 12:40:36.944 SSCam SDS Error:  SSL connect attempt failed error:1408F10B:SSL routines:ssl3_get_record:wrong version number

Das def ist folgendes:
define SDS SSCam SVS xx.xxx.xxx.218 32900 https
attr SDS devStateStyle style="text-align:right"
attr SDS httptimeout 100
attr SDS livestreamprefix DEF
attr SDS pollcaminfoall 100
attr SDS room Camera
attr SDS session SurveillanceStation
attr SDS showStmInfoFull 1
attr SDS verbose 4
attr SDS webCmd homeMode
attr SDS webCmdLabel HomeMode
#   CAMNAME    SVS
#   COMPATIBILITY 9.0.00
#   CREDENTIALS Set
#   DEF        SVS xx.xxx.xxx.218 32900 https
#   FUUID      648061a6-f33f-c144-d731-9421cd936dc47078
#   FVERSION   49_SSCam.pm:v9.11.0-s27242/2023-02-17
#   MODEL      SVS
#   NAME       SDS
#   NR         142
#   OPMODE     getsvsinfo
#   PROTOCOL   https
#   SERVERADDR xx.xxx.xxx.218
#   SERVERPORT 32900
#   STATE      polling
#   TYPE       SSCam
#   eventCount 108
#   HELPER:
#     ACTIVE     off
#     CREDENTIALS \[WzdY5?d6VmipfimHX~R�D6Np>@␎
#     HLSSTREAM  inactive
#     LOGINRETRIES 0
#     OLDPTZHOME
#     OLDVALPOLL 100
#     OLDVALPOLLNOLOGGING 0
#     PACKAGE    FHEM::SSCam
#     RECTIME_DEF 15
#     SNAPLIMIT  0
#     TOTALCNT   0
#     VERSION    9.11.0
#     VERSION_API 1.4.0
#     VERSION_CTZ unused
#     VERSION_ErrCodes 1.3.7
#     VERSION_SMUtils 1.26.0
#     API:
#       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
#   READINGS:
#     2023-06-08 12:44:32   Error            SSL connect attempt failed error:1408F10B:SSL routines:ssl3_get_record:wrong version number
#     2023-06-08 12:09:01   Errorcode       none
#     2023-06-08 12:44:31   PollState       Active - next time: 12:46:11
#     2023-06-08 12:11:04   compstate       true
#     2023-06-08 12:44:31   state           polling
#
setstate SDS polling
setstate SDS 2023-06-08 12:44:32 Error  SSL connect attempt failed error:1408F10B:SSL routines:ssl3_get_record:wrong version number
setstate SDS 2023-06-08 12:09:01 Errorcode none
setstate SDS 2023-06-08 12:44:31 PollState Active - next time: 12:46:11
setstate SDS 2023-06-08 12:11:04 compstate true
setstate SDS 2023-06-08 12:44:31 state polling


FHEM / Ubuntu / fitlet2
HomeMatic: CCU3|HmIP-STHD|HmIP-PCBS|HmIP-PCBS2|HmIP-PCBS-BAT|HM-WDC7000|HM-WDS100-C6-O|HM-WDS40|HM-LC-Sw1-FM|HM-LC-RGBW-WM|HM-ES-PMSw1-Pl|HM-ES-TX-WM
NAS: DS218+|DS209j|DS216+II|DS412+
Devices: Panasonic Webcams|Withings|Gardena Smart|Tuya

DS_Starter

Das ist ein SSL Fehler und hat nichts mit dem Modul zu tun. Mal googeln. Aber die Verbindung scheint zu funktionieren. Auch testweise nir mit http zu testen hilft sicher weiter.
Vllt. Kann die Community weiterhelfen.

(Nur kurz weil unterwegs)
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

uwirt

Das Problem war dass ich HTTPS statt HTTP eingegeben hatte - jetzt funktioniert es.

Besten Dank!
FHEM / Ubuntu / fitlet2
HomeMatic: CCU3|HmIP-STHD|HmIP-PCBS|HmIP-PCBS2|HmIP-PCBS-BAT|HM-WDC7000|HM-WDS100-C6-O|HM-WDS40|HM-LC-Sw1-FM|HM-LC-RGBW-WM|HM-ES-PMSw1-Pl|HM-ES-TX-WM
NAS: DS218+|DS209j|DS216+II|DS412+
Devices: Panasonic Webcams|Withings|Gardena Smart|Tuya