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

ZitatDas würde ich gerne aber ich kriege die Cam mit diesem ID-Fehler gar nicht auf "on". Verbose 4 hab ich eingestellt.
Schreibt das Log nichts aus?

Wenn nicht, dann Verbose 4 bei der Cam einstellen + danach scanVirgin bei dieser Cam durchführen + Logauszug posten.
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

justcallmeal

#2626

Schreibt das Log nichts aus?
Wenn nicht, dann Verbose 4 bei der Cam einstellen + danach scanVirgin bei dieser Cam durchführen + Logauszug posten.
[/quote]

nee, schreibt nur o.g. Meldungen in mehrfacher Wiederholung. Auch bei verbose 5 und anschließendem scanVergin ergibt sich kein Unterschied im Logfile.
HM-Sen-DB-PCB, HM-Sec-SCo, HM-MOD-Re-8, HM-SEC-SC-2, HM-Sen-MDIR-O, HM-LC-Sw1PBU-FM, HM-LC-RGBW-WM, HM-ES-PMSw1-SM, HM-LC-Sw1-DR, div. Shellies u.v.m.

DS_Starter

Zitatnee, schreibt nur o.g. Meldungen in mehrfacher Wiederholung. Auch bei verbose 5 und anschließendem scanVergin ergibt sich kein Unterschied im Logfile.

Was du gepostet hast:

2025-01-21_15:43:26 Mobo_hinten on
2025-01-21_15:43:27 Mobo_hinten Errorcode: none
2025-01-21_15:43:27 Mobo_hinten Error: Camera(ID) not found in Surveillance Station

ist aber aus dem Eventmonitor und nicht aus dem FHEM Log.
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

justcallmeal

Zitat von: DS_Starter am 21 Januar 2025, 17:29:01
Zitatist aber aus dem Eventmonitor und nicht aus dem FHEM Log.

 :o  :o  :o  ...Du hast ja so recht 

hier das FHHEM Log:
2025.01.21 15:43:26 4: Mobo_hinten - ####################################################
2025.01.21 15:43:26 4: Mobo_hinten - ###    start cam operation Start         
2025.01.21 15:43:26 4: Mobo_hinten - ####################################################
2025.01.21 15:43:26 4: Mobo_hinten - --- Start getCamId ---
2025.01.21 15:43:26 4: Mobo_hinten - Call-Out now: http://192.168.178.XX:5000/webapi/entry.cgi?api=SYNO.SurveillanceStation.Camera&version=9&method="List"&basic=true&streamInfo=true&camStm=0&_sid="auFJaddakLc2UpfWV7CyqN-WYWUR0FaruwJ_qgW6KGc5gNUQSb8JHY-cocwKoXy4siXNw06Rm9QrI4w7Y0jz5w"
2025.01.21 15:43:27 2: Mobo_hinten - ERROR - Cameraname Mobotix_M12_2 wasn't found in Surveillance Station. Check Userrights, Cameraname and Spelling

...der Kameraname scheint richtig zu sein, ich werde später oder morgen mal den Rest kontollieren..

Danke erstmal,
LG!
HM-Sen-DB-PCB, HM-Sec-SCo, HM-MOD-Re-8, HM-SEC-SC-2, HM-Sen-MDIR-O, HM-LC-Sw1PBU-FM, HM-LC-RGBW-WM, HM-ES-PMSw1-SM, HM-LC-Sw1-DR, div. Shellies u.v.m.

justcallmeal

Zitat von: DS_Starter am 21 Januar 2025, 13:42:52Möglicherweise hilft ein einfaches "get ... scanVirgin".
Wenn das nicht hilft -> Verbose 4 (bei 'on') von der Cam mal posten.

...also hab nochmal im Rahmen meiner Möglichkeiten einiges geprüft und finde den Fehler einfach nicht.
Die nachfolgende Passage aus dem LOG resultiert aus verbose 5  und ein erneutes scanVirgin bei der Cam, die den Fehler hat:

