Neues Modul: 70_ZoneMinder, 71_ZM_Monitor

Begonnen von delMar, 07 Oktober 2018, 18:45:04

Vorheriges Thema - Nächstes Thema

MadMax-FHEM

Hallo Martin,

hat immer noch keine (hohe) Prio...

Hab nur mal mittels update check geschaut, ob es schon ein Update gibt: konnte nix finden...

Wie "gesagt" wollte nur noch mal wieder dran erinnern... ;)

Wenn ich was tun kann: einfach Bescheid geben!

Danke, Joachim
FHEM PI3B+ Bullseye: HM-CFG-USB, 40x HM, ZWave-USB, 13x ZWave, EnOcean-PI, 15x EnOcean, HUE/deCONZ, CO2, ESP-Multisensor, Shelly, alexa-fhem, ...
FHEM PI2 Buster: HM-CFG-USB, 25x HM, ZWave-USB, 4x ZWave, EnOcean-PI, 3x EnOcean, Shelly, ha-bridge, ...
FHEM PI3 Buster (Test)

delMar

Danke für den Ping, das trägt zur Bewusstseinsbildung bei - und das ist durchaus wichtig :-)

Vielleicht schaff ich's übers Wochenende

Danke
schöne Grüße
Martin
Maintainer von: ZoneMinder, TA_CMI_JSON, ONKYO_AVR, DENON_AVR, CanOverEthernet, IPCAM.

Vielgenutzte Module sind die größte Motivation für Entwickler.
Bitte zumindest 'attr global sendStatistics onUpdate' setzen.
Denn: ohne 'sendStatistics' keine Zahlen.

MadMax-FHEM

Zitat von: delmar am 31 Juli 2019, 13:20:45
Danke für den Ping, das trägt zur Bewusstseinsbildung bei - und das ist durchaus wichtig :-)

Vielleicht schaff ich's übers Wochenende

Danke
schöne Grüße
Martin

;)

Das wäre prima!
Wie geschrieben keine (hohe) Prio...
...aber Mo/Di hätte ich (evtl.) wieder Zeit zu testen :)

DANKE, Joachim
FHEM PI3B+ Bullseye: HM-CFG-USB, 40x HM, ZWave-USB, 13x ZWave, EnOcean-PI, 15x EnOcean, HUE/deCONZ, CO2, ESP-Multisensor, Shelly, alexa-fhem, ...
FHEM PI2 Buster: HM-CFG-USB, 25x HM, ZWave-USB, 4x ZWave, EnOcean-PI, 3x EnOcean, Shelly, ha-bridge, ...
FHEM PI3 Buster (Test)

delMar

Hallo,

ich habe soeben den potentiellen Fix eingecheckt, ich denke er wird ab morgen im Update verfügbar sein.
Bitte um Rückmeldung

Danke!
schöne Grüße
Martin
Maintainer von: ZoneMinder, TA_CMI_JSON, ONKYO_AVR, DENON_AVR, CanOverEthernet, IPCAM.

Vielgenutzte Module sind die größte Motivation für Entwickler.
Bitte zumindest 'attr global sendStatistics onUpdate' setzen.
Denn: ohne 'sendStatistics' keine Zahlen.

MadMax-FHEM

Hallo Martin,

vielen Dank!
Passt, werde ich dann morgen Abend mal testen...
...und berichten...

Gruß, Joachim
FHEM PI3B+ Bullseye: HM-CFG-USB, 40x HM, ZWave-USB, 13x ZWave, EnOcean-PI, 15x EnOcean, HUE/deCONZ, CO2, ESP-Multisensor, Shelly, alexa-fhem, ...
FHEM PI2 Buster: HM-CFG-USB, 25x HM, ZWave-USB, 4x ZWave, EnOcean-PI, 3x EnOcean, Shelly, ha-bridge, ...
FHEM PI3 Buster (Test)

MadMax-FHEM

#80
Hallo Martin,

ich schreib's ungern:

sieht irgendwie unverändert "schlecht" aus  :-\

Hier ein Log mit verbose 5 (beim Zoneminder Device):


