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

eldrik

Hi,

den Attribut hatte ich bereits in der Vergangenheit gesetzt (siehe List) mit der vorherigen 8er Beta Version und bis zum heutigen Update lief es damit auch problemlos, gehe davon aus, dass hier selbst simu_SVSversion = 7.1-xxxx nicht mehr hilft ;)

Greetz
Eldrik

DS_Starter

Zitatden Attribut hatte ich bereits in der Vergangenheit gesetzt (siehe List) ..

oh wie dusslig, hätte ich sehen müssen.  :-[

Das ist natürlich unschön. Mach mir mal bitte ein ein verbose 5 log von der Cam. Dann sehe ich wahrscheinlich an welcher Stelle es hakt und versuche den Workaround zu erweitern wenn es geht.

Aber das dauert etwas.

Grüße
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

eldrik


helgo2000

Jetzt ist es passiert: habe an meiner DS215j die Update-Maschine angeworfen - SVS 8.0 ist drauf und jetzt sind meine Kameras weg...

Ich bin eher ein Laie, der sich so "durchwurschtelt".

Nur eine kurze Frage: wenn ich die Kameras über SSCam neu definieren will, kommt die Ausschrift: "Cannot load module SSCam"

Liegt das an der neuen SVS 8.0 oder ist mir woanders was abgeschossen?

Gruß
helgo

DS_Starter

Hallo helgo,

ZitatNur eine kurze Frage: wenn ich die Kameras über SSCam neu definieren will, kommt die Ausschrift: "Cannot load module SSCam"

Liegt das an der neuen SVS 8.0 oder ist mir woanders was abgeschossen ?

Also das liegt nicht an der SVS. In diesem Fall ist das Modul entweder nicht lesbar (Dateirechte) oder es fehlet ein benötigtes Perl-Modul. Vllt. gibt das Logfile mehr Auskunft. Aber du wirst dann das gleiche Problem wie eldrik haben. Aber das kriege ich sicherlich geregelt.
Dauert nur etwas.

VG
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

helgo2000

Danke für die Auskunft, ich warte erstmal ab, da die Sache vor dem Update ja problemlos lief.


nexulm

Hallo,

nichts ahnend habe ich heute auch die SVS auf v8.0.0-5122 aktualisiert.
Seit dem können die Kameras nicht mehr über das 49_SSCam Modul gesteuert (v.a. on/off, enable/disable) werden.

Auch hier können die Kamera-Namen nicht mehr nach dem SVS Update identifiziert werden:
Error          Camera(ID) not found in Surveillance Station          2017-01-19 23:22:56
Errorcode          none          2017-01-19 23:22:56


Über einen kurzfristigen Fix/Workaround würde ich mich freuen.

Tipps an welcher Stelle im Code selbst gesucht werden soll nehme ich alternativ/temporär auch entgegen.

Danke!
BeagleBone Black (Debian), FHEM SVN
HmLAN, 12x HM-LC-Bl1PBU-FM, 7xCC-RT-DN, >10x HM-SEC-SC-2, 3x HM-LC-SW1-FM, 1x HM-SEC-SD, 2x MK1010W, DM800, Yamaha RX-V771

DS_Starter

Hallo nexulm,

da bist du nicht alleine  ;)
Ich sehe zu morgen einen Workaround für die SVS 8 zu bringen.

Grüße
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

DS_Starter

Hallo zusammen,

hier die Version mit einem Workaround für SVS 8.0.0.
Setzt euch bitte das Attribut simu_SVSversion=7.1-xxxx oder 7.2-xxxx.
Gebt mir bitte Bescheid ob esklappt.

Grüße
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

eldrik

Hi,

habe das Modul mit der Workaround Version aktualisiert, keine Fehlermeldung und die von mir benutzen Funktionen (bedarfsgesteuerte Aufnahme) funktioniert auch!

Von meiner Seite soweit alles OK.

Greetz
Eldrik

DS_Starter

Hi eldrik,

prima. Ich  baue nun noch eine Version die auch ohne das Attribut zu setzen mit V8.0.0  funktionieren soll und bitte dich/euch dann nochmal zu testen.
Sonst gibt es immer Rückfragen/Probleme falls neue User mit der V8 anfangen und dann das Modul nicht gleich funktioniert.