2025.01.21 21:59:20 4: Mobo_hinten - --- Start Synology logout ---
2025.01.21 21:59:20 4: Mobo_hinten - Credentials read from RAM: SSCAM_user_mobo_2 ********
2025.01.21 21:59:20 5: Mobo_hinten - Call logout will be done with timeout value: 60 s
2025.01.21 21:59:20 3: Mobo_hinten - Polling of Mobotix_M12_2 is deactivated
2025.01.21 21:59:21 4: Mobo_hinten - URL-Call: http://192.168.179.XX:5000/webapi/entry.cgi?api=SYNO.API.Auth&version=6&method=Logout&session=SurveillanceStation&_sid=7-b01YbC2hQKB1ejvEk7_RqcIxEMvH4N7SOn9HVF5gETOv3_aRnOFCm3jBE0Z8uLsom7Xk2oCv3DMeetYAzPuc
2025.01.21 21:59:21 4: Mobo_hinten - JSON returned: {
  'success' => bless( do{\(my $o = 1)}, 'JSON::PP::Boolean' )
}

2025.01.21 21:59:21 2: Mobo_hinten - Session of User "SSCAM_user_mobo_2" terminated - session ID "7-b01YbC2hQKB1ejvEk7_RqcIxEMvH4N7SOn9HVF5gETOv3_aRnOFCm3jBE0Z8uLsom7Xk2oCv3DMeetYAzPuc" deleted
2025.01.21 21:59:21 4: Mobo_hinten - ####################################################
2025.01.21 21:59:21 4: Mobo_hinten - ###    start cam operation getsvsinfo         
2025.01.21 21:59:21 4: Mobo_hinten - ####################################################
2025.01.21 21:59:21 4: Mobo_hinten - --- Start getApiSites ---
2025.01.21 21:59:21 5: Mobo_hinten - HTTP-Call will be done with httptimeout-Value: 10 s
2025.01.21 21:59:21 4: Mobo_hinten - API imported:
{
  'VIDEOSTMS' => {
                   'mk' => 0,
                   'NAME' => 'SYNO.SurveillanceStation.VideoStream'
                 },
  'EVENT' => {
               'NAME' => 'SYNO.SurveillanceStation.Event',
               'mk' => 1
             },
  'PTZ' => {
             'NAME' => 'SYNO.SurveillanceStation.PTZ',
             'mk' => 1
           },
  'CAM' => {
             'mk' => 1,
             'NAME' => 'SYNO.SurveillanceStation.Camera'
           },
  'SNAPSHOT' => {
                  'mk' => 1,
                  'NAME' => 'SYNO.SurveillanceStation.SnapShot'
                },
  'EXTEVT' => {
                'mk' => 1,
                'NAME' => 'SYNO.SurveillanceStation.ExternalEvent'
              },
  'PRESET' => {
                'NAME' => 'SYNO.SurveillanceStation.PTZ.Preset',
                'mk' => 1
              },
  'EXTREC' => {
                'NAME' => 'SYNO.SurveillanceStation.ExternalRecording',
                'mk' => 1
              },
  'STM' => {
             'mk' => 1,
             'NAME' => 'SYNO.SurveillanceStation.Stream'
           },
  'LOG' => {
             'mk' => 1,
             'NAME' => 'SYNO.SurveillanceStation.Log'
           },
  'AUDIOSTM' => {
                  'NAME' => 'SYNO.SurveillanceStation.AudioStream',
                  'mk' => 0
                },
  'SVSINFO' => {
                 'NAME' => 'SYNO.SurveillanceStation.Info',
                 'mk' => 1
               },
  'VIDEOSTM' => {
                  'mk' => 1,
                  'NAME' => 'SYNO.SurveillanceStation.VideoStreaming'
                },
  'CAMEVENT' => {
                  'NAME' => 'SYNO.SurveillanceStation.Camera.Event',
                  'mk' => 1
                },
  'REC' => {
             'NAME' => 'SYNO.SurveillanceStation.Recording',
             'mk' => 1
           },
  'HMODE' => {
               'NAME' => 'SYNO.SurveillanceStation.HomeMode',
               'mk' => 0
             },
  'INFO' => {
              'VER' => 1,
              'PATH' => 'query.cgi',
              'mk' => 1,
              'NAME' => 'SYNO.API.Info'
            },
  'AUTH' => {
              'NAME' => 'SYNO.API.Auth',
              'mk' => 1
            }
}