2019.08.04 16:18:00 3: Opening Zoneminder device 192.168.1.130:6802
2019.08.04 16:18:00 3: Zoneminder device opened
2019.08.04 16:18:02 3: ZoneMinder (Zoneminder) - login status: 200
2019.08.04 16:19:10 1: ZoneMinder (Zoneminder) - Manually triggered Login
2019.08.04 16:19:12 3: ZoneMinder (Zoneminder) - login status: 200
2019.08.04 16:19:29 1: ZoneMinder (Zoneminder) - Manually triggered Login
2019.08.04 16:19:29 4: ZoneMinder (Zoneminder) - loginUrl: http://192.168.1.130/zm/index.php?username=zm%5ffhem&password=fhem&action=login&view=console
2019.08.04 16:19:31 3: ZoneMinder (Zoneminder) - login status: 200
2019.08.04 16:19:41 1: ZoneMinder (Zoneminder) - Manually triggered Login
2019.08.04 16:19:41 4: ZoneMinder (Zoneminder) - loginUrl: http://192.168.1.130/zm/index.php?username=zm%5ffhem&password=fhem&action=login&view=console
2019.08.04 16:19:42 3: ZoneMinder (Zoneminder) - login status: 200
2019.08.04 16:19:56 4: ZoneMinder (Zoneminder) SimpleGet calling http://192.168.1.130/zm/api/monitors.json with callback CODE(0x326b810)
2019.08.04 16:19:56 5: ZoneMinder (Zoneminder) - "Id":" found at -1
2019.08.04 16:19:56 5: ZoneMinder (Zoneminder) - looking for "Id":" - length: 6. start: 5. end: 5. result:
2019.08.04 16:19:56 4: ZoneMinder (Zoneminder) SimpleGet calling http://192.168.1.130/zm/api/monitors.json with callback CODE(0x326b108)
2019.08.04 16:19:56 5: ZoneMinder (Zoneminder) - "Id":" found at -1
2019.08.04 16:19:56 5: ZoneMinder (Zoneminder) - looking for "Id":" - length: 6. start: 5. end: 5. result:
2019.08.04 16:19:56 0: ZoneMinder (Zoneminder) - Invalid monitorId:
2019.08.04 16:20:02 4: ZoneMinder (Zoneminder) SimpleGet calling http://192.168.1.130/zm/api/host/getLoad.json with callback CODE(0x168e680)
2019.08.04 16:20:02 5: ZoneMinder (Zoneminder) - "load":[ found at -1
2019.08.04 16:20:02 5: ZoneMinder (Zoneminder) - looking for "load":[ - length: 8. start: 7. end: 55. result: oad": [        0.55,        0.61,        0.4   
2019.08.04 16:20:03 4: ZoneMinder (Zoneminder) SimpleGet calling http://192.168.1.130/zm/api/monitors.json with callback CODE(0x326b108)
2019.08.04 16:20:03 5: ZoneMinder (Zoneminder) - "Id":" found at -1
2019.08.04 16:20:03 5: ZoneMinder (Zoneminder) - looking for "Id":" - length: 6. start: 5. end: 5. result:
2019.08.04 16:20:03 0: ZoneMinder (Zoneminder) - Invalid monitorId:


Modul-Version

70_ZoneMinder.pm    19941 2019-08-03 09:12:45Z delmar


Und ein list (sogar altes Device gelöscht und neu angelegt):

Internals:
   APILoginStatus 200
   CFGFN     
   DEF        192.168.1.130 zm_fhem fhem
   DeviceName 192.168.1.130:6802
   FD         14
   FUUID      5d46e918-f33f-ff8d-d1d4-c81c3c3c09f5d62a
   HTTPCookies ZMSESSID=2ieupk4ohoc9g5bg1vf7p1o7d2; zmCSS=flat; zmSkin=classic
   NAME       Zoneminder
   NOTIFYDEV  global
   NR         79
   PARTIAL   
   STATE      opened
   TYPE       ZoneMinder
   ZM_API_VERSION unknown
   ZM_VERSION ion
   HTTPCookieHash:
     ZMSESSID:
       Options    path=/
       Value      2ieupk4ohoc9g5bg1vf7p1o7d2
     zmCSS:
       Options    expires=Tue, 12-Jun-2029 14:19:41 GMT; Max-Age=311040000
       Value      flat
     zmSkin:
       Options    expires=Tue, 12-Jun-2029 14:19:41 GMT; Max-Age=311040000
       Value      classic
   READINGS:
     2019-08-04 16:23:03   CPU_Load        oad": [        0.89,        0.71,        0.48   
     2019-08-04 16:18:02   authHash        83a9b1c06d898f708b87229948d75f22
     2019-08-04 16:18:00   state           opened
   helper:
     ZM_AUTH_HASH_SECRET 
     ZM_HOST    192.168.1.130
     ZM_PASSWORD fhem
     ZM_PATH_ZMS         
     ZM_USERNAME zm_fhem
     apiInitialized 1
Attributes:
   room       Zoneminder
   verbose    5


Kann ich noch was liefern!?

EDIT: hier noch ein Log nach reboot

2019.08.04 16:25:05 0: Server started with 62 defined entities (fhem.pl:19943/2019-08-03 perl:5.024001 os:linux user:fhem pid:536)
2019.08.04 16:25:10 3: ZoneMinder (Zoneminder) - login status: 200
2019.08.04 16:25:10 4: ZoneMinder (Zoneminder) SimpleGet calling http://192.168.1.130/zm/api/host/getVersion.json with callback CODE(0x190fdd8)
2019.08.04 16:25:10 4: ZoneMinder (Zoneminder) SimpleGet calling http://192.168.1.130/zm/api/configs.json with callback CODE(0x191cbf8)
2019.08.04 16:25:10 4: ZoneMinder (Zoneminder) SimpleGet calling http://192.168.1.130/zm/api/host/getLoad.json with callback CODE(0x1929330)
2019.08.04 16:25:10 5: ZoneMinder (Zoneminder) - "load":[ found at -1
2019.08.04 16:25:10 5: ZoneMinder (Zoneminder) - looking for "load":[ - length: 8. start: 7. end: 56. result: oad": [        0.81,        0.73,        0.51   
2019.08.04 16:25:10 5: ZoneMinder (Zoneminder) - "version":" found at -1
2019.08.04 16:25:10 5: ZoneMinder (Zoneminder) - looking for "version":" - length: 11. start: 10. end: 13. result: ion
2019.08.04 16:25:10 5: ZoneMinder (Zoneminder) - "apiversion":" found at -1
2019.08.04 16:25:10 5: ZoneMinder (Zoneminder) - looking for "apiversion":" - length: 14. start: 13. end: 13. result:
2019.08.04 16:25:10 5: ZoneMinder (Zoneminder) - "Name":"ZM_PATH_ZMS","Value":" found at -1
2019.08.04 16:25:10 5: ZoneMinder (Zoneminder) - looking for "Name":"ZM_PATH_ZMS","Value":" - length: 30. start: 29. end: 38. result:         
2019.08.04 16:25:10 5: ZoneMinder (Zoneminder) - "Name":"ZM_AUTH_HASH_SECRET","Value":" found at -1
2019.08.04 16:25:10 5: ZoneMinder (Zoneminder) - looking for "Name":"ZM_AUTH_HASH_SECRET","Value":" - length: 38. start: 37. end: 38. result: 
2019.08.04 16:25:10 4: ZoneMinder (Zoneminder) - calling calcAuthHash
2019.08.04 16:25:46 5: ZoneMinder (Zoneminder) incoming message event:1|on|1564928738|14.
2019.08.04 16:25:46 5: Zoneminder: dispatch event:1|on|1564928738|14
2019.08.04 16:25:46 5: ZM_Monitor Handling event for logical device Zoneminder_1
2019.08.04 16:25:46 5: ZM_Monitor logical device with address Zoneminder_1 not found. returning autocreate: UNDEFINED ZM_Monitor_Zoneminder_1 ZM_Monitor 1
2019.08.04 16:25:46 5: ZoneMinder (Zoneminder) incoming message event:1|off|1564928740|14.
2019.08.04 16:25:46 5: Zoneminder: dispatch event:1|off|1564928740|14
2019.08.04 16:25:46 5: ZM_Monitor Handling event for logical device Zoneminder_1
2019.08.04 16:25:46 5: ZM_Monitor logical device with address Zoneminder_1 not found. returning autocreate: UNDEFINED ZM_Monitor_Zoneminder_1 ZM_Monitor 1


Sorry und danke, Joachim
FHEM PI3B+ Bullseye: HM-CFG-USB, 40x HM, ZWave-USB, 13x ZWave, EnOcean-PI, 15x EnOcean, HUE/deCONZ, CO2, ESP-Multisensor, Shelly, alexa-fhem, ...
FHEM PI2 Buster: HM-CFG-USB, 25x HM, ZWave-USB, 4x ZWave, EnOcean-PI, 3x EnOcean, Shelly, ha-bridge, ...
FHEM PI3 Buster (Test)

delMar

Danke für das Feedback.
Es gibt keinen Grund für Entschuldigungen.

Kannst du bitte in 70_ZoneMinder.pm in Zeile 345 die Log-Line aktivieren?
Dann natürlich neustarten.
Damit sollte ich feststellen können, warum deine JSONs anders sind, als meine...
Nicht wundern; das Log wird ziemlich voll werden damit.

Danke!
schöne Grüße
Martin
Maintainer von: ZoneMinder, TA_CMI_JSON, ONKYO_AVR, DENON_AVR, CanOverEthernet, IPCAM.

Vielgenutzte Module sind die größte Motivation für Entwickler.
Bitte zumindest 'attr global sendStatistics onUpdate' setzen.
Denn: ohne 'sendStatistics' keine Zahlen.

MadMax-FHEM

Hallo Martin,

dann mal los...

Ich hab noch etwas Log vor dem Umstellen...
...und "irgendwie" habe ich "plötzlich" ein "Monitor-Device"...

EDIT: und da dann auch die "Motion-Events" :)

Ich habe die Zeile geändert (also Log einkommentiert) und dann reload 70_ZoneMinder.pm...
...reicht das (oder shutdown restart!?).

Hier das Log:


2019.08.04 16:33:11 4: ZoneMinder (Zoneminder) SimpleGet calling http://192.168.1.130/zm/api/host/getLoad.json with callback CODE(0x1929330)
2019.08.04 16:33:11 5: ZoneMinder (Zoneminder) - "load":[ found at -1
2019.08.04 16:33:11 5: ZoneMinder (Zoneminder) - looking for "load":[ - length: 8. start: 7. end: 56. result: oad": [        0.84,        0.73,        0.59   
2019.08.04 16:33:11 4: ZoneMinder (Zoneminder) SimpleGet calling http://192.168.1.130/zm/api/monitors.json with callback CODE(0x34e6ed0)
2019.08.04 16:33:12 5: ZoneMinder (Zoneminder) - "Id":" found at -1
2019.08.04 16:33:12 5: ZoneMinder (Zoneminder) - looking for "Id":" - length: 6. start: 5. end: 5. result:
2019.08.04 16:33:12 4: ZoneMinder (Zoneminder) SimpleGet calling http://192.168.1.130/zm/api/monitors.json with callback CODE(0x34e67c8)
2019.08.04 16:33:12 5: ZoneMinder (Zoneminder) - "Id":" found at -1
2019.08.04 16:33:12 5: ZoneMinder (Zoneminder) - looking for "Id":" - length: 6. start: 5. end: 5. result:
2019.08.04 16:33:12 0: ZoneMinder (Zoneminder) - Invalid monitorId:
2019.08.04 16:34:11 4: ZoneMinder (Zoneminder) SimpleGet calling http://192.168.1.130/zm/api/host/getLoad.json with callback CODE(0x1929330)
2019.08.04 16:34:11 5: ZoneMinder (Zoneminder) - "load":[ found at -1
2019.08.04 16:34:11 5: ZoneMinder (Zoneminder) - looking for "load":[ - length: 8. start: 7. end: 56. result: oad": [        0.36,        0.61,        0.55   
2019.08.04 16:35:11 4: ZoneMinder (Zoneminder) SimpleGet calling http://192.168.1.130/zm/api/host/getLoad.json with callback CODE(0x1929330)
2019.08.04 16:35:12 5: ZoneMinder (Zoneminder) - "load":[ found at -1
2019.08.04 16:35:12 5: ZoneMinder (Zoneminder) - looking for "load":[ - length: 8. start: 7. end: 56. result: oad": [        0.58,        0.62,        0.56   
2019.08.04 16:36:12 4: ZoneMinder (Zoneminder) SimpleGet calling http://192.168.1.130/zm/api/host/getLoad.json with callback CODE(0x1929330)
2019.08.04 16:36:12 5: ZoneMinder (Zoneminder) - "load":[ found at -1
2019.08.04 16:36:12 5: ZoneMinder (Zoneminder) - looking for "load":[ - length: 8. start: 7. end: 56. result: oad": [        0.61,        0.63,        0.56   
2019.08.04 16:37:12 4: ZoneMinder (Zoneminder) SimpleGet calling http://192.168.1.130/zm/api/host/getLoad.json with callback CODE(0x1929330)
2019.08.04 16:37:12 5: ZoneMinder (Zoneminder) - "load":[ found at -1
2019.08.04 16:37:12 5: ZoneMinder (Zoneminder) - looking for "load":[ - length: 8. start: 7. end: 56. result: oad": [        0.61,        0.63,        0.57   
2019.08.04 16:38:12 4: ZoneMinder (Zoneminder) SimpleGet calling http://192.168.1.130/zm/api/host/getLoad.json with callback CODE(0x1929330)
2019.08.04 16:38:12 5: ZoneMinder (Zoneminder) - "load":[ found at -1
2019.08.04 16:38:12 5: ZoneMinder (Zoneminder) - looking for "load":[ - length: 8. start: 7. end: 56. result: oad": [        0.62,        0.62,        0.57   
2019.08.04 16:39:12 4: ZoneMinder (Zoneminder) SimpleGet calling http://192.168.1.130/zm/api/host/getLoad.json with callback CODE(0x1929330)
2019.08.04 16:39:12 5: ZoneMinder (Zoneminder) - "load":[ found at -1
2019.08.04 16:39:12 5: ZoneMinder (Zoneminder) - looking for "load":[ - length: 8. start: 7. end: 56. result: oad": [        0.71,        0.65,        0.58   
2019.08.04 16:40:03 5: ZoneMinder (Zoneminder) incoming message event:1|on|1564929603|17.
2019.08.04 16:40:03 5: Zoneminder: dispatch event:1|on|1564929603|17
2019.08.04 16:40:03 5: ZM_Monitor Handling event for logical device Zoneminder_1
2019.08.04 16:40:03 5: ZM_Monitor logical device with address Zoneminder_1 not found. returning autocreate: UNDEFINED ZM_Monitor_Zoneminder_1 ZM_Monitor 1
2019.08.04 16:40:03 2: autocreate: define ZM_Monitor_Zoneminder_1 ZM_Monitor 1
2019.08.04 16:40:03 2: autocreate: define FileLog_ZM_Monitor_Zoneminder_1 FileLog ./log/ZM_Monitor_Zoneminder_1-%Y.log ZM_Monitor_Zoneminder_1
2019.08.04 16:40:05 5: ZoneMinder (Zoneminder) incoming message event:1|off|1564929605|17.
2019.08.04 16:40:05 5: Zoneminder: dispatch event:1|off|1564929605|17
2019.08.04 16:40:05 5: ZM_Monitor Handling event for logical device Zoneminder_1
2019.08.04 16:40:05 4: ZoneMinder (Zoneminder) method: queryEventDetails, monitorId:1, EventId:17
2019.08.04 16:40:05 4: ZoneMinder (Zoneminder) SimpleGet calling http://192.168.1.130/zm/api/events/17.json with callback CODE(0x34a5708)
2019.08.04 16:40:05 5: ZoneMinder (Zoneminder) - "MonitorId":" found at -1
2019.08.04 16:40:05 5: ZoneMinder (Zoneminder) - looking for "MonitorId":" - length: 13. start: 12. end: 23. result: : {       
2019.08.04 16:40:05 5: ZoneMinder (Zoneminder) - "Id":" found at -1
2019.08.04 16:40:05 5: ZoneMinder (Zoneminder) - looking for "Id":" - length: 6. start: 5. end: 5. result:
2019.08.04 16:40:05 5: ZoneMinder (Zoneminder) - "Notes":" found at -1
2019.08.04 16:40:05 5: ZoneMinder (Zoneminder) - looking for "Notes":" - length: 9. start: 8. end: 11. result: ent
2019.08.04 16:40:05 4: ZoneMinder (Zoneminder) - QueryEventDetails_Callback zmMonitorId: : {        , zmEventId: , zmNotes: ent
2019.08.04 16:40:05 5: Zoneminder: dispatch eventDetails:: {        ||ent
2019.08.04 16:40:05 5: ZM_Monitor logical device with address Zoneminder_: {         not found. returning autocreate: UNDEFINED ZM_Monitor_Zoneminder_: {         ZM_Monitor : {       
2019.08.04 16:40:05 2: autocreate: define ZM_Monitor_Zoneminder_: {         ZM_Monitor : {       
2019.08.04 16:40:05 1: ERROR: Invalid characters in name (not A-Za-z0-9._): ZM_Monitor_Zoneminder_:
2019.08.04 16:40:12 4: ZoneMinder (Zoneminder) SimpleGet calling http://192.168.1.130/zm/api/host/getLoad.json with callback CODE(0x1929330)
2019.08.04 16:40:12 5: ZoneMinder (Zoneminder) - "load":[ found at -1
2019.08.04 16:40:12 5: ZoneMinder (Zoneminder) - looking for "load":[ - length: 8. start: 7. end: 56. result: oad": [        0.83,        0.67,        0.59   
2019.08.04 16:41:12 4: ZoneMinder (Zoneminder) SimpleGet calling http://192.168.1.130/zm/api/host/getLoad.json with callback CODE(0x1929330)
2019.08.04 16:41:13 5: ZoneMinder (Zoneminder) - "load":[ found at -1
2019.08.04 16:41:13 5: ZoneMinder (Zoneminder) - looking for "load":[ - length: 8. start: 7. end: 56. result: oad": [        0.89,        0.72,        0.61   
2019.08.04 16:42:13 4: ZoneMinder (Zoneminder) SimpleGet calling http://192.168.1.130/zm/api/host/getLoad.json with callback CODE(0x1929330)
2019.08.04 16:42:13 5: ZoneMinder (Zoneminder) - "load":[ found at -1
2019.08.04 16:42:13 5: ZoneMinder (Zoneminder) - looking for "load":[ - length: 8. start: 7. end: 56. result: oad": [        0.84,        0.74,        0.63   
2019.08.04 16:43:13 4: ZoneMinder (Zoneminder) SimpleGet calling http://192.168.1.130/zm/api/host/getLoad.json with callback CODE(0x1929330)
2019.08.04 16:43:13 5: ZoneMinder (Zoneminder) - "load":[ found at -1
2019.08.04 16:43:13 5: ZoneMinder (Zoneminder) - looking for "load":[ - length: 8. start: 7. end: 56. result: oad": [        0.88,        0.77,        0.65   
2019.08.04 16:43:30 5: ZoneMinder (Zoneminder) incoming message event:1|on|1564929810|18.
2019.08.04 16:43:30 5: Zoneminder: dispatch event:1|on|1564929810|18
2019.08.04 16:43:30 5: ZM_Monitor Handling event for logical device Zoneminder_1
2019.08.04 16:43:30 4: ZoneMinder (Zoneminder) method: queryEventDetails, monitorId:1, EventId:18
2019.08.04 16:43:30 4: ZoneMinder (Zoneminder) SimpleGet calling http://192.168.1.130/zm/api/events/18.json with callback CODE(0x34a5708)
2019.08.04 16:43:30 5: ZoneMinder (Zoneminder) - "MonitorId":" found at -1
2019.08.04 16:43:30 5: ZoneMinder (Zoneminder) - looking for "MonitorId":" - length: 13. start: 12. end: 23. result: : {       
2019.08.04 16:43:30 5: ZoneMinder (Zoneminder) - "Id":" found at -1
2019.08.04 16:43:30 5: ZoneMinder (Zoneminder) - looking for "Id":" - length: 6. start: 5. end: 5. result:
2019.08.04 16:43:30 5: ZoneMinder (Zoneminder) - "Notes":" found at -1
2019.08.04 16:43:30 5: ZoneMinder (Zoneminder) - looking for "Notes":" - length: 9. start: 8. end: 11. result: ent
2019.08.04 16:43:30 4: ZoneMinder (Zoneminder) - QueryEventDetails_Callback zmMonitorId: : {        , zmEventId: , zmNotes: ent
2019.08.04 16:43:30 5: Zoneminder: dispatch eventDetails:: {        ||ent
2019.08.04 16:43:30 5: ZM_Monitor logical device with address Zoneminder_: {         not found. returning autocreate: UNDEFINED ZM_Monitor_Zoneminder_: {         ZM_Monitor : {       
2019.08.04 16:43:30 1: PERL WARNING: Use of uninitialized value $o in concatenation (.) or string at fhem.pl line 1992.
2019.08.04 16:43:30 0: Can't read ./FHEM/_{.pm: No such file or directory
2019.08.04 16:43:30 2: autocreate: define ZM_Monitor_Zoneminder_: {         ZM_Monitor : {       
2019.08.04 16:43:30 1: ERROR: Invalid characters in name (not A-Za-z0-9._): ZM_Monitor_Zoneminder_:
2019.08.04 16:43:38 5: ZoneMinder (Zoneminder) incoming message event:1|off|1564929818|18.
2019.08.04 16:43:38 5: Zoneminder: dispatch event:1|off|1564929818|18
2019.08.04 16:43:38 5: ZM_Monitor Handling event for logical device Zoneminder_1
2019.08.04 16:43:38 4: ZoneMinder (Zoneminder) method: queryEventDetails, monitorId:1, EventId:18
2019.08.04 16:43:38 4: ZoneMinder (Zoneminder) SimpleGet calling http://192.168.1.130/zm/api/events/18.json with callback CODE(0x34a5708)
2019.08.04 16:43:38 5: ZoneMinder (Zoneminder) - "MonitorId":" found at -1
2019.08.04 16:43:38 5: ZoneMinder (Zoneminder) - looking for "MonitorId":" - length: 13. start: 12. end: 23. result: : {       
2019.08.04 16:43:38 5: ZoneMinder (Zoneminder) - "Id":" found at -1
2019.08.04 16:43:38 5: ZoneMinder (Zoneminder) - looking for "Id":" - length: 6. start: 5. end: 5. result:
2019.08.04 16:43:38 5: ZoneMinder (Zoneminder) - "Notes":" found at -1
2019.08.04 16:43:38 5: ZoneMinder (Zoneminder) - looking for "Notes":" - length: 9. start: 8. end: 11. result: ent
2019.08.04 16:43:38 4: ZoneMinder (Zoneminder) - QueryEventDetails_Callback zmMonitorId: : {        , zmEventId: , zmNotes: ent
2019.08.04 16:43:38 5: Zoneminder: dispatch eventDetails:: {        ||ent
2019.08.04 16:43:38 5: ZM_Monitor logical device with address Zoneminder_: {         not found. returning autocreate: UNDEFINED ZM_Monitor_Zoneminder_: {         ZM_Monitor : {       
2019.08.04 16:43:38 0: Can't read ./FHEM/_{.pm: No such file or directory
2019.08.04 16:43:38 2: autocreate: define ZM_Monitor_Zoneminder_: {         ZM_Monitor : {       
2019.08.04 16:43:38 1: ERROR: Invalid characters in name (not A-Za-z0-9._): ZM_Monitor_Zoneminder_:
2019.08.04 16:44:13 4: ZoneMinder (Zoneminder) SimpleGet calling http://192.168.1.130/zm/api/host/getLoad.json with callback CODE(0x1929330)
2019.08.04 16:44:13 5: ZoneMinder (Zoneminder) - "load":[ found at -1
2019.08.04 16:44:13 5: ZoneMinder (Zoneminder) - looking for "load":[ - length: 8. start: 7. end: 55. result: oad": [        0.84,        0.8,        0.67   
2019.08.04 16:45:13 4: ZoneMinder (Zoneminder) SimpleGet calling http://192.168.1.130/zm/api/host/getLoad.json with callback CODE(0x1929330)
2019.08.04 16:45:13 5: ZoneMinder (Zoneminder) - "load":[ found at -1
2019.08.04 16:45:13 5: ZoneMinder (Zoneminder) - looking for "load":[ - length: 8. start: 7. end: 56. result: oad": [        1.01,        0.85,        0.69   
2019.08.04 16:46:13 4: ZoneMinder (Zoneminder) SimpleGet calling http://192.168.1.130/zm/api/host/getLoad.json with callback CODE(0x1929330)
2019.08.04 16:46:13 5: ZoneMinder (Zoneminder) - "load":[ found at -1
2019.08.04 16:46:13 5: ZoneMinder (Zoneminder) - looking for "load":[ - length: 8. start: 7. end: 55. result: oad": [        0.76,        0.83,        0.7   
2019.08.04 16:47:13 4: ZoneMinder (Zoneminder) SimpleGet calling http://192.168.1.130/zm/api/host/getLoad.json with callback CODE(0x1929330)
2019.08.04 16:47:13 5: ZoneMinder (Zoneminder) - "load":[ found at -1
2019.08.04 16:47:13 5: ZoneMinder (Zoneminder) - looking for "load":[ - length: 8. start: 7. end: 56. result: oad": [        0.52,        0.75,        0.68   
2019.08.04 16:48:13 4: ZoneMinder (Zoneminder) SimpleGet calling http://192.168.1.130/zm/api/host/getLoad.json with callback CODE(0x1929330)
2019.08.04 16:48:13 5: ZoneMinder (Zoneminder) - "load":[ found at -1
2019.08.04 16:48:13 5: ZoneMinder (Zoneminder) - looking for "load":[ - length: 8. start: 7. end: 56. result: oad": [        0.51,        0.71,        0.67   
2019.08.04 16:49:13 4: ZoneMinder (Zoneminder) SimpleGet calling http://192.168.1.130/zm/api/host/getLoad.json with callback CODE(0x1929330)
2019.08.04 16:49:13 5: ZoneMinder (Zoneminder) - "load":[ found at -1
2019.08.04 16:49:13 5: ZoneMinder (Zoneminder) - looking for "load":[ - length: 8. start: 7. end: 56. result: oad": [        0.74,        0.73,        0.68   
2019.08.04 16:49:26 5: ZoneMinder (Zoneminder) incoming message event:1|on|1564930166|19.
2019.08.04 16:49:26 5: Zoneminder: dispatch event:1|on|1564930166|19
2019.08.04 16:49:26 5: ZM_Monitor Handling event for logical device Zoneminder_1
2019.08.04 16:49:26 4: ZoneMinder (Zoneminder) method: queryEventDetails, monitorId:1, EventId:19
2019.08.04 16:49:26 4: ZoneMinder (Zoneminder) SimpleGet calling http://192.168.1.130/zm/api/events/19.json with callback CODE(0x34a5708)
2019.08.04 16:49:27 5: ZoneMinder (Zoneminder) - "MonitorId":" found at -1
2019.08.04 16:49:27 5: ZoneMinder (Zoneminder) - looking for "MonitorId":" - length: 13. start: 12. end: 23. result: : {       
2019.08.04 16:49:27 5: ZoneMinder (Zoneminder) - "Id":" found at -1
2019.08.04 16:49:27 5: ZoneMinder (Zoneminder) - looking for "Id":" - length: 6. start: 5. end: 5. result:
2019.08.04 16:49:27 5: ZoneMinder (Zoneminder) - "Notes":" found at -1
2019.08.04 16:49:27 5: ZoneMinder (Zoneminder) - looking for "Notes":" - length: 9. start: 8. end: 11. result: ent
2019.08.04 16:49:27 4: ZoneMinder (Zoneminder) - QueryEventDetails_Callback zmMonitorId: : {        , zmEventId: , zmNotes: ent
2019.08.04 16:49:27 5: Zoneminder: dispatch eventDetails:: {        ||ent
2019.08.04 16:49:27 5: ZM_Monitor logical device with address Zoneminder_: {         not found. returning autocreate: UNDEFINED ZM_Monitor_Zoneminder_: {         ZM_Monitor : {       
2019.08.04 16:49:27 0: Can't read ./FHEM/_{.pm: No such file or directory
2019.08.04 16:49:27 2: autocreate: define ZM_Monitor_Zoneminder_: {         ZM_Monitor : {       
2019.08.04 16:49:27 1: ERROR: Invalid characters in name (not A-Za-z0-9._): ZM_Monitor_Zoneminder_:
2019.08.04 16:49:28 5: ZoneMinder (Zoneminder) incoming message event:1|off|1564930168|19.
2019.08.04 16:49:28 5: Zoneminder: dispatch event:1|off|1564930168|19
2019.08.04 16:49:28 5: ZM_Monitor Handling event for logical device Zoneminder_1
2019.08.04 16:49:28 4: ZoneMinder (Zoneminder) method: queryEventDetails, monitorId:1, EventId:19
2019.08.04 16:49:28 4: ZoneMinder (Zoneminder) SimpleGet calling http://192.168.1.130/zm/api/events/19.json with callback CODE(0x34a5708)
2019.08.04 16:49:28 5: ZoneMinder (Zoneminder) - "MonitorId":" found at -1
2019.08.04 16:49:28 5: ZoneMinder (Zoneminder) - looking for "MonitorId":" - length: 13. start: 12. end: 23. result: : {       
2019.08.04 16:49:28 5: ZoneMinder (Zoneminder) - "Id":" found at -1
2019.08.04 16:49:28 5: ZoneMinder (Zoneminder) - looking for "Id":" - length: 6. start: 5. end: 5. result:
2019.08.04 16:49:28 5: ZoneMinder (Zoneminder) - "Notes":" found at -1
2019.08.04 16:49:28 5: ZoneMinder (Zoneminder) - looking for "Notes":" - length: 9. start: 8. end: 11. result: ent
2019.08.04 16:49:28 4: ZoneMinder (Zoneminder) - QueryEventDetails_Callback zmMonitorId: : {        , zmEventId: , zmNotes: ent
2019.08.04 16:49:28 5: Zoneminder: dispatch eventDetails:: {        ||ent
2019.08.04 16:49:28 5: ZM_Monitor logical device with address Zoneminder_: {         not found. returning autocreate: UNDEFINED ZM_Monitor_Zoneminder_: {         ZM_Monitor : {       
2019.08.04 16:49:28 0: Can't read ./FHEM/_{.pm: No such file or directory
2019.08.04 16:49:28 2: autocreate: define ZM_Monitor_Zoneminder_: {         ZM_Monitor : {       
2019.08.04 16:49:28 1: ERROR: Invalid characters in name (not A-Za-z0-9._): ZM_Monitor_Zoneminder_:
2019.08.04 16:50:13 4: ZoneMinder (Zoneminder) SimpleGet calling http://192.168.1.130/zm/api/host/getLoad.json with callback CODE(0x1929330)
2019.08.04 16:50:13 5: ZoneMinder (Zoneminder) - "load":[ found at -1
2019.08.04 16:50:13 5: ZoneMinder (Zoneminder) - looking for "load":[ - length: 8. start: 7. end: 55. result: oad": [        0.7,        0.72,        0.68   
2019.08.04 16:51:13 4: ZoneMinder (Zoneminder) SimpleGet calling http://192.168.1.130/zm/api/host/getLoad.json with callback CODE(0x1929330)
2019.08.04 16:51:13 5: ZoneMinder (Zoneminder) - "load":[ found at -1
2019.08.04 16:51:13 5: ZoneMinder (Zoneminder) - looking for "load":[ - length: 8. start: 7. end: 55. result: oad": [        0.84,        0.77,        0.7   
2019.08.04 16:52:13 4: ZoneMinder (Zoneminder) SimpleGet calling http://192.168.1.130/zm/api/host/getLoad.json with callback CODE(0x1929330)
2019.08.04 16:52:13 5: ZoneMinder (Zoneminder) - "load":[ found at -1
2019.08.04 16:52:13 5: ZoneMinder (Zoneminder) - looking for "load":[ - length: 8. start: 7. end: 56. result: oad": [        0.91,        0.81,        0.72   
2019.08.04 16:53:13 4: ZoneMinder (Zoneminder) SimpleGet calling http://192.168.1.130/zm/api/host/getLoad.json with callback CODE(0x1929330)
2019.08.04 16:53:14 5: ZoneMinder (Zoneminder) - "load":[ found at -1
2019.08.04 16:53:14 5: ZoneMinder (Zoneminder) - looking for "load":[ - length: 8. start: 7. end: 56. result: oad": [        0.98,        0.85,        0.74   
2019.08.04 16:54:14 4: ZoneMinder (Zoneminder) SimpleGet calling http://192.168.1.130/zm/api/host/getLoad.json with callback CODE(0x1929330)
2019.08.04 16:54:14 5: ZoneMinder (Zoneminder) - "load":[ found at -1
2019.08.04 16:54:14 5: ZoneMinder (Zoneminder) - looking for "load":[ - length: 8. start: 7. end: 56. result: oad": [        0.82,        0.84,        0.75   
2019.08.04 16:55:14 4: ZoneMinder (Zoneminder) SimpleGet calling http://192.168.1.130/zm/api/host/getLoad.json with callback CODE(0x1929330)
2019.08.04 16:55:14 5: ZoneMinder (Zoneminder) - "load":[ found at -1
2019.08.04 16:55:14 5: ZoneMinder (Zoneminder) - looking for "load":[ - length: 8. start: 7. end: 56. result: oad": [        0.64,        0.78,        0.73   
2019.08.04 16:55:55 1: PERL WARNING: Subroutine ZoneMinder_Initialize redefined at ./FHEM/70_ZoneMinder.pm line 41.
2019.08.04 16:55:55 1: PERL WARNING: Subroutine ZoneMinder_Define redefined at ./FHEM/70_ZoneMinder.pm line 62.
2019.08.04 16:55:55 1: PERL WARNING: Subroutine ZoneMinder_afterInitialized redefined at ./FHEM/70_ZoneMinder.pm line 104.
2019.08.04 16:55:55 1: PERL WARNING: Subroutine ZoneMinder_getZmWebUrl redefined at ./FHEM/70_ZoneMinder.pm line 114.
2019.08.04 16:55:55 1: PERL WARNING: Subroutine ZoneMinder_getPublicAddress redefined at ./FHEM/70_ZoneMinder.pm line 139.
2019.08.04 16:55:55 1: PERL WARNING: Subroutine ZoneMinder_getZmApiUrl redefined at ./FHEM/70_ZoneMinder.pm line 147.
2019.08.04 16:55:55 1: PERL WARNING: Subroutine ZoneMinder_API_Login redefined at ./FHEM/70_ZoneMinder.pm line 156.
2019.08.04 16:55:55 1: PERL WARNING: Subroutine ZoneMinder_API_Login_Callback redefined at ./FHEM/70_ZoneMinder.pm line 183.
2019.08.04 16:55:55 1: PERL WARNING: Subroutine ZoneMinder_API_getLoad redefined at ./FHEM/70_ZoneMinder.pm line 220.
2019.08.04 16:55:55 1: PERL WARNING: Subroutine ZoneMinder_SimpleGet redefined at ./FHEM/70_ZoneMinder.pm line 227.
2019.08.04 16:55:55 1: PERL WARNING: Subroutine ZoneMinder_API_ReadHostInfo_Callback redefined at ./FHEM/70_ZoneMinder.pm line 248.
2019.08.04 16:55:55 1: PERL WARNING: Subroutine ZoneMinder_API_ReadHostLoad_Callback redefined at ./FHEM/70_ZoneMinder.pm line 276.
2019.08.04 16:55:55 1: PERL WARNING: Subroutine ZoneMinder_API_ReadConfig_Callback redefined at ./FHEM/70_ZoneMinder.pm line 297.
2019.08.04 16:55:55 1: PERL WARNING: Subroutine ZoneMinder_GetConfigValueByKey redefined at ./FHEM/70_ZoneMinder.pm line 323.
2019.08.04 16:55:55 1: PERL WARNING: Subroutine ZoneMinder_GetConfigArrayByKey redefined at ./FHEM/70_ZoneMinder.pm line 329.
2019.08.04 16:55:55 1: PERL WARNING: Subroutine ZoneMinder_GetConfigValueByName redefined at ./FHEM/70_ZoneMinder.pm line 335.
2019.08.04 16:55:55 1: PERL WARNING: Subroutine ZoneMinder_GetFromJson redefined at ./FHEM/70_ZoneMinder.pm line 341.
2019.08.04 16:55:55 1: PERL WARNING: Subroutine ZoneMinder_API_UpdateMonitors_Callback redefined at ./FHEM/70_ZoneMinder.pm line 359.
2019.08.04 16:55:55 1: PERL WARNING: Subroutine ZoneMinder_UpdateMonitorAttributes redefined at ./FHEM/70_ZoneMinder.pm line 380.
2019.08.04 16:55:55 1: PERL WARNING: Subroutine ZoneMinder_API_CreateMonitors_Callback redefined at ./FHEM/70_ZoneMinder.pm line 392.
2019.08.04 16:55:55 1: PERL WARNING: Subroutine ZoneMinder_GetCookies redefined at ./FHEM/70_ZoneMinder.pm line 413.
2019.08.04 16:55:55 1: PERL WARNING: Subroutine ZoneMinder_Write redefined at ./FHEM/70_ZoneMinder.pm line 425.
2019.08.04 16:55:55 1: PERL WARNING: Subroutine ZoneMinder_API_ChangeMonitorState redefined at ./FHEM/70_ZoneMinder.pm line 476.
2019.08.04 16:55:55 1: PERL WARNING: Subroutine ZoneMinder_API_ChangeMonitorState_Callback redefined at ./FHEM/70_ZoneMinder.pm line 507.
2019.08.04 16:55:55 1: PERL WARNING: Subroutine ZoneMinder_API_QueryEventDetails_Callback redefined at ./FHEM/70_ZoneMinder.pm line 533.
2019.08.04 16:55:55 1: PERL WARNING: Subroutine ZoneMinder_Trigger_ChangeAlarmState redefined at ./FHEM/70_ZoneMinder.pm line 564.
2019.08.04 16:55:55 1: PERL WARNING: Subroutine ZoneMinder_Trigger_ChangeText redefined at ./FHEM/70_ZoneMinder.pm line 581.
2019.08.04 16:55:55 1: PERL WARNING: Subroutine ZoneMinder_calcAuthHash redefined at ./FHEM/70_ZoneMinder.pm line 592.
2019.08.04 16:55:55 1: PERL WARNING: Subroutine ZoneMinder_Shutdown redefined at ./FHEM/70_ZoneMinder.pm line 618.
2019.08.04 16:55:55 1: PERL WARNING: Subroutine ZoneMinder_Undef redefined at ./FHEM/70_ZoneMinder.pm line 622.
2019.08.04 16:55:55 1: PERL WARNING: Subroutine ZoneMinder_Read redefined at ./FHEM/70_ZoneMinder.pm line 632.
2019.08.04 16:55:55 1: PERL WARNING: Subroutine ZoneMinder_DetailFn redefined at ./FHEM/70_ZoneMinder.pm line 653.
2019.08.04 16:55:55 1: PERL WARNING: Subroutine ZoneMinder_Get redefined at ./FHEM/70_ZoneMinder.pm line 670.
2019.08.04 16:55:55 1: PERL WARNING: Subroutine ZoneMinder_Set redefined at ./FHEM/70_ZoneMinder.pm line 689.
2019.08.04 16:55:55 1: PERL WARNING: Subroutine ZoneMinder_Ready redefined at ./FHEM/70_ZoneMinder.pm line 702.
2019.08.04 16:55:55 3: ZoneMinder - Initialize done ...
2019.08.04 16:56:14 4: ZoneMinder (Zoneminder) SimpleGet calling http://192.168.1.130/zm/api/host/getLoad.json with callback CODE(0x190fdd8)
2019.08.04 16:56:14 5: json: {    "load": [        0.81,        0.81,        0.74    ]}
2019.08.04 16:56:14 5: ZoneMinder (Zoneminder) - "load":[ found at -1
2019.08.04 16:56:14 5: ZoneMinder (Zoneminder) - looking for "load":[ - length: 8. start: 7. end: 56. result: oad": [        0.81,        0.81,        0.74   
2019.08.04 16:56:46 4: ZoneMinder (Zoneminder) SimpleGet calling http://192.168.1.130/zm/api/monitors.json with callback CODE(0x34e6c18)
2019.08.04 16:56:46 5: json: {    "monitors": [        {            "Monitor": {                "Id": "1",                "Name": "Balkon",                "ServerId": "0",                "Type": "Remote",                "Function": "Modect",                "Enabled": "1",                "LinkedMonitors": "",                "Triggers": "",                "Device": "\/dev\/video0",                "Channel": "0",                "Format": "255",                "V4LMultiBuffer": false,                "V4LCapturesPerFrame": "1",                "Protocol": "rtsp",                "Method": "rtpRtsp",                "Host": "192.168.1.136",                "Port": "554",                "SubPath": "",                "Path": "\/s2",                "Options": "",                "User": "",                "Pass": "",                "Width": "320",                "Height": "240",                "Colours": "3",                "Palette": "0",                "Orientation": "0",                "Deinterlacing": "0",                "RTSPDescribe": false,                "Brightness": "-1",                "Contrast": "-1",                "Hue": "-1",                "Colour": "-1",                "EventPrefix": "Event-",                "LabelFormat": "%N - %Y-%m-%d %H:%M:%S %z",                "LabelX": "0",                "LabelY": "0",                "LabelSize": "1",                "ImageBufferCount": "50",                "WarmupCount": "25",                "PreEventCount": "25",                "PostEventCount": "25",                "StreamReplayBuffer": "1000",                "AlarmFrameCount": "1",                "SectionLength": "600",                "FrameSkip": "0",                "MotionFrameSkip": "0",                "AnalysisFPS": "20.00",                "AnalysisUpdateDelay": "0",                "MaxFPS": "20.00",                "AlarmMaxFPS": "20.00",                "FPSReportInterval": "1000",                "RefBlendPerc": "6",                "AlarmRefBlendPerc": "6",                "Controllable": "0",                "ControlId": "0",                "ControlDevice": null,                "ControlAddress": null,                "AutoStopTimeout": null,                "TrackMotion": "0",                "TrackDelay": "0",                "ReturnLocation": "-1",                "ReturnDelay": "0",                "DefaultView": "Events",                "DefaultRate": "100",                "DefaultScale": "100",                "SignalCheckColour": "#0000c0",                "WebColour": "red",                "Exif": false,                "Sequence": "1"            }        }    ]}
2019.08.04 16:56:46 5: ZoneMinder (Zoneminder) - "Id":" found at -1
2019.08.04 16:56:46 5: ZoneMinder (Zoneminder) - looking for "Id":" - length: 6. start: 5. end: 5. result:
2019.08.04 16:56:46 4: ZoneMinder (Zoneminder) SimpleGet calling http://192.168.1.130/zm/api/monitors.json with callback CODE(0x35485f0)
2019.08.04 16:56:46 5: json: {    "monitors": [        {            "Monitor": {                "Id": "1",                "Name": "Balkon",                "ServerId": "0",                "Type": "Remote",                "Function": "Modect",                "Enabled": "1",                "LinkedMonitors": "",                "Triggers": "",                "Device": "\/dev\/video0",                "Channel": "0",                "Format": "255",                "V4LMultiBuffer": false,                "V4LCapturesPerFrame": "1",                "Protocol": "rtsp",                "Method": "rtpRtsp",                "Host": "192.168.1.136",                "Port": "554",                "SubPath": "",                "Path": "\/s2",                "Options": "",                "User": "",                "Pass": "",                "Width": "320",                "Height": "240",                "Colours": "3",                "Palette": "0",                "Orientation": "0",                "Deinterlacing": "0",                "RTSPDescribe": false,                "Brightness": "-1",                "Contrast": "-1",                "Hue": "-1",                "Colour": "-1",                "EventPrefix": "Event-",                "LabelFormat": "%N - %Y-%m-%d %H:%M:%S %z",                "LabelX": "0",                "LabelY": "0",                "LabelSize": "1",                "ImageBufferCount": "50",                "WarmupCount": "25",                "PreEventCount": "25",                "PostEventCount": "25",                "StreamReplayBuffer": "1000",                "AlarmFrameCount": "1",                "SectionLength": "600",                "FrameSkip": "0",                "MotionFrameSkip": "0",                "AnalysisFPS": "20.00",                "AnalysisUpdateDelay": "0",                "MaxFPS": "20.00",                "AlarmMaxFPS": "20.00",                "FPSReportInterval": "1000",                "RefBlendPerc": "6",                "AlarmRefBlendPerc": "6",                "Controllable": "0",                "ControlId": "0",                "ControlDevice": null,                "ControlAddress": null,                "AutoStopTimeout": null,                "TrackMotion": "0",                "TrackDelay": "0",                "ReturnLocation": "-1",                "ReturnDelay": "0",                "DefaultView": "Events",                "DefaultRate": "100",                "DefaultScale": "100",                "SignalCheckColour": "#0000c0",                "WebColour": "red",                "Exif": false,                "Sequence": "1"            }        }    ]}
2019.08.04 16:56:46 5: ZoneMinder (Zoneminder) - "Id":" found at -1
2019.08.04 16:56:46 5: ZoneMinder (Zoneminder) - looking for "Id":" - length: 6. start: 5. end: 5. result:
2019.08.04 16:56:46 0: ZoneMinder (Zoneminder) - Invalid monitorId:


Soll ich bestimmte "Befehle" ausführen oder ist das schon ok!?

Gruß, Joachim
FHEM PI3B+ Bullseye: HM-CFG-USB, 40x HM, ZWave-USB, 13x ZWave, EnOcean-PI, 15x EnOcean, HUE/deCONZ, CO2, ESP-Multisensor, Shelly, alexa-fhem, ...
FHEM PI2 Buster: HM-CFG-USB, 25x HM, ZWave-USB, 4x ZWave, EnOcean-PI, 3x EnOcean, Shelly, ha-bridge, ...
FHEM PI3 Buster (Test)

delMar

Danke, ich seh das Problem.
Muss aber noch an der Lösung tüfteln

Schöne Grüße
Martin
Maintainer von: ZoneMinder, TA_CMI_JSON, ONKYO_AVR, DENON_AVR, CanOverEthernet, IPCAM.

Vielgenutzte Module sind die größte Motivation für Entwickler.
Bitte zumindest 'attr global sendStatistics onUpdate' setzen.
Denn: ohne 'sendStatistics' keine Zahlen.

MadMax-FHEM

#84
Hallo Martin,

immer noch: keine Eile ;)

Hab auch noch andere Baustellen...

Wenn du noch was brauchst: einfach melden!

EDIT: eine Frage habe ich dann doch noch. Jetzt wo ich das Monitoring-Device habe :) habe ich dort mal das mit der Stream-Anzeige aktiviert (Attribut showLiveStreamInDetail). Jetzt steht aber "oben" in FhemWeb (dort wo wahrscheinlich das Live-Bild sein könnte) "Streaming disabled". Ich mach ja noch nicht lange mit ZoneMinder rum, muss ich "dort" irgendwas einstellen, damit das funktioniert?

Danke schon mal wieder, Joachim
FHEM PI3B+ Bullseye: HM-CFG-USB, 40x HM, ZWave-USB, 13x ZWave, EnOcean-PI, 15x EnOcean, HUE/deCONZ, CO2, ESP-Multisensor, Shelly, alexa-fhem, ...
FHEM PI2 Buster: HM-CFG-USB, 25x HM, ZWave-USB, 4x ZWave, EnOcean-PI, 3x EnOcean, Shelly, ha-bridge, ...
FHEM PI3 Buster (Test)

MadMax-FHEM

Hallo Martin,

hattest du schon Gelegenheit!? ;)

(hab grad schon fälschlicherweise gedacht es gäbe ein Update, aber klar ich hatte ja eine "Spezialversion" und da zeigt update nat. was an ;)  Jetzt habe ich wohl wieder die letzte Original-Version drin / oder gab es tatsächlich was?)

Kann ich noch was liefern?

Gruß, Joachim
FHEM PI3B+ Bullseye: HM-CFG-USB, 40x HM, ZWave-USB, 13x ZWave, EnOcean-PI, 15x EnOcean, HUE/deCONZ, CO2, ESP-Multisensor, Shelly, alexa-fhem, ...
FHEM PI2 Buster: HM-CFG-USB, 25x HM, ZWave-USB, 4x ZWave, EnOcean-PI, 3x EnOcean, Shelly, ha-bridge, ...
FHEM PI3 Buster (Test)

delMar

ich hatte schon Gelegenheit, bin aber noch nicht fertig.
Regex haben so ihren eigenen "Charme"...

schöne Grüße
Martin
Maintainer von: ZoneMinder, TA_CMI_JSON, ONKYO_AVR, DENON_AVR, CanOverEthernet, IPCAM.

Vielgenutzte Module sind die größte Motivation für Entwickler.
Bitte zumindest 'attr global sendStatistics onUpdate' setzen.
Denn: ohne 'sendStatistics' keine Zahlen.

MadMax-FHEM

Zitat von: delmar am 09 August 2019, 19:44:19
Regex haben so ihren eigenen "Charme"...

Wem sagst du das ;)

Dann einfach entspannt weitermachen :)

Gruß und danke, Joachim
FHEM PI3B+ Bullseye: HM-CFG-USB, 40x HM, ZWave-USB, 13x ZWave, EnOcean-PI, 15x EnOcean, HUE/deCONZ, CO2, ESP-Multisensor, Shelly, alexa-fhem, ...
FHEM PI2 Buster: HM-CFG-USB, 25x HM, ZWave-USB, 4x ZWave, EnOcean-PI, 3x EnOcean, Shelly, ha-bridge, ...
FHEM PI3 Buster (Test)

mahil

Hallo Martin,

bin gerade auf das gleiche Problem gestoßen und habe mir dein Coding in der Funktion ZoneMinder_GetFromJson mal angeschaut. Um das Json besser auswerten zu können, wäre es da nicht einfacher etwa so vorzugehen:


use JSON;
my $decoded_json_config = decode_json($config);


In $decoded_json_config->{'monitors'} bekommst du dann ein Array aller Kameras mit den entsprechenden Werten. So würde dann z.B. in


$decoded_json_config->{'monitors'}[0]->{'Monitor'}->{'Id'}


die Id der ersten Kamera stehen. So konnte ich das jedenfalls in meiner Umgebung ermitteln.

Viele Grüße
Marcus
Raspberry Pi4; CUL_MAX: MAX! Heizkörperthermostat basic; Zigbee über Deconz ConBee II: Xiaomi (Thermostate, Fenstersensoren, Bewegungsmelder), Ikea (Bewegungsmelder, Repeater, Leuchtkörper); Shelly: Dimmer, Schalter; Tasmota: Steckdosen, Rollladenschalter

delMar

Danke Marcus,

ja, vielleicht sollte ich es einfach so machen.

In einem anderen Modul von mir verwende ich auch json2nameValue, welches auch ohne die Abhängigkeit zur JSON library auskommt.

Allerdings ist es so, dass speziell configs.json ein so großes json liefert, dass das Parsen davon den gesamten FHEM Prozess für mehrere Sekunden blockt. (auf meinem RPI 3 zumindest).
Das ist besonders deshalb doof, weil nur extrem wenige Werte aus configs.json benötigt werden und dieser gesamte Decoding und Parsing Aufwand eigentlich Verschwendung ist - speziell angesichts des Blockings

Deshalb wollte ich eine simplere Methode verwenden. Es wird nur der String durchgesehen und dann werden die entsprechenden Werte einfach in Variablen geschrieben. Kein Parsing, etc ist nötig.

ich hoffe, das ist nachvollziehbar

schöne grüße
martin



Maintainer von: ZoneMinder, TA_CMI_JSON, ONKYO_AVR, DENON_AVR, CanOverEthernet, IPCAM.

Vielgenutzte Module sind die größte Motivation für Entwickler.
Bitte zumindest 'attr global sendStatistics onUpdate' setzen.
Denn: ohne 'sendStatistics' keine Zahlen.