Melde mich wieder.

Grüße
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

DS_Starter

Hallo zusammen,

anbei die Version 1.39.
Das Modul sollte nun auch ohne das gesetzte Attribut "simu_SVSversion" mit der V8.0.0 sowie der V8-Beta kompatibel sein.
Achtet beim Test auch darauf dass PTZ-Aktionen wie goPreset, runPatrol funktionieren.
Im Internals habe ich jetzt auch die VERSION mit eingefügt.

Grüße
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

CarlosTT

Hallo Heiko,
gerade probiert.

Bei einer Kamera mit gesetztem 'simu_SVSversion' Attribut klappt alles wie mit SV version 7.x.
Bei einer anderen Kamera ohne gesetztem Attribut gibt's weiterhin den Fehler 'Camera(ID) not found in Surveillance Station'.

Weitere Funktion kann ich noch nicht testen , da meine Instar noch nicht wieder eingetrudelt ist.

Gruß
Karl 

DS_Starter

#613
Hallo Karl,

kannst du mir bitte einen verbose 5 AUsschnitt machen ab ca. hier (ohne simu.. Attribut):

2017.01.19 07:22:21.891 5: <Name> - JSON returned: $VAR1 = {
          'success' => bless( do{\(my $o = 1)}, 'JSON::XS::Boolean' ),
          'data' => {
                      'cameras' => [
                                     {
                                       'recordTime' => 5,
                                       'fov' => '',
                                       'model' => 'Generic_ONVIF',
                                       'firmware' => '',
                                       .....



Grüße
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

CarlosTT

#614
bitteschön:


2017.01.21 15:09:07 4: DCS930LB - JSON returned: $VAR1 = {
          'data' => {
                      'SYNO.SurveillanceStation.SnapShot' => {
                                                               'path' => 'entry.cgi',
                                                               'requestFormat' => 'JSON',
                                                               'minVersion' => 1,
                                                               'maxVersion' => 1
                                                             },
                      'SYNO.SurveillanceStation.VideoStreaming' => {
                                                                     'minVersion' => 1,
                                                                     'maxVersion' => 1,
                                                                     'path' => 'entry.cgi',
                                                                     'requestFormat' => 'JSON'
                                                                   },
                      'SYNO.SurveillanceStation.ExternalRecording' => {
                                                                        'requestFormat' => 'JSON',
                                                                        'path' => 'entry.cgi',
                                                                        'minVersion' => 1,
                                                                        'maxVersion' => 3
                                                                      },
                      'SYNO.SurveillanceStation.ExternalEvent' => {
                                                                    'requestFormat' => 'JSON',
                                                                    'path' => 'entry.cgi',
                                                                    'maxVersion' => 1,
                                                                    'minVersion' => 1
                                                                  },
                      'SYNO.SurveillanceStation.Camera.Event' => {
                                                                   'minVersion' => 1,
                                                                   'maxVersion' => 1,
                                                                   'requestFormat' => 'JSON',
                                                                   'path' => 'entry.cgi'
                                                                 },
                      'SYNO.SurveillanceStation.Camera' => {
                                                             'requestFormat' => 'JSON',
                                                             'path' => 'entry.cgi',
                                                             'minVersion' => 1,
                                                             'maxVersion' => 9
                                                           },
                      'SYNO.SurveillanceStation.PTZ' => {
                                                          'maxVersion' => 5,
                                                          'minVersion' => 1,
                                                          'path' => 'entry.cgi',
                                                          'requestFormat' => 'JSON'
                                                        },
                      'SYNO.SurveillanceStation.Streaming' => {
                                                                'path' => 'SurveillanceStation/streaming.cgi',
                                                                'minVersion' => 1,
                                                                'maxVersion' => 2
                                                              },
                      'SYNO.SurveillanceStation.Event' => {
                                                            'minVersion' => 1,
                                                            'maxVersion' => 5,
                                                            'path' => 'entry.cgi',
                                                            'requestFormat' => 'JSON'
                                                          },
                      'SYNO.SurveillanceStation.Info' => {
                                                           'minVersion' => 1,
                                                           'maxVersion' => 6,
                                                           'path' => 'entry.cgi',
                                                           'requestFormat' => 'JSON'
                                                         },
                      'SYNO.API.Auth' => {
                                           'maxVersion' => 6,
                                           'minVersion' => 1,
                                           'path' => 'auth.cgi'
                                         }
                    },
          'success' => bless( do{\(my $o = 1)}, 'JSON::PP::Boolean' )
        };

2017.01.21 15:09:07 4: DCS930LB - Path of SYNO.API.Auth selected: auth.cgi
2017.01.21 15:09:07 4: DCS930LB - MaxVersion of SYNO.API.Auth selected: 6
2017.01.21 15:09:07 4: DCS930LB - Path of SYNO.SurveillanceStation.ExternalRecording selected: entry.cgi
2017.01.21 15:09:07 4: DCS930LB - MaxVersion of SYNO.SurveillanceStation.ExternalRecording selected: 3
2017.01.21 15:09:07 4: DCS930LB - Path of SYNO.SurveillanceStation.Camera selected: entry.cgi
2017.01.21 15:09:07 4: DCS930LB - MaxVersion of SYNO.SurveillanceStation.Camera: 9
2017.01.21 15:09:07 4: DCS930LB - Path of SYNO.SurveillanceStation.SnapShot selected: entry.cgi
2017.01.21 15:09:07 4: DCS930LB - MaxVersion of SYNO.SurveillanceStation.SnapShot: 1
2017.01.21 15:09:07 4: DCS930LB - Path of SYNO.SurveillanceStation.PTZ selected: entry.cgi
2017.01.21 15:09:07 4: DCS930LB - MaxVersion of SYNO.SurveillanceStation.PTZ: 5
2017.01.21 15:09:07 4: DCS930LB - Path of SYNO.SurveillanceStation.Info selected: entry.cgi
2017.01.21 15:09:07 4: DCS930LB - MaxVersion of SYNO.SurveillanceStation.Info: 6
2017.01.21 15:09:07 4: DCS930LB - Path of SYNO.SurveillanceStation.Camera.Event selected: entry.cgi
2017.01.21 15:09:07 4: DCS930LB - MaxVersion of SYNO.SurveillanceStation.Camera.Event: 1
2017.01.21 15:09:07 4: DCS930LB - Path of SYNO.SurveillanceStation.Event selected: entry.cgi
2017.01.21 15:09:07 4: DCS930LB - MaxVersion of SYNO.SurveillanceStation.Event: 5
2017.01.21 15:09:07 4: DCS930LB - Path of SYNO.SurveillanceStation.VideoStreaming selected: entry.cgi
2017.01.21 15:09:07 4: DCS930LB - MaxVersion of SYNO.SurveillanceStation.VideoStreaming: 1
2017.01.21 15:09:07 4: DCS930LB - Path of SYNO.SurveillanceStation.ExternalEvent selected: entry.cgi
2017.01.21 15:09:07 4: DCS930LB - MaxVersion of SYNO.SurveillanceStation.ExternalEvent selected: 1
2017.01.21 15:09:07 4: DCS930LB - Path of SYNO.SurveillanceStation.Streaming selected: SurveillanceStation/streaming.cgi
2017.01.21 15:09:07 4: DCS930LB - MaxVersion of SYNO.SurveillanceStation.Streaming selected: 2
2017.01.21 15:09:07 4: DCS930LB - saved SVS version is:
2017.01.21 15:09:07 4: DCS930LB - ------- Begin of simulation section -------
2017.01.21 15:09:07 4: DCS930LB - no simulations done !
2017.01.21 15:09:07 4: DCS930LB - ------- End of simulation section -------
2017.01.21 15:09:07 4: DCS930LB - ------- Begin of adaption section -------
2017.01.21 15:09:07 4: DCS930LB - no adaptions done !
2017.01.21 15:09:07 4: DCS930LB - ------- End of adaption section -------
2017.01.21 15:09:07 5: Triggering DCS930LB (2 changes)
2017.01.21 15:09:07 5: Starting notify loop for DCS930LB, 2 event(s), first is Errorcode: none
2017.01.21 15:09:07 5: Activity: not on any display, ignoring notify
2017.01.21 15:09:07 5: System.Batterie: not on any display, ignoring notify
2017.01.21 15:09:07 4: DCS930LB - --- End Function getapisites nonblocking ---
2017.01.21 15:09:07 4: DCS930LB - --- Begin Function serverlogin nonblocking ---
2017.01.21 15:09:07 4: DCS930LB - Credentials read from RAM: admin ********
2017.01.21 15:09:07 5: DCS930LB - HTTP-Call will be done with httptimeout-Value: 60 s
2017.01.21 15:09:07 4: DCS930LB - Call-Out now: http://192.168.2.175:5000/webapi/auth.cgi?api=SYNO.API.Auth&version=6&method=Login&account=admin&passwd=*****&format="sid"
2017.01.21 15:09:07 4: HttpUtils url=http://192.168.2.175:5000/webapi/auth.cgi?api=SYNO.API.Auth&version=6&method=Login&account=admin&passwd=1496Ellan&format="sid"
2017.01.21 15:09:08 4: http://192.168.2.175:5000/webapi/auth.cgi?api=SYNO.API.Auth&version=6&method=Login&account=admin&passwd=1496Ellan&format="sid": HTTP response code 200
2017.01.21 15:09:08 4: HttpUtils http://192.168.2.175:5000/webapi/auth.cgi?api=SYNO.API.Auth&version=6&method=Login&account=admin&passwd=1496Ellan&format="sid": Got data, length: 84
2017.01.21 15:09:08 4: DCS930LB - Credentials read from RAM: admin ********
2017.01.21 15:09:08 5: DCS930LB - Data returned: {"data":{"is_portal_port":false,"sid":".v3jM75qXRzyM15C0MIN678503"},"success":true}

2017.01.21 15:09:08 4: DCS930LB - JSON decoded: $VAR1 = {
          'data' => {
                      'is_portal_port' => bless( do{\(my $o = 0)}, 'JSON::PP::Boolean' ),
                      'sid' => '.v3jM75qXRzyM15C0MIN678503'
                    },
          'success' => bless( do{\(my $o = 1)}, 'JSON::PP::Boolean' )
        };

2017.01.21 15:09:08 5: Triggering DCS930LB (2 changes)
2017.01.21 15:09:08 5: Starting notify loop for DCS930LB, 2 event(s), first is Errorcode: none
2017.01.21 15:09:08 5: Activity: not on any display, ignoring notify
2017.01.21 15:09:08 5: System.Batterie: not on any display, ignoring notify
2017.01.21 15:09:08 4: DCS930LB - Login of User admin successful - SID: .v3jM75qXRzyM15C0MIN678503
2017.01.21 15:09:08 4: DCS930LB - --- End Function serverlogin nonblocking ---
2017.01.21 15:09:08 4: DCS930LB - --- Begin Function getcamid nonblocking ---
2017.01.21 15:09:08 5: DCS930LB - HTTP-Call will be done with httptimeout-Value: 60 s
2017.01.21 15:09:08 4: DCS930LB - Call-Out now: http://192.168.2.175:5000/webapi/entry.cgi?api=SYNO.SurveillanceStation.Camera&version=9&method=List&basic=true&streamInfo=true&camStm=true&_sid=".v3jM75qXRzyM15C0MIN678503"
2017.01.21 15:09:08 4: HttpUtils url=http://192.168.2.175:5000/webapi/entry.cgi?api=SYNO.SurveillanceStation.Camera&version=9&method=List&basic=true&streamInfo=true&camStm=true&_sid=".v3jM75qXRzyM15C0MIN678503"
2017.01.21 15:09:08 4: http://192.168.2.175:5000/webapi/entry.cgi?api=SYNO.SurveillanceStation.Camera&version=9&method=List&basic=true&streamInfo=true&camStm=true&_sid=".v3jM75qXRzyM15C0MIN678503": HTTP response code 200
2017.01.21 15:09:08 4: HttpUtils http://192.168.2.175:5000/webapi/entry.cgi?api=SYNO.SurveillanceStation.Camera&version=9&method=List&basic=true&streamInfo=true&camStm=true&_sid=".v3jM75qXRzyM15C0MIN678503": Got data, length: 3812
2017.01.21 15:09:08 5: DCS930LB - JSON returned: $VAR1 = {
          'data' => {
                      'cameras' => [
                                     {
                                       'uiStmNoList' => '1,1,1',
                                       'folder' => '/volume1/surveillance/Sricam',
                                       'enabled' => bless( do{\(my $o = 1)}, 'JSON::PP::Boolean' ),
                                       'recordingKeepSize' => '300',
                                       'statusFlags' => 0,
                                       'deviceType' => 1,
                                       'enableRecordingKeepDays' => $VAR1->{'data'}{'cameras'}[0]{'enabled'},
                                       'channel' => '1',
                                       'extDIPorts' => 0,
                                       'videoCodec' => 3,
                                       'recVolume' => '/volume1',
                                       'dsId' => 0,
                                       'vendor' => 'User',
                                       'postRecordTime' => 60,
                                       'audioOut' => bless( do{\(my $o = 0)}, 'JSON::PP::Boolean' ),
                                       'firmware' => '',
                                       'DONum' => 0,
                                       'model' => 'Define',
                                       'port' => 554,
                                       'recShare' => 'surveillance',
                                       'mountType' => 0,
                                       'mobileLiveViewSource' => 0,
                                       'stream1' => {
                                                      'bitrateCtrl' => 0,
                                                      'constantBitrate' => '0',
                                                      'quality' => '',
                                                      'fps' => 0,
                                                      'resolution' => '1280x720'
                                                    },
                                       'blReceivePocZero' => $VAR1->{'data'}{'cameras'}[0]{'audioOut'},
                                       'extDIDev' => 0,
                                       'ip' => '192.168.2.164',
                                       'presetNum' => 0,
                                       'deleted' => $VAR1->{'data'}{'cameras'}[0]{'audioOut'},
                                       'id' => 2,
                                       'enableLowProfile' => $VAR1->{'data'}{'cameras'}[0]{'audioOut'},
                                       'volumeSpace' => '48.932',
                                       'mediumProfileStreamNo' => 1,
                                       'analyticsType' => 0,
                                       'audioCodec' => 0,
                                       'recStatus' => 0,
                                       'highProfileStreamNo' => 1,
                                       'hasCamParam' => $VAR1->{'data'}{'cameras'}[0]{'audioOut'},
                                       'blPtzShowIcon' => $VAR1->{'data'}{'cameras'}[0]{'audioOut'},
                                       'newName' => 'Sricam',
                                       'updateTime' => 112740,
                                       'isEnableExtDI' => $VAR1->{'data'}{'cameras'}[0]{'audioOut'},
                                       'status' => 1,
                                       'ledCap' => $VAR1->{'data'}{'cameras'}[0]{'audioOut'},
                                       'tvStandard' => 0,
                                       'fov' => '',
                                       'recStorageStatus' => 0,
                                       'wiperCap' => $VAR1->{'data'}{'cameras'}[0]{'audioOut'},
                                       'idOnRecServer' => 0,
                                       'recSharePath' => '/volume1/surveillance',
                                       'preRecordTime' => 30,
                                       'isAudioDisableRec' => $VAR1->{'data'}{'cameras'}[0]{'audioOut'},
                                       'recordTime' => 30,
                                       'enableRecordingKeepSize' => $VAR1->{'data'}{'cameras'}[0]{'enabled'},
                                       'recordingKeepDays' => 365,
                                       'ptzCap' => 0,
                                       'recShareMountType' => 0,
                                       'isUnrecognized' => $VAR1->{'data'}{'cameras'}[0]{'audioOut'},
                                       'isDisableRec' => $VAR1->{'data'}{'cameras'}[0]{'audioOut'},
                                       'liveViewSource' => 0,
                                       'stmFisheyeType' => 0,
                                       'DINum' => 0,
                                       'rotateOption' => 0
                                     },
                                     {
                                       'mountType' => 0,
                                       'port' => 80,
                                       'recShare' => 'surveillance',
                                       'model' => 'DCS-930L',
                                       'DONum' => 0,
                                       'volumeSpace' => '10.070',
                                       'mediumProfileStreamNo' => 1,
                                       'analyticsType' => 0,
                                       'enableLowProfile' => $VAR1->{'data'}{'cameras'}[0]{'audioOut'},
                                       'blReceivePocZero' => $VAR1->{'data'}{'cameras'}[0]{'audioOut'},
                                       'extDIDev' => 0,
                                       'ip' => '192.168.2.166',
                                       'deleted' => $VAR1->{'data'}{'cameras'}[0]{'audioOut'},
                                       'presetNum' => 0,
                                       'id' => 6,
                                       'stream1' => {
                                                      'fps' => 20,
                                                      'resolution' => '640x480',
                                                      'quality' => '5',
                                                      'constantBitrate' => '0',
                                                      'bitrateCtrl' => 1
                                                    },
                                       'mobileLiveViewSource' => 0,
                                       'enableRecordingKeepDays' => $VAR1->{'data'}{'cameras'}[0]{'enabled'},
                                       'deviceType' => 1,
                                       'channel' => '1',
                                       'recordingKeepSize' => '100',
                                       'statusFlags' => 0,
                                       'folder' => '/volume1/surveillance/DCS930LB',
                                       'enabled' => $VAR1->{'data'}{'cameras'}[0]{'enabled'},
                                       'uiStmNoList' => '1,1,1',
                                       'firmware' => '',
                                       'postRecordTime' => 60,
                                       'audioOut' => $VAR1->{'data'}{'cameras'}[0]{'audioOut'},
                                       'videoCodec' => 1,
                                       'recVolume' => '/volume1',
                                       'vendor' => 'D-Link',
                                       'dsId' => 0,
                                       'extDIPorts' => 0,
                                       'liveViewSource' => 0,
                                       'stmFisheyeType' => 0,
                                       'recShareMountType' => 0,
                                       'isUnrecognized' => $VAR1->{'data'}{'cameras'}[0]{'audioOut'},
                                       'ptzCap' => 0,
                                       'isDisableRec' => $VAR1->{'data'}{'cameras'}[0]{'audioOut'},
                                       'recordingKeepDays' => 365,
                                       'DINum' => 0,
                                       'rotateOption' => 0,
                                       'updateTime' => 112740,
                                       'isEnableExtDI' => $VAR1->{'data'}{'cameras'}[0]{'audioOut'},
                                       'newName' => 'DCS930LB',
                                       'hasCamParam' => $VAR1->{'data'}{'cameras'}[0]{'enabled'},
                                       'blPtzShowIcon' => $VAR1->{'data'}{'cameras'}[0]{'audioOut'},
                                       'highProfileStreamNo' => 1,
                                       'recStatus' => 0,
                                       'audioCodec' => 0,
                                       'enableRecordingKeepSize' => $VAR1->{'data'}{'cameras'}[0]{'enabled'},
                                       'recSharePath' => '/volume1/surveillance',
                                       'wiperCap' => $VAR1->{'data'}{'cameras'}[0]{'audioOut'},
                                       'preRecordTime' => 30,
                                       'isAudioDisableRec' => $VAR1->{'data'}{'cameras'}[0]{'audioOut'},
                                       'idOnRecServer' => 0,
                                       'recordTime' => 30,
                                       'recStorageStatus' => 0,
                                       'fov' => '',
                                       'ledCap' => $VAR1->{'data'}{'cameras'}[0]{'audioOut'},
                                       'status' => 1,
                                       'tvStandard' => 0
                                     },
                                     {
                                       'tvStandard' => 0,
                                       'status' => 2,
                                       'ledCap' => $VAR1->{'data'}{'cameras'}[0]{'audioOut'},
                                       'fov' => '',
                                       'recStorageStatus' => 0,
                                       'recordTime' => 30,
                                       'idOnRecServer' => 0,
                                       'wiperCap' => $VAR1->{'data'}{'cameras'}[0]{'audioOut'},
                                       'recSharePath' => '/volume1/surveillance',
                                       'preRecordTime' => 5,
                                       'isAudioDisableRec' => $VAR1->{'data'}{'cameras'}[0]{'audioOut'},
                                       'enableRecordingKeepSize' => $VAR1->{'data'}{'cameras'}[0]{'enabled'},
                                       'highProfileStreamNo' => 1,
                                       'recStatus' => 0,
                                       'audioCodec' => 0,
                                       'blPtzShowIcon' => $VAR1->{'data'}{'cameras'}[0]{'audioOut'},
                                       'hasCamParam' => $VAR1->{'data'}{'cameras'}[0]{'enabled'},
                                       'newName' => 'DCS930L',
                                       'isEnableExtDI' => $VAR1->{'data'}{'cameras'}[0]{'audioOut'},
                                       'updateTime' => 112740,
                                       'rotateOption' => 0,
                                       'DINum' => 0,
                                       'recordingKeepDays' => 365,
                                       'recShareMountType' => 0,
                                       'isUnrecognized' => $VAR1->{'data'}{'cameras'}[0]{'audioOut'},
                                       'ptzCap' => 0,
                                       'isDisableRec' => $VAR1->{'data'}{'cameras'}[0]{'audioOut'},
                                       'stmFisheyeType' => 0,
                                       'liveViewSource' => 0,
                                       'extDIPorts' => 0,
                                       'dsId' => 0,
                                       'vendor' => 'D-Link',
                                       'videoCodec' => 1,
                                       'recVolume' => '/volume1',
                                       'audioOut' => $VAR1->{'data'}{'cameras'}[0]{'audioOut'},
                                       'postRecordTime' => 5,
                                       'firmware' => '',
                                       'uiStmNoList' => '1,1,1',
                                       'enabled' => $VAR1->{'data'}{'cameras'}[0]{'audioOut'},
                                       'folder' => '/volume1/surveillance/DCS930L',
                                       'recordingKeepSize' => '100',
                                       'statusFlags' => 0,
                                       'enableRecordingKeepDays' => $VAR1->{'data'}{'cameras'}[0]{'enabled'},
                                       'channel' => '1',
                                       'deviceType' => 1,
                                       'mobileLiveViewSource' => 0,
                                       'stream1' => {
                                                      'bitrateCtrl' => 1,
                                                      'constantBitrate' => '0',
                                                      'quality' => '5',
                                                      'resolution' => '640x480',
                                                      'fps' => 20
                                                    },
                                       'deleted' => $VAR1->{'data'}{'cameras'}[0]{'enabled'},
                                       'presetNum' => 0,
                                       'id' => 3,
                                       'ip' => '192.168.2.166',
                                       'blReceivePocZero' => $VAR1->{'data'}{'cameras'}[0]{'audioOut'},
                                       'extDIDev' => 0,
                                       'enableLowProfile' => $VAR1->{'data'}{'cameras'}[0]{'audioOut'},
                                       'analyticsType' => 0,
                                       'mediumProfileStreamNo' => 1,
                                       'volumeSpace' => '26.488',
                                       'model' => 'DCS-930L',
                                       'DONum' => 0,
                                       'recShare' => 'surveillance',
                                       'port' => 80,
                                       'mountType' => 0
                                     }
                                   ]
                    },
          'success' => $VAR1->{'data'}{'cameras'}[0]{'enabled'}
        };

2017.01.21 15:09:08 1: PERL WARNING: Use of uninitialized value $camcount in numeric lt (<) at ./FHEM/49_SSCam.pm line 2575.
2017.01.21 15:09:08 5: Triggering DCS930LB (2 changes)
2017.01.21 15:09:08 5: Starting notify loop for DCS930LB, 2 event(s), first is Errorcode: none
2017.01.21 15:09:08 5: Activity: not on any display, ignoring notify
2017.01.21 15:09:08 5: System.Batterie: not on any display, ignoring notify
2017.01.21 15:09:08 1: DCS930LB - ERROR - Cameraname DCS930LB wasn't found in Surveillance Station. Check Userrights, Cameraname and Spelling
2017.01.21 15:09:08 4: DCS930LB - --- End Function getcamid nonblocking with error ---



Gruß
Karl