2025.01.21 21:59:21 4: Mobo_hinten - Call-Out now: http://192.168.179.XX:5000/webapi/query.cgi?api=SYNO.API.Info&method=Query&version=1&query=SYNO.SurveillanceStation.VideoStream,SYNO.SurveillanceStation.Event,SYNO.SurveillanceStation.PTZ,SYNO.SurveillanceStation.Camera,SYNO.SurveillanceStation.SnapShot,SYNO.SurveillanceStation.ExternalEvent,SYNO.SurveillanceStation.PTZ.Preset,SYNO.SurveillanceStation.ExternalRecording,SYNO.SurveillanceStation.Stream,SYNO.SurveillanceStation.Log,SYNO.SurveillanceStation.AudioStream,SYNO.SurveillanceStation.Info,SYNO.SurveillanceStation.VideoStreaming,SYNO.SurveillanceStation.Camera.Event,SYNO.SurveillanceStation.Recording,SYNO.SurveillanceStation.HomeMode,SYNO.API.Info,SYNO.API.Auth
2025.01.21 21:59:21 5: Mobo_hinten - JSON returned: {
  'success' => bless( do{\(my $o = 1)}, 'JSON::PP::Boolean' ),
  'data' => {
              'SYNO.SurveillanceStation.HomeMode' => {
                                                       'requestFormat' => 'JSON',
                                                       'path' => 'entry.cgi',
                                                       'minVersion' => 1,
                                                       'maxVersion' => 1
                                                     },
              'SYNO.SurveillanceStation.Info' => {
                                                   'maxVersion' => 8,
                                                   'path' => 'entry.cgi',
                                                   'minVersion' => 1,
                                                   'requestFormat' => 'JSON'
                                                 },
              'SYNO.API.Auth' => {
                                   'path' => 'entry.cgi',
                                   'minVersion' => 1,
                                   'maxVersion' => 7
                                 },
              'SYNO.SurveillanceStation.Camera' => {
                                                     'requestFormat' => 'JSON',
                                                     'path' => 'entry.cgi',
                                                     'minVersion' => 1,
                                                     'maxVersion' => 9
                                                   },
              'SYNO.SurveillanceStation.SnapShot' => {
                                                       'maxVersion' => 1,
                                                       'path' => 'entry.cgi',
                                                       'minVersion' => 1,
                                                       'requestFormat' => 'JSON'
                                                     },
              'SYNO.SurveillanceStation.Camera.Event' => {
                                                           'minVersion' => 1,
                                                           'path' => 'entry.cgi',
                                                           'maxVersion' => 1,
                                                           'requestFormat' => 'JSON'
                                                         },
              'SYNO.SurveillanceStation.PTZ' => {
                                                  'minVersion' => 1,
                                                  'path' => 'entry.cgi',
                                                  'maxVersion' => 6,
                                                  'requestFormat' => 'JSON'
                                                },
              'SYNO.API.Info' => {
                                   'minVersion' => 1,
                                   'path' => 'entry.cgi',
                                   'maxVersion' => 1,
                                   'requestFormat' => 'JSON'
                                 },
              'SYNO.SurveillanceStation.Stream' => {
                                                     'requestFormat' => 'JSON',
                                                     'path' => 'entry.cgi',
                                                     'maxVersion' => 1,
                                                     'minVersion' => 1
                                                   },
              'SYNO.SurveillanceStation.Recording' => {
                                                        'minVersion' => 1,
                                                        'path' => 'entry.cgi',
                                                        'maxVersion' => 6,
                                                        'requestFormat' => 'JSON'
                                                      },
              'SYNO.SurveillanceStation.VideoStreaming' => {
                                                             'requestFormat' => 'JSON',
                                                             'path' => 'entry.cgi',
                                                             'maxVersion' => 1,
                                                             'minVersion' => 1
                                                           },
              'SYNO.SurveillanceStation.PTZ.Preset' => {
                                                         'requestFormat' => 'JSON',
                                                         'maxVersion' => 1,
                                                         'path' => 'entry.cgi',
                                                         'minVersion' => 1
                                                       },
              'SYNO.SurveillanceStation.Log' => {
                                                  'requestFormat' => 'JSON',
                                                  'path' => 'entry.cgi',
                                                  'minVersion' => 1,
                                                  'maxVersion' => 3
                                                },
              'SYNO.SurveillanceStation.ExternalEvent' => {
                                                            'maxVersion' => 1,
                                                            'path' => 'entry.cgi',
                                                            'minVersion' => 1,
                                                            'requestFormat' => 'JSON'
                                                          },
              'SYNO.SurveillanceStation.ExternalRecording' => {
                                                                'maxVersion' => 3,
                                                                'path' => 'entry.cgi',
                                                                'minVersion' => 1,
                                                                'requestFormat' => 'JSON'
                                                              },
              'SYNO.SurveillanceStation.Event' => {
                                                    'requestFormat' => 'JSON',
                                                    'path' => 'entry.cgi',
                                                    'minVersion' => 1,
                                                    'maxVersion' => 5
                                                  }
            }
}

2025.01.21 21:59:21 4: Mobo_hinten - ------- Start of auto adaption section -------
2025.01.21 21:59:21 4: Mobo_hinten - AUTH adapted -> NAME: SYNO.API.Auth, VER: 6, PATH: webapi/entry.cgi
2025.01.21 21:59:21 4: Mobo_hinten - ------- End of auto adaption section -------
2025.01.21 21:59:21 4: Mobo_hinten - ####################################################
2025.01.21 21:59:21 4: Mobo_hinten - ###    start cam operation getsvsinfo         
2025.01.21 21:59:21 4: Mobo_hinten - ####################################################
2025.01.21 21:59:21 3: Mobo_hinten - no session ID found - get new one
2025.01.21 21:59:21 4: Mobo_hinten - --- Begin Function login ---
2025.01.21 21:59:21 4: Mobo_hinten - Credentials read from RAM: SSCAM_user_mobo_2 ********
2025.01.21 21:59:21 4: Mobo_hinten - HTTP-Call login will be done with httptimeout-Value: 60 s
2025.01.21 21:59:21 4: Mobo_hinten - Call-Out now: http://192.168.179.XX:5000/webapi/entry.cgi?api=SYNO.API.Auth&version=6&method=Login&account=SSCAM_user_mobo_2&passwd=*****&session=SurveillanceStation&format="sid"
2025.01.21 21:59:21 5: Mobo_hinten - JSON decoded: {
  'success' => bless( do{\(my $o = 1)}, 'JSON::PP::Boolean' ),
  'data' => {
              'sid' => 'obqQQUpItLFeFGKXUcU85_XXXXXXIrLniIefN2ymxP4j-t0e7A0vMO7iDgzWePJsZ99E2UWPbu58dLcxJyh7-o',
              'is_portal_port' => bless( do{\(my $o = 0)}, 'JSON::PP::Boolean' ),
              'did' => 'br3arKoKQsjZ1Ioyng8MBPxbxRWsPGfrgUmEsMcLTokwR8bUsmJcWdgAO1EE4DW1vc3pjZBYiHFONt04OMW3sw'
            }
}

2025.01.21 21:59:21 4: Mobo_hinten - Login of User SSCAM_user_mobo_2 successful - SID: obqQQUpItLFeFGKXUcU85_XXXXXXIrLniIefN2ymxP4j-t0e7A0vMO7iDgzWePJsZ99E2UWPbu58dLcxJyh7-o
2025.01.21 21:59:21 4: Mobo_hinten - --- Start getCamId ---
2025.01.21 21:59:21 5: Mobo_hinten - HTTP-Call will be done with httptimeout-Value: 10 s
2025.01.21 21:59:21 4: Mobo_hinten - Call-Out now: http://192.168.179.XX:5000/webapi/entry.cgi?api=SYNO.SurveillanceStation.Camera&version=9&method="List"&basic=true&streamInfo=true&camStm=0&_sid="obqQQUpItLFeFGKXUcU85_XXXXXXIrLniIefN2ymxP4j-t0e7A0vMO7iDgzWePJsZ99E2UWPbu58dLcxJyh7-o"
2025.01.21 21:59:21 5: Mobo_hinten - JSON returned: {
  'success' => bless( do{\(my $o = 1)}, 'JSON::PP::Boolean' ),
  'data' => {
              'cameras' => []
            }
}

2025.01.21 21:59:21 2: Mobo_hinten - ERROR - Cameraname Mobotix_M12_2 wasn't found in Surveillance Station. Check Userrights, Cameraname and Spelling
2025.01.21 21:59:22 4: Mobo_hinten - ####################################################
2025.01.21 21:59:22 4: Mobo_hinten - ###    start cam operation Getcapabilities         
2025.01.21 21:59:22 4: Mobo_hinten - ####################################################
2025.01.21 21:59:22 4: Mobo_hinten - --- Start getCamId ---
2025.01.21 21:59:22 5: Mobo_hinten - HTTP-Call will be done with httptimeout-Value: 10 s
2025.01.21 21:59:22 4: Mobo_hinten - Call-Out now: http://192.168.179.XX:5000/webapi/entry.cgi?api=SYNO.SurveillanceStation.Camera&version=9&method="List"&basic=true&streamInfo=true&camStm=0&_sid="obqQQUpItLFeFGKXUcU85_XXXXXXIrLniIefN2ymxP4j-t0e7A0vMO7iDgzWePJsZ99E2UWPbu58dLcxJyh7-o"
2025.01.21 21:59:22 5: Mobo_hinten - JSON returned: {
  'data' => {
              'cameras' => []
            },
  'success' => bless( do{\(my $o = 1)}, 'JSON::PP::Boolean' )
}

2025.01.21 21:59:22 2: Mobo_hinten - ERROR - Cameraname Mobotix_M12_2 wasn't found in Surveillance Station. Check Userrights, Cameraname and Spelling
2025.01.21 21:59:22 4: Mobo_hinten - ####################################################
2025.01.21 21:59:22 4: Mobo_hinten - ###    start cam operation getsnapgallery         
2025.01.21 21:59:22 4: Mobo_hinten - ####################################################
2025.01.21 21:59:22 4: Mobo_hinten - Call getsnapinfo with params: Image numbers => 1, Image size => 1, Keyword => Mobotix_M12_2
2025.01.21 21:59:22 4: Mobo_hinten - --- Start getCamId ---
2025.01.21 21:59:22 5: Mobo_hinten - HTTP-Call will be done with httptimeout-Value: 10 s
2025.01.21 21:59:22 4: Mobo_hinten - Call-Out now: http://192.168.179.XX:5000/webapi/entry.cgi?api=SYNO.SurveillanceStation.Camera&version=9&method="List"&basic=true&streamInfo=true&camStm=0&_sid="obqQQUpItLFeFGKXUcU85_XXXXXXIrLniIefN2ymxP4j-t0e7A0vMO7iDgzWePJsZ99E2UWPbu58dLcxJyh7-o"
2025.01.21 21:59:22 5: Mobo_hinten - JSON returned: {
  'data' => {
              'cameras' => []
            },
  'success' => bless( do{\(my $o = 1)}, 'JSON::PP::Boolean' )
}

2025.01.21 21:59:22 2: Mobo_hinten - ERROR - Cameraname Mobotix_M12_2 wasn't found in Surveillance Station. Check Userrights, Cameraname and Spelling
2025.01.21 21:59:22 4: Mobo_hinten - ####################################################
2025.01.21 21:59:22 4: Mobo_hinten - ###    start cam operation geteventlist         
2025.01.21 21:59:22 4: Mobo_hinten - ####################################################
2025.01.21 21:59:22 4: Mobo_hinten - --- Start getCamId ---
2025.01.21 21:59:22 5: Mobo_hinten - HTTP-Call will be done with httptimeout-Value: 10 s
2025.01.21 21:59:22 4: Mobo_hinten - Call-Out now: http://192.168.179.XX:5000/webapi/entry.cgi?api=SYNO.SurveillanceStation.Camera&version=9&method="List"&basic=true&streamInfo=true&camStm=0&_sid="obqQQUpItLFeFGKXUcU85_XXXXXXIrLniIefN2ymxP4j-t0e7A0vMO7iDgzWePJsZ99E2UWPbu58dLcxJyh7-o"
2025.01.21 21:59:23 5: Mobo_hinten - JSON returned: {
  'success' => bless( do{\(my $o = 1)}, 'JSON::PP::Boolean' ),
  'data' => {
              'cameras' => []
            }
}

2025.01.21 21:59:23 2: Mobo_hinten - ERROR - Cameraname Mobotix_M12_2 wasn't found in Surveillance Station. Check Userrights, Cameraname and Spelling
2025.01.21 21:59:24 4: Mobo_hinten - ####################################################
2025.01.21 21:59:24 4: Mobo_hinten - ###    start cam operation getmotionenum         
2025.01.21 21:59:24 4: Mobo_hinten - ####################################################
2025.01.21 21:59:24 4: Mobo_hinten - --- Start getCamId ---
2025.01.21 21:59:24 5: Mobo_hinten - HTTP-Call will be done with httptimeout-Value: 10 s
2025.01.21 21:59:24 4: Mobo_hinten - Call-Out now: http://192.168.179.XX:5000/webapi/entry.cgi?api=SYNO.SurveillanceStation.Camera&version=9&method="List"&basic=true&streamInfo=true&camStm=0&_sid="obqQQUpItLFeFGKXUcU85_XXXXXXIrLniIefN2ymxP4j-t0e7A0vMO7iDgzWePJsZ99E2UWPbu58dLcxJyh7-o"
2025.01.21 21:59:25 5: Mobo_hinten - JSON returned: {
  'success' => bless( do{\(my $o = 1)}, 'JSON::PP::Boolean' ),
  'data' => {
              'cameras' => []
            }
}

2025.01.21 21:59:25 2: Mobo_hinten - ERROR - Cameraname Mobotix_M12_2 wasn't found in Surveillance Station. Check Userrights, Cameraname and Spelling
2025.01.21 21:59:26 4: Mobo_hinten - ####################################################
2025.01.21 21:59:26 4: Mobo_hinten - ###    start cam operation Getcaminfo         
2025.01.21 21:59:26 4: Mobo_hinten - ####################################################
2025.01.21 21:59:26 4: Mobo_hinten - --- Start getCamId ---
2025.01.21 21:59:26 5: Mobo_hinten - HTTP-Call will be done with httptimeout-Value: 10 s
2025.01.21 21:59:26 4: Mobo_hinten - Call-Out now: http://192.168.179.XX:5000/webapi/entry.cgi?api=SYNO.SurveillanceStation.Camera&version=9&method="List"&basic=true&streamInfo=true&camStm=0&_sid="obqQQUpItLFeFGKXUcU85_XXXXXXIrLniIefN2ymxP4j-t0e7A0vMO7iDgzWePJsZ99E2UWPbu58dLcxJyh7-o"
2025.01.21 21:59:27 5: Mobo_hinten - JSON returned: {
  'data' => {
              'cameras' => []
            },
  'success' => bless( do{\(my $o = 1)}, 'JSON::PP::Boolean' )
}

2025.01.21 21:59:27 2: Mobo_hinten - ERROR - Cameraname Mobotix_M12_2 wasn't found in Surveillance Station. Check Userrights, Cameraname and Spelling
2025.01.21 21:59:28 3: CUL_HM set Samuel_Dimmer statusRequest noArg
2025.01.21 21:59:28 4: Mobo_hinten - ####################################################
2025.01.21 21:59:28 4: Mobo_hinten - ###    start cam operation getStmUrlPath         
2025.01.21 21:59:29 4: Mobo_hinten - ####################################################
2025.01.21 21:59:29 4: Mobo_hinten - --- Start getCamId ---
2025.01.21 21:59:29 5: Mobo_hinten - HTTP-Call will be done with httptimeout-Value: 10 s
2025.01.21 21:59:29 4: Mobo_hinten - Call-Out now: http://192.168.179.XX:5000/webapi/entry.cgi?api=SYNO.SurveillanceStation.Camera&version=9&method="List"&basic=true&streamInfo=true&camStm=0&_sid="obqQQUpItLFeFGKXUcU85_XXXXXXIrLniIefN2ymxP4j-t0e7A0vMO7iDgzWePJsZ99E2UWPbu58dLcxJyh7-o"
2025.01.21 21:59:29 3: CUL_HM set Schaltsteckdose statusRequest noArg
2025.01.21 21:59:29 5: Mobo_hinten - JSON returned: {
  'data' => {
              'cameras' => []
            },
  'success' => bless( do{\(my $o = 1)}, 'JSON::PP::Boolean' )
}

2025.01.21 21:59:29 2: Mobo_hinten - ERROR - Cameraname Mobotix_M12_2 wasn't found in Surveillance Station. Check Userrights, Cameraname and Spelling

Kannst Du da bitte mal drüberschauen, Heiko?

Danke und LG!
HM-Sen-DB-PCB, HM-Sec-SCo, HM-MOD-Re-8, HM-SEC-SC-2, HM-Sen-MDIR-O, HM-LC-Sw1PBU-FM, HM-LC-RGBW-WM, HM-ES-PMSw1-SM, HM-LC-Sw1-DR, div. Shellies u.v.m.

DS_Starter

Ja, das Problem ist dass die SVS keinerlei ID's zurück liefert:

2025.01.21 21:59:21 4: Mobo_hinten - --- Start getCamId ---
2025.01.21 21:59:21 5: Mobo_hinten - HTTP-Call will be done with httptimeout-Value: 10 s
2025.01.21 21:59:21 4: Mobo_hinten - Call-Out now: http://192.168.179.XX:5000/webapi/entry.cgi?api=SYNO.SurveillanceStation.Camera&version=9&method="List"&basic=true&streamInfo=true&camStm=0&_sid="obqQQUpItLFeFGKXUcU85_XXXXXXIrLniIefN2ymxP4j-t0e7A0vMO7iDgzWePJsZ99E2UWPbu58dLcxJyh7-o"
2025.01.21 21:59:21 5: Mobo_hinten - JSON returned: {
  'success' => bless( do{\(my $o = 1)}, 'JSON::PP::Boolean' ),
  'data' => {
              'cameras' => []
            }
}

Ich habe die gleiche SVS-Version wie du und meine SVS antwortet mit umfassenden Daten:

2025.01.22 10:42:50.545 4: CamHE1 - --- Start getCamId ---
2025.01.22 10:42:50.547 5: CamHE1 - HTTP-Call will be done with httptimeout-Value: 20 s
2025.01.22 10:42:50.549 4: CamHE1 - Call-Out now: http://192.168.2.10:5000/webapi/entry.cgi?api=SYNO.SurveillanceStation.Camera&version=9&method="List"&basic=true&streamInfo=true&camStm=0&_sid="Gpg1wJkSu6gOlvhXTeVx11COi8bU5nVNyB2Kr5CHXrcm6dGIpvUSvCGGfXxBWHeJy1W3uODQvz4T8I1kzRL6Tk"
2025.01.22 10:42:50.827 5: CamHE1 - JSON returned: {
  'success' => bless( do{\(my $o = 1)}, 'JSON::PP::Boolean' ),
  'data' => {
              'cameras' => [
                             {
                               'audioOut' => bless( do{\(my $o = 0)}, 'JSON::PP::Boolean' ),
                               'dualRecStatus' => 0,
                               'DONum' => 0,
                               'model' => 'BU-3025',
                               'lowProfileStreamNo' => 1,
                               'recShare' => 'surveillance',
                               ...
                               'id' => 1,
                               ...
                             },

Ich vermute ein Rechteproblem in der SVS dass der User die Camdaten nicht abrufen darf.
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

justcallmeal

Zitat von: DS_Starter am 22 Januar 2025, 10:47:42Ja, das Problem ist dass die SVS keinerlei ID's zurück liefert:
Ich habe die gleiche SVS-Version wie du und meine SVS antwortet mit umfassenden Daten:
Ich vermute ein Rechteproblem in der SVS dass der User die Camdaten nicht abrufen darf.

Lieber Heiko,
vielen Dank für Deine Analyse, damit komme ich ersteinmal weiter!
Gerne melde ich zurück, wenn ich's wieder in den Griff bekommen habe.

LG!

HM-Sen-DB-PCB, HM-Sec-SCo, HM-MOD-Re-8, HM-SEC-SC-2, HM-Sen-MDIR-O, HM-LC-Sw1PBU-FM, HM-LC-RGBW-WM, HM-ES-PMSw1-SM, HM-LC-Sw1-DR, div. Shellies u.v.m.

justcallmeal

Zitat von: justcallmeal am 22 Januar 2025, 12:48:46Gerne melde ich zurück, wenn ich's wieder in den Griff bekommen habe.

so, nun hab ich die SVS nochmal aus 'nem HyperBackup restored und jetzt läuft die Kiste endlich wieder.
Vielen Dank für die zielführende Unterstützung, Heiko!
HM-Sen-DB-PCB, HM-Sec-SCo, HM-MOD-Re-8, HM-SEC-SC-2, HM-Sen-MDIR-O, HM-LC-Sw1PBU-FM, HM-LC-RGBW-WM, HM-ES-PMSw1-SM, HM-LC-Sw1-DR, div. Shellies u.v.m.

justcallmeal

#2633
Hallo Heiko,
heute war es passiert, dass eine der Cams die SID "vergessen" hatte. Hier der Fehlertext im log, falls es interessiert.
Es ist insoweit kein Problem mehr für mich, da ich das mit einem "scanVirgin" wieder reparieren konnte.

2025-02-06_13:38:55 Mobo_vorne snap
2025-02-06_13:38:55 Mobo_vorne on 55
2025-02-06_13:38:55 Mobo_vorne Errorcode: 119
2025-02-06_13:38:55 Mobo_vorne Error: SID not found
2025-02-06_13:38:55 Mobo_vorne Errorcode: 117
2025-02-06_13:38:55 Mobo_vorne Error: need manager rights in SurveillanceStation for operation, WebAPI >= 9.2.1: Internal error
2025-02-06_13:38:57 Mobo_vorne on 50

Kannst Du erklären, was da schief lief? Möglicherweise hängt es mit dem DSM-Udpdate 7.2 Ver.3 zusammen?
LG,
al

HM-Sen-DB-PCB, HM-Sec-SCo, HM-MOD-Re-8, HM-SEC-SC-2, HM-Sen-MDIR-O, HM-LC-Sw1PBU-FM, HM-LC-RGBW-WM, HM-ES-PMSw1-SM, HM-LC-Sw1-DR, div. Shellies u.v.m.

DS_Starter

Morgen al,

eine Erklärung habe ich nicht, allerdings kann ich dir sagen, dass diese Meldung direkt von der SVS bzw. der Syno kommt.
Ich selbst hatte diese Meldung noch nie.
Deine Vermutung dass evtl. ein DSM Bug vorliegen könnte, würde ich teilen.
Mal beobachten und ggf. ein Ticket bei Syno aufmachen.

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