FHEM Forum

FHEM - Hausautomations-Systeme => Homematic => Thema gestartet von: supernova1963 am 28 März 2017, 18:55:16

Titel: [Gelöst]HMCCUDEV mit unveränderten Defaults: Fehler " ... Invalid datapoint"
Beitrag von: supernova1963 am 28 März 2017, 18:55:16
Sorry, aber ich krieg's nicht hin.

Ich habe bestimmt irgendetwas überlesen oder etwas falsch verstanden.
Alle Devices zeigen die korrekten Readings - Werte an (Mit dem HMCCURPC Modul werden die Veränderungen auch sehr schnell sichtbar) aber Änderungen werden mit der Fehlermeldung "HMCCUDEV: HM_03_DimmerDeckenleuchten_DEV1 Invalid datapoint" abgebrochen.
Was mache ich falsch bzw. was muß ich tun?

Ich habe meine CCU2 folgendermaßen in FHEM eingebunden:

defmod d_ccu HMCCU 192.168.1.4
attr d_ccu ccudef-readingfilter ^(LOW_?BAT|UNREACH)$
attr d_ccu ccudef-readingformat datapoint
attr d_ccu ccudef-readingname ^(.+\.)?AES_KEY$:sign;;^(.+\.)?LOW_?BAT$:battery;;^(.+\.)?BATTERY_STATE$:batteryLevel;;^(.+\.)?UNREACH$:Activity;;^(.+\.)?TEMPERATURE$:+temperature;;^(.+\.)?SET_TEMPERATURE$:+desired-temp;;^(.+\.)?HUMIDITY$:+humidity;;^(.+\.)?LEVEL$:+pct;;^(.+\.)?CONTROL_MODE$:+controlMode
attr d_ccu ccudef-substitute AES_KEY!(0|false):off,(1|true):on;;LOWBAT,LOW_BAT!(0|false):ok,(1|true):low;;UNREACH!(0|false):alive,(1|true):dead;;MOTION!(0|false):noMotion,(1|true):motion;;DIRECTION!0:stop,1:up,2:down,3:undefined;;WORKING!0:false,1:true;;INHIBIT!(0|false):unlocked,(1|true):locked
attr d_ccu ccuflags extrpc
attr d_ccu room Homematic,91 Systeme
attr d_ccu rpcinterfaces BidCos-RF,HmIP-RF,VirtualDevices
attr d_ccu rpcinterval 5
attr d_ccu rpcport 2001,2010,9292
attr d_ccu rpcqueue /tmp/ccuqueue
attr d_ccu rpcserver on
attr d_ccu stateFormat rpcstate/state

defmod d_ccu_rpc HMCCURPC 192.168.1.4
attr d_ccu_rpc room Homematic,91 Systeme
attr d_ccu_rpc stateFormat rpcstate/state
attr d_ccu_rpc verbose 2


Beispiel Device Dimmer HM-LC-Dim1TPBU-FM per autocreate erstellt und unveränderte Defaults geladen:

defmod HM_03_DimmerDeckenleuchten_DEV1 HMCCUDEV NEQ1143221
attr HM_03_DimmerDeckenleuchten_DEV1 IODev d_ccu
attr HM_03_DimmerDeckenleuchten_DEV1 ccureadingfilter (^LEVEL$|DIRECTION)
attr HM_03_DimmerDeckenleuchten_DEV1 ccuscaleval LEVEL:0:1:0:100
attr HM_03_DimmerDeckenleuchten_DEV1 cmdIcon on:general_an off:general_aus
attr HM_03_DimmerDeckenleuchten_DEV1 controldatapoint 1.LEVEL
attr HM_03_DimmerDeckenleuchten_DEV1 hmstatevals ERROR_REDUCED!1:error_reduced;;ERROR_OVERHEAT!1:error_overheat;;ERROR_OVERLOAD!1:error_overload
attr HM_03_DimmerDeckenleuchten_DEV1 room 03 Küche,Homematic
attr HM_03_DimmerDeckenleuchten_DEV1 statedatapoint 1.LEVEL
attr HM_03_DimmerDeckenleuchten_DEV1 statevals on:100,off:0
attr HM_03_DimmerDeckenleuchten_DEV1 stripnumber 1
attr HM_03_DimmerDeckenleuchten_DEV1 substexcl control
attr HM_03_DimmerDeckenleuchten_DEV1 substitute ERROR_OVERHEAT,ERROR_OVERLOAD,ERROR_REDUCED!(0|false):no,(1|true):yes;;LEVEL!#0-0:off,#1-100:on;;DIRECTION!0:none,1:up,2:down,3:undefined
attr HM_03_DimmerDeckenleuchten_DEV1 webCmd control:on:off
attr HM_03_DimmerDeckenleuchten_DEV1 widgetOverride control:slider,0,10,100


Danke,

Gernot
Titel: Antw:HMCCUDEV mit unveränderten Defaults: Fehler " ... Invalid datapoint"
Beitrag von: zap am 28 März 2017, 19:43:45
Bitte mach mal ein "list HM_03_DimmerDeckenleuchten_DEV1"

Außerdem brauche ich noch den set Befehl, der die Fehlermeldung verursacht.
Titel: Antw:HMCCUDEV mit unveränderten Defaults: Fehler " ... Invalid datapoint"
Beitrag von: supernova1963 am 28 März 2017, 20:08:58
Hallo zap,

danke für die schnelle Reaktion.
Finde ich den set Befehl in der log-Datei?

Hier schon mal das List:


list HM_03_DimmerDeckenleuchten_DEV1 HM_03_DimmerDeckenleuchten_DEV1

Internals:
   DEF        NEQ1143221
   IODev      d_ccu
   NAME       HM_03_DimmerDeckenleuchten_DEV1
   NR         343
   STATE      off
   TYPE       HMCCUDEV
   ccuaddr    NEQ1143221
   ccudevstate active
   ccuif      BidCos-RF
   ccuname    03_DimmerDeckenleuchten_DEV1
   ccutype    HM-LC-Dim1TPBU-FM
   channels   4
   firmware   2.9
   statevals  devstate|on|off
   Helper:
     Dblog:
       1.direction:
         Logdb:
           TIME       1490679457.8859
           VALUE      none
       1.level:
         Logdb:
           TIME       1490679457.8859
           VALUE      off
       Control:
         Logdb:
           TIME       1490679457.8859
           VALUE      0
       Hmstate:
         Logdb:
           TIME       1490679457.8859
           VALUE      off
       Pct:
         Logdb:
           TIME       1490679457.8859
           VALUE      off
       State:
         Logdb:
           TIME       1490679457.8859
           VALUE      off
   Readings:
     2017-03-28 07:37:37   1.DIRECTION     none
     2017-03-28 07:37:37   1.LEVEL         off
     2017-03-26 22:13:46   Activity        alive
     2017-03-28 07:37:37   control         0
     2017-03-28 07:37:37   hmstate         off
     2017-03-28 07:37:37   pct             off
     2017-03-28 07:37:37   state           off
   Hmccu:
     Dp:
       1.direction:
         VAL        0
       1.error_overheat:
         VAL        0
       1.error_overload:
         VAL        0
       1.error_reduced:
         VAL        0
       1.level:
         VAL        0.000000
       1.level_real:
         VAL        0.000000
       1.working:
         VAL        0
       2.level_real:
         VAL        0.000000
       3.level_real:
         VAL        0.000000
Attributes:
   IODev      d_ccu
   ccureadingfilter (^LEVEL$|DIRECTION)
   ccuscaleval LEVEL:0:1:0:100
   cmdIcon    on:general_an off:general_aus
   controldatapoint 1.LEVEL
   hmstatevals ERROR_REDUCED!1:error_reduced;ERROR_OVERHEAT!1:error_overheat;ERROR_OVERLOAD!1:error_overload
   room       03 Küche,Homematic
   statedatapoint 1.LEVEL
   statevals  on:100,off:0
   stripnumber 1
   substexcl  control
   substitute ERROR_OVERHEAT,ERROR_OVERLOAD,ERROR_REDUCED!(0|false):no,(1|true):yes;LEVEL!#0-0:off,#1-100:on;DIRECTION!0:none,1:up,2:down,3:undefined
   webCmd     control:on:off
   widgetOverride control:slider,0,10,100
Titel: Antw:HMCCUDEV mit unveränderten Defaults: Fehler " ... Invalid datapoint"
Beitrag von: supernova1963 am 28 März 2017, 20:24:23
Hallo zap,

weder log noch event zeigt de Befehl der ausgeführt wird.

Der Fehler wird ausgelöst durch das Klicken auf An oder Aus und ebenfalls, wenn ich den Slider verschiebe.

Noch einmal Danke,

Gernot
Titel: Antw:HMCCUDEV mit unveränderten Defaults: Fehler " ... Invalid datapoint"
Beitrag von: zap am 28 März 2017, 21:26:55
Führe mal bitte den Befehl "get deviceinfo" für das Dimmer Device aus.
Titel: Antw:HMCCUDEV mit unveränderten Defaults: Fehler " ... Invalid datapoint"
Beitrag von: supernova1963 am 28 März 2017, 21:39:10
Ergebnis:

HMCCUDEV: HM_03_DimmerDeckenleuchten_DEV1 Execution of CCU script or command failed

Titel: Antw:HMCCUDEV mit unveränderten Defaults: Fehler " ... Invalid datapoint"
Beitrag von: zap am 28 März 2017, 21:42:46
Wie stehts mit

get d_ccu deviceinfo 03_DimmerDeckenleuchten_DEV1

Titel: Antw:HMCCUDEV mit unveränderten Defaults: Fehler " ... Invalid datapoint"
Beitrag von: supernova1963 am 28 März 2017, 21:46:15
Ergebnis:

HMCCU: d_ccu Execution of CCU script or command failed
Titel: Antw:HMCCUDEV mit unveränderten Defaults: Fehler " ... Invalid datapoint"
Beitrag von: zap am 28 März 2017, 21:48:30
Das Device 03_DimmerDeckenleuchten_DEV1 existiert in der CCU und der Name existiert auch nur 1x ?
Titel: Antw:HMCCUDEV mit unveränderten Defaults: Fehler " ... Invalid datapoint"
Beitrag von: supernova1963 am 28 März 2017, 21:51:11
hardcopy WebUI im Anhang
Titel: Antw:HMCCUDEV mit unveränderten Defaults: Fehler " ... Invalid datapoint"
Beitrag von: zap am 29 März 2017, 07:01:23
Hast du auf der CCU die Firmware 2.27.7 oder neuer?

Wenn ja: hast du die Firewall Einstellungen angepasst?

Siehe
https://forum.fhem.de/index.php/topic,69481.0.html
Titel: Antw:HMCCUDEV mit unveränderten Defaults: Fehler " ... Invalid datapoint"
Beitrag von: supernova1963 am 29 März 2017, 07:14:16
Guten morgen zap,

muss ich nach den Änderungen der Firewall die Zentrale neu starten?
Als Anlage, die Hardcopy aus der WebUI

Die LogDatei-Einträge, wenn ich den Dimmer manuell betätige:

2017-03-29 06:34:27 HM_03_DimmerDeckenleuchten_DEV1 HMCCUDEV 1.DIRECTION: none
2017-03-29 06:34:27 HM_03_DimmerDeckenleuchten_DEV1 HMCCUDEV 1.LEVEL: on
2017-03-29 06:34:27 HM_03_DimmerDeckenleuchten_DEV1 HMCCUDEV pct: on
2017-03-29 06:34:27 HM_03_DimmerDeckenleuchten_DEV1 HMCCUDEV control: 60
2017-03-29 06:34:27 HM_03_DimmerDeckenleuchten_DEV1 HMCCUDEV on
2017-03-29 06:34:27 HM_03_DimmerDeckenleuchten_DEV1 HMCCUDEV hmstate: on
2017-03-29 06:34:25 HM_03_DimmerDeckenleuchten_DEV1 HMCCUDEV 1.LEVEL: on
2017-03-29 06:34:25 HM_03_DimmerDeckenleuchten_DEV1 HMCCUDEV pct: on
2017-03-29 06:34:25 HM_03_DimmerDeckenleuchten_DEV1 HMCCUDEV control: 60
2017-03-29 06:34:25 HM_03_DimmerDeckenleuchten_DEV1 HMCCUDEV on
2017-03-29 06:34:25 HM_03_DimmerDeckenleuchten_DEV1 HMCCUDEV 1.DIRECTION: none
2017-03-29 06:34:25 HM_03_DimmerDeckenleuchten_DEV1 HMCCUDEV hmstate: on


und als Anlage die Definition des Dimmer Device in der WebUI sowie die das HMCCUDEV in FHEM als Hardcopy.
Titel: Antw:HMCCUDEV mit unveränderten Defaults: Fehler " ... Invalid datapoint"
Beitrag von: supernova1963 am 29 März 2017, 08:02:01
Hallo zap,

Es ergibt keine Veränderung, der Fehler bleibt auch nachdem ich die Firewall angepaßt habe (192.168.0.0/16 war auch schon eingetragen).
Ich habe auch den Vollzugriff ohne Erfolg getestet.


Vielen Dank für deinen Einsatz,

Gernot
Titel: Antw:HMCCUDEV mit unveränderten Defaults: Fehler " ... Invalid datapoint"
Beitrag von: supernova1963 am 29 März 2017, 13:39:23
Hallo zap,

bevor ich aufgebe und nicht weiter nerve habe ich noch einmal alles von vorn versucht.
Ich habe den RPCSERVER auf off gestellt, danach habe alle Devices, den HMCCURPC und die HMCCU gelöscht.
Anschliessend habe ich FHEM beendet und neugestartet.

Danach habe gem. Wiki Schritt-für-Schritt die Neuanlage begonnen.
Gekommen bin ich bis zu dem Punkt: RPCSERVER starten. Mit der Eingabe "set rpcserver on" wird der das d_ccu_rpc device automatisch angelegt und der Status wechselt auf 'starting/busy'.
Nach einer ganzen Weile wechselt der Status auf 'stopped/OK'.

Da der Status 'running/OK' nicht erreicht wird, scheint bereits hier ein Fehler vorzuliegen.

list d_ccu ergibt siehe Anlage (ist zu lang)

Danke zum wiederholten Male,

Gernot
Titel: Antw:HMCCUDEV mit unveränderten Defaults: Fehler " ... Invalid datapoint"
Beitrag von: zap am 29 März 2017, 18:17:33
Du nervst nicht. Grundsätzlich bin ich daran interessiert, potenzielle Fehler in HMCCU zu finden und zu beheben.

Wenn der RPC Server nicht startet, müssten im FHEM Log eigentlich Meldungen stehen. Bitte mal nachschauen.

Außerdem solltest Du in der CCU Firewall beide Einträge auf "Vollzugriff" stellen, einfach um auf Nummer sicher zu gehen.

Ich glaube, Du hast ein Kommunikationsproblem zwischen FHEM und CCU. Wie ich sehe, nutzt Du Ubuntu unter MacOS. Vielleicht gibt es hier noch separate Firewall Einstellungen.

Titel: Antw:HMCCUDEV mit unveränderten Defaults: Fehler " ... Invalid datapoint"
Beitrag von: supernova1963 am 29 März 2017, 19:08:56
Super, ich habe alles auf Vollzugriff gestellt und den rpc neu gestartet.

Logeinträge:

2017.03.29 19:03:58 2: HMCCURPC: Starting thread for data processing
2017.03.29 19:03:58 2: HMCCURPC: Started thread for data processing. TID=16
2017.03.29 19:03:58 2: CCURPC: Thread DATA processing RPC events. TID=16
2017.03.29 19:03:58 2: HMCCURPC: RPC server thread started for interface BidCos-RF with TID=17
2017.03.29 19:03:58 2: CCURPC: Initializing RPC server CB2001 for interface BidCos-RF
2017.03.29 19:03:58 2: HMCCURPC: Callback server CB2001 created. Listening on port 7411
2017.03.29 19:03:58 2: HMCCURPC: Adding callback for events for server CB2001
2017.03.29 19:03:58 2: HMCCURPC: Adding callback for new devices for server CB2001
2017.03.29 19:03:58 2: HMCCURPC: Adding callback for deleted devices for server CB2001
2017.03.29 19:03:58 2: HMCCURPC: Adding callback for modified devices for server CB2001
2017.03.29 19:03:58 2: HMCCURPC: Adding callback for replaced devices for server CB2001
2017.03.29 19:03:58 2: HMCCURPC: Adding callback for readded devices for server CB2001
2017.03.29 19:03:58 2: HMCCURPC: Adding callback for list devices for server CB2001
2017.03.29 19:03:58 2: CCURPC: CB2001 accepting connections. TID=17
2017.03.29 19:03:58 2: HMCCURPC: RPC server thread started for interface BidCos-Wired with TID=18
2017.03.29 19:03:58 2: CCURPC: Initializing RPC server CB2000 for interface BidCos-Wired
2017.03.29 19:03:58 2: HMCCURPC: Callback server CB2000 created. Listening on port 7410
2017.03.29 19:03:58 2: HMCCURPC: Adding callback for events for server CB2000
2017.03.29 19:03:58 2: HMCCURPC: Adding callback for new devices for server CB2000
2017.03.29 19:03:58 2: HMCCURPC: Adding callback for deleted devices for server CB2000
2017.03.29 19:03:58 2: HMCCURPC: Adding callback for modified devices for server CB2000
2017.03.29 19:03:58 2: HMCCURPC: Adding callback for replaced devices for server CB2000
2017.03.29 19:03:58 2: HMCCURPC: Adding callback for readded devices for server CB2000
2017.03.29 19:03:58 2: HMCCURPC: Adding callback for list devices for server CB2000
2017.03.29 19:03:58 2: CCURPC: CB2000 accepting connections. TID=18
2017.03.29 19:03:59 2: HMCCURPC: RPC server thread started for interface HmIP-RF with TID=19
2017.03.29 19:03:59 2: CCURPC: Initializing RPC server CB2010 for interface HmIP-RF
2017.03.29 19:03:59 2: HMCCURPC: Callback server CB2010 created. Listening on port 7420
2017.03.29 19:03:59 2: HMCCURPC: Adding callback for events for server CB2010
2017.03.29 19:03:59 2: HMCCURPC: Adding callback for new devices for server CB2010
2017.03.29 19:03:59 2: HMCCURPC: Adding callback for deleted devices for server CB2010
2017.03.29 19:03:59 2: HMCCURPC: Adding callback for modified devices for server CB2010
2017.03.29 19:03:59 2: HMCCURPC: Adding callback for replaced devices for server CB2010
2017.03.29 19:03:59 2: HMCCURPC: Adding callback for readded devices for server CB2010
2017.03.29 19:03:59 2: HMCCURPC: Adding callback for list devices for server CB2010
2017.03.29 19:03:59 2: CCURPC: CB2010 accepting connections. TID=19
2017.03.29 19:03:59 2: HMCCURPC: RPC server thread started for interface VirtualDevices with TID=20
2017.03.29 19:03:59 2: CCURPC: Initializing RPC server CB9292 for interface VirtualDevices
2017.03.29 19:03:59 2: HMCCURPC: Callback server CB9292 created. Listening on port 14702
2017.03.29 19:03:59 2: HMCCURPC: Adding callback for events for server CB9292
2017.03.29 19:03:59 2: HMCCURPC: Adding callback for new devices for server CB9292
2017.03.29 19:03:59 2: HMCCURPC: Adding callback for deleted devices for server CB9292
2017.03.29 19:03:59 2: HMCCURPC: Adding callback for modified devices for server CB9292
2017.03.29 19:03:59 2: HMCCURPC: Adding callback for replaced devices for server CB9292
2017.03.29 19:03:59 2: HMCCURPC: Adding callback for readded devices for server CB9292
2017.03.29 19:03:59 2: HMCCURPC: Adding callback for list devices for server CB9292
2017.03.29 19:03:59 2: CCURPC: CB9292 accepting connections. TID=20
2017.03.29 19:04:00 1: HMCCURPC: RPC server(s) starting
2017.03.29 19:04:00 1: HMCCURPC: Received SL event. RPC server DATA enters server loop
2017.03.29 19:04:00 1: HMCCURPC: Received SL event. RPC server CB2001 enters server loop
2017.03.29 19:04:00 1: HMCCURPC: Received SL event. RPC server CB2000 enters server loop
2017.03.29 19:04:00 1: HMCCURPC: Received SL event. RPC server CB2010 enters server loop
2017.03.29 19:04:00 1: HMCCURPC: Received SL event. RPC server CB9292 enters server loop
2017.03.29 19:04:00 1: HMCCURPC: All threads working
2017.03.29 19:04:00 1: HMCCURPC: Registering callback http://192.168.1.5:7411/fh2001 with ID CB2001 at http://192.168.1.4:2001/
2017.03.29 19:04:00 1: CCURPC: CB2001 ListDevices. Sending init to HMCCU
2017.03.29 19:04:00 1: HMCCURPC: RPC callback with URL http://192.168.1.5:7411/fh2001 registered
2017.03.29 19:04:00 1: HMCCURPC: Registering callback http://192.168.1.5:7410/fh2000 with ID CB2000 at http://192.168.1.4:2000/
2017.03.29 19:04:00 1: HMCCURPC: RPC callback with URL http://192.168.1.5:7410/fh2000 registered
2017.03.29 19:04:00 1: HMCCURPC: Registering callback http://192.168.1.5:7420/fh2010 with ID CB2010 at http://192.168.1.4:2010/
2017.03.29 19:04:00 1: HMCCURPC: RPC callback with URL http://192.168.1.5:7420/fh2010 registered
2017.03.29 19:04:00 1: HMCCURPC: Registering callback http://192.168.1.5:14702/fh9292 with ID CB9292 at http://192.168.1.4:9292/groups
2017.03.29 19:04:00 2: CCURPC: CB2001 NewDevice received 64 device specifications
2017.03.29 19:04:00 1: CCURPC: CB2010 ListDevices. Sending init to HMCCU
2017.03.29 19:04:00 1: CCURPC: CB9292 ListDevices. Sending init to HMCCU
2017.03.29 19:04:10 1: HMCCURPC: RPC callback with URL http://192.168.1.5:14702/fh9292 registered
2017.03.29 19:04:10 1: HMCCURPC: Received IN event. RPC server CB2001 running.
2017.03.29 19:04:10 1: HMCCURPC: Received IN event. RPC server CB2010 running.
2017.03.29 19:04:10 1: HMCCURPC: Received IN event. RPC server CB9292 running.
2017.03.29 19:04:56 3: netatmo_M06_00_00_02_49_48: poll (MODULE)
2017.03.29 19:04:56 3: netatmo_M06_00_00_02_49_48: requestDeviceReadings (WindStrength,WindAngle,GustStrength,GustAngle)
2017.03.29 19:04:56 2: netatmo_M06_00_00_02_49_48: next dynamic update at 2017-03-29 19:14:59
2017.03.29 19:05:02 3: netatmo_D70_ee_50_20_fb_8e: poll (DEVICE)
2017.03.29 19:05:02 3: netatmo_D70_ee_50_20_fb_8e: requestDeviceReadings (Temperature,CO2,Humidity,Noise,Pressure)
2017.03.29 19:05:02 2: netatmo_D70_ee_50_20_fb_8e: next dynamic update at 2017-03-29 19:15:02
2017.03.29 19:05:40 2: HMCCURPC: Checking if all threads are running
2017.03.29 19:05:40 1: HMCCURPC: Only 4 of 5 threads are running. Cleaning up
2017.03.29 19:05:40 1: HMCCURPC: Housekeeping called. Cleaning up RPC environment
2017.03.29 19:05:40 2: HMCCURPC: Stop I/O handling
2017.03.29 19:05:40 2: HMCCURPC: Close child socket
2017.03.29 19:05:40 2: HMCCURPC: Close parent socket
2017.03.29 19:05:40 2: HMCCURPC: Sending signal INT to thread CB2010 TID=19
2017.03.29 19:05:40 2: HMCCURPC: Sending signal INT to thread CB9292 TID=20
2017.03.29 19:05:40 2: HMCCURPC: Sending signal INT to thread CB2000 TID=18
2017.03.29 19:05:40 2: HMCCURPC: Sending signal INT to thread DATA TID=16
2017.03.29 19:05:40 2: HMCCURPC: Sending signal INT to thread CB2001 TID=17
2017.03.29 19:05:40 2: CCURPC: DATA stopped event processing. TID=16
2017.03.29 19:05:40 2: CCURPC: RPC server CB2001 stopped handling connections. TID=17
2017.03.29 19:05:40 2: CCURPC: RPC server CB2010 stopped handling connections. TID=19
2017.03.29 19:05:40 2: CCURPC: RPC server CB9292 stopped handling connections. TID=20
2017.03.29 19:05:41 2: CCURPC: RPC server CB2000 stopped handling connections. TID=18
2017.03.29 19:05:42 2: HMCCURPC: Thread CB2010 with TID=19 has been stopped. Deleting it
2017.03.29 19:05:42 2: HMCCURPC: Thread CB9292 with TID=20 has been stopped. Deleting it
2017.03.29 19:05:42 2: HMCCURPC: Thread CB2000 with TID=18 has been stopped. Deleting it
2017.03.29 19:05:42 2: HMCCURPC: Thread DATA with TID=16 has been stopped. Deleting it
2017.03.29 19:05:42 2: HMCCURPC: Thread CB2001 with TID=17 has been stopped. Deleting it
2017.03.29 19:05:54 3: Nmap (nmap) - starting network scan
adjust_timeouts2: packet supposedly had rtt of -86725 microseconds.  Ignoring time.
adjust_timeouts2: packet supposedly had rtt of -60241 microseconds.  Ignoring time.
2017.03.29 19:06:05 3: Nmap (nmap) - network scan done
Titel: Antw:HMCCUDEV mit unveränderten Defaults: Fehler " ... Invalid datapoint"
Beitrag von: zap am 29 März 2017, 19:28:18
Ok, es werden nur 3 von 4 RPC-Servern gestartet, daher werden die 3 auch wieder beendet. Der RPC-Server für Wired-Devices kann nicht gestartet werden. Hast Du Wired Devices in der CCU? Falls nicht, bitte diesen Eintrag im I/O Device (Atribut rpcport oder rpcinterface) deaktivieren.

Problem: Wenn Du keine Wired Devices hast, startet die CCU auch keinen Prozess dafür. Daher kann der RPC-Server für Wired nicht auf FHEM Seite gestartet werden.
Titel: Antw:HMCCUDEV mit unveränderten Defaults: Fehler " ... Invalid datapoint"
Beitrag von: supernova1963 am 29 März 2017, 19:53:36
Hat insoweit funktioniert. Status hmccu: running/busy, Status hmccurpc: running/busy.
Kann ich trotzdem "get d_ccu devicelist" aufrufen?


log:

2017.03.29 19:33:28 2: HMCCURPC: Starting thread for data processing
2017.03.29 19:33:29 2: HMCCURPC: Started thread for data processing. TID=21
2017.03.29 19:33:29 2: CCURPC: Thread DATA processing RPC events. TID=21
2017.03.29 19:33:29 2: HMCCURPC: RPC server thread started for interface BidCos-RF with TID=22
2017.03.29 19:33:29 2: CCURPC: Initializing RPC server CB2001 for interface BidCos-RF
2017.03.29 19:33:29 2: HMCCURPC: Callback server CB2001 created. Listening on port 7411
2017.03.29 19:33:29 2: HMCCURPC: Adding callback for events for server CB2001
2017.03.29 19:33:29 2: HMCCURPC: Adding callback for new devices for server CB2001
2017.03.29 19:33:29 2: HMCCURPC: Adding callback for deleted devices for server CB2001
2017.03.29 19:33:29 2: HMCCURPC: Adding callback for modified devices for server CB2001
2017.03.29 19:33:29 2: HMCCURPC: Adding callback for replaced devices for server CB2001
2017.03.29 19:33:29 2: HMCCURPC: Adding callback for readded devices for server CB2001
2017.03.29 19:33:29 2: HMCCURPC: Adding callback for list devices for server CB2001
2017.03.29 19:33:29 2: CCURPC: CB2001 accepting connections. TID=22
2017.03.29 19:33:29 2: HMCCURPC: RPC server thread started for interface HmIP-RF with TID=23
2017.03.29 19:33:29 2: CCURPC: Initializing RPC server CB2010 for interface HmIP-RF
2017.03.29 19:33:29 2: HMCCURPC: Callback server CB2010 created. Listening on port 7420
2017.03.29 19:33:29 2: HMCCURPC: Adding callback for events for server CB2010
2017.03.29 19:33:29 2: HMCCURPC: Adding callback for new devices for server CB2010
2017.03.29 19:33:29 2: HMCCURPC: Adding callback for deleted devices for server CB2010
2017.03.29 19:33:29 2: HMCCURPC: Adding callback for modified devices for server CB2010
2017.03.29 19:33:29 2: HMCCURPC: Adding callback for replaced devices for server CB2010
2017.03.29 19:33:29 2: HMCCURPC: Adding callback for readded devices for server CB2010
2017.03.29 19:33:29 2: HMCCURPC: Adding callback for list devices for server CB2010
2017.03.29 19:33:29 2: CCURPC: CB2010 accepting connections. TID=23
2017.03.29 19:33:29 2: HMCCURPC: RPC server thread started for interface VirtualDevices with TID=24
2017.03.29 19:33:29 2: CCURPC: Initializing RPC server CB9292 for interface VirtualDevices
2017.03.29 19:33:29 2: HMCCURPC: Callback server CB9292 created. Listening on port 14702
2017.03.29 19:33:29 2: HMCCURPC: Adding callback for events for server CB9292
2017.03.29 19:33:29 2: HMCCURPC: Adding callback for new devices for server CB9292
2017.03.29 19:33:29 2: HMCCURPC: Adding callback for deleted devices for server CB9292
2017.03.29 19:33:29 2: HMCCURPC: Adding callback for modified devices for server CB9292
2017.03.29 19:33:29 2: HMCCURPC: Adding callback for replaced devices for server CB9292
2017.03.29 19:33:29 2: HMCCURPC: Adding callback for readded devices for server CB9292
2017.03.29 19:33:29 2: HMCCURPC: Adding callback for list devices for server CB9292
2017.03.29 19:33:29 2: CCURPC: CB9292 accepting connections. TID=24
2017.03.29 19:33:30 1: HMCCURPC: RPC server(s) starting
2017.03.29 19:33:30 1: HMCCURPC: Received SL event. RPC server DATA enters server loop
2017.03.29 19:33:30 1: HMCCURPC: Received SL event. RPC server CB2001 enters server loop
2017.03.29 19:33:30 1: HMCCURPC: Received SL event. RPC server CB2010 enters server loop
2017.03.29 19:33:30 1: HMCCURPC: Received SL event. RPC server CB9292 enters server loop
2017.03.29 19:33:30 1: HMCCURPC: All threads working
2017.03.29 19:33:30 1: HMCCURPC: Registering callback http://192.168.1.5:7411/fh2001 with ID CB2001 at http://192.168.1.4:2001/
2017.03.29 19:33:30 1: CCURPC: CB2001 ListDevices. Sending init to HMCCU
2017.03.29 19:33:30 1: HMCCURPC: RPC callback with URL http://192.168.1.5:7411/fh2001 registered
2017.03.29 19:33:30 1: HMCCURPC: Registering callback http://192.168.1.5:7420/fh2010 with ID CB2010 at http://192.168.1.4:2010/
2017.03.29 19:33:30 1: HMCCURPC: RPC callback with URL http://192.168.1.5:7420/fh2010 registered
2017.03.29 19:33:30 1: HMCCURPC: Registering callback http://192.168.1.5:14702/fh9292 with ID CB9292 at http://192.168.1.4:9292/groups
2017.03.29 19:33:30 2: CCURPC: CB2001 NewDevice received 64 device specifications
2017.03.29 19:33:30 1: CCURPC: CB2010 ListDevices. Sending init to HMCCU
2017.03.29 19:33:30 1: CCURPC: CB9292 ListDevices. Sending init to HMCCU
2017.03.29 19:33:40 1: HMCCURPC: RPC callback with URL http://192.168.1.5:14702/fh9292 registered
2017.03.29 19:33:40 1: HMCCURPC: Received IN event. RPC server CB2001 running.
2017.03.29 19:33:40 1: HMCCURPC: Received IN event. RPC server CB2010 running.
2017.03.29 19:33:40 1: HMCCURPC: Received IN event. RPC server CB9292 running.
2017.03.29 19:33:40 1: HMCCURPC: All RPC servers running
2017.03.29 19:33:40 2: HMCCU: No client devices matching .*
2017.03.29 19:33:40 2: HMCCURPC: Updated devices. Success=0 Failed=0
Titel: Antw:HMCCUDEV mit unveränderten Defaults: Fehler " ... Invalid datapoint"
Beitrag von: zap am 29 März 2017, 20:37:53
ja, das busy ist noch ein Fehler. Mit dem Update morgen verschwindet das. Wenn vorne "running" steht, kannst Du das busy ignorieren.

Titel: Antw:HMCCUDEV mit unveränderten Defaults: Fehler " ... Invalid datapoint"
Beitrag von: supernova1963 am 29 März 2017, 21:18:06
Nachdem ich get devicelist aufgerufen habe, ist der status auf running/OK umgesprungen.

Leider hat das Alles nichts gebracht. Ich stehe wieder auf dem Stand von gestern und vorgestern.
Selbst der Aufruf get HM_03_DimmerDeckenleuchten_DEV1 devstate funktioniert nicht.


2017.03.29 21:13:39 1: HMCCUDEV: HM_03_DimmerDeckenleuchten_DEV1 Invalid datapoint


Keine Ahnung, was ich noch machen kann oder soll,

Gernot
Titel: Antw:HMCCUDEV mit unveränderten Defaults: Fehler " ... Invalid datapoint"
Beitrag von: zap am 29 März 2017, 21:33:03
Mach mal bitte folgendes:


attr HM_03_DimmerDeckenleuchten_DEV1 ccuflags trace


Alternativ über die FHEM Oberfläche das Attribut ccuflags auf trace setzen.
Dann den Befehl nochmal ausführen.
Dann die Logausgabe bitte.
Titel: Antw:HMCCUDEV mit unveränderten Defaults: Fehler " ... Invalid datapoint"
Beitrag von: supernova1963 am 29 März 2017, 21:42:31
Hab' ich gemacht, aber ...


2017.03.29 21:41:01 1: HMCCUDEV: HM_03_DimmerDeckenleuchten_DEV1 Invalid datapoint
Titel: Antw:HMCCUDEV mit unveränderten Defaults: Fehler " ... Invalid datapoint"
Beitrag von: supernova1963 am 29 März 2017, 22:34:46
Ich habe mal das  System neu gestartet.

Hier das log:

2017.03.29 22:20:58 0: Server shutdown
2017.03.29 22:20:58 1: HMCCURPC: Found 4 threads. Stopping ...
2017.03.29 22:20:58 1: HMCCURPC: Deregistering RPC server http://192.168.1.5:7420/fh2010 with ID CB2010 at http://192.168.1.4:2010/
2017.03.29 22:20:58 1: HMCCURPC: RPC callback for server CB2010 deregistered
2017.03.29 22:20:58 1: HMCCURPC: Deregistering RPC server http://192.168.1.5:14702/fh9292 with ID CB9292 at http://192.168.1.4:9292/groups
2017.03.29 22:20:58 1: HMCCURPC: RPC callback for server CB9292 deregistered
2017.03.29 22:20:58 1: HMCCURPC: Deregistering RPC server http://192.168.1.5:7411/fh2001 with ID CB2001 at http://192.168.1.4:2001/
2017.03.29 22:20:58 1: HMCCURPC: RPC callback for server CB2001 deregistered
2017.03.29 22:20:58 2: HMCCURPC: Sending signal INT to thread CB2010 TID=3
2017.03.29 22:20:58 2: HMCCURPC: Sending signal INT to thread CB9292 TID=4
2017.03.29 22:20:58 2: HMCCURPC: Sending signal INT to thread CB2001 TID=2
2017.03.29 22:20:59 2: CCURPC: RPC server CB9292 stopped handling connections. TID=4
2017.03.29 22:20:59 2: CCURPC: RPC server CB2010 stopped handling connections. TID=3
2017.03.29 22:20:59 2: CCURPC: RPC server CB2001 stopped handling connections. TID=2
2017.03.29 22:20:59 1: HMCCURPC: Found 1 threads. Stopping ...
2017.03.29 22:21:02 1: Including fhem.cfg
2017.03.29 22:21:02 1: telnetPort: Can't open server port at 7072: Address already in use. Exiting.
2017.03.29 22:28:26 1: Including fhem.cfg
2017.03.29 22:28:26 3: telnetPort: port 7072 opened
2017.03.29 22:28:27 3: WEB: port 8083 opened
2017.03.29 22:28:27 3: WEBphone: port 8084 opened
2017.03.29 22:28:27 3: WEBtablet: port 8085 opened
2017.03.29 22:28:27 2: eventTypes: loaded 2721 events from ./log/eventTypes.txt
2017.03.29 22:28:27 3: DbLog logdb: Creating Push-Handle to database mysql:database=fhem;host=localhost;port=3306 with user fhem
2017.03.29 22:28:27 3: DbLog logdb: Push-Handle to db mysql:database=fhem;host=localhost;port=3306 created
2017.03.29 22:28:28 3: Wetterstation: encrypt crypt:045c410b57431a47521376525d075e0e4a01575b/crypt:26575400545f554757120503 to crypt:045c410b57431a47521376525d075e0e4a01575b/crypt:26575400545f554757120503
2017.03.29 22:28:28 1: PERL WARNING: Constant subroutine main::SHIFT redefined at /usr/share/perl/5.22/constant.pm line 171, <$fh> line 252.
2017.03.29 22:28:28 3: TS.Mortsiefer: Defined with URL http://www.clever-tanken.de/tankstelle_details/15953 and interval 600
2017.03.29 22:28:28 3: TS.JaegerWiehl: Defined with URL http://www.clever-tanken.de/tankstelle_details/1685 and interval 600
2017.03.29 22:28:28 3: TS.MundorfWaldbroel: Defined with URL http://www.clever-tanken.de/tankstelle_details/46249 and interval 600
2017.03.29 22:28:28 2: ESPEasy espBridge: Opening bridge on port tcp/8383 (v1)
2017.03.29 22:28:28 3: espBridge: port 8383 opened
2017.03.29 22:28:29 3: Opening miniCUL device /dev/serial/by-id/usb-Silicon_Labs_CP2102_USB_to_UART_Bridge_Controller_0001-if00-port0
2017.03.29 22:28:29 3: Can't open /dev/serial/by-id/usb-Silicon_Labs_CP2102_USB_to_UART_Bridge_Controller_0001-if00-port0: No such file or directory
2017.03.29 22:28:29 1: HMCCU: Initialized version 3.9.010. Updating devices from 192.168.1.4
2017.03.29 22:28:29 1: Including ./log/fhem.save
2017.03.29 22:28:29 3: WARNING: unsupported character in reading * (not A-Za-z/\d_\.-), notify the dummy module maintainer.
2017.03.29 22:28:29 3: WARNING: unsupported character in reading * (not A-Za-z/\d_\.-), notify the dummy module maintainer.
2017.03.29 22:28:29 3: FIRMATA: port 3030 opened
2017.03.29 22:28:29 3: FR: ssdp responder started
2017.03.29 22:28:29 3: FR: listener started
2017.03.29 22:28:29 3: Opening MyBroker device 192.168.1.5:1883
2017.03.29 22:28:29 3: MyBroker device opened
2017.03.29 22:28:29 3: PLEX: restoring token from reading
2017.03.29 22:28:29 3: PLEX: multicast server discovery started
2017.03.29 22:28:29 3: PLEX: broadcast server discovery started
2017.03.29 22:28:29 3: PLEX: multicast client discovery started
2017.03.29 22:28:29 3: PLEX: broadcast client discovery started
2017.03.29 22:28:29 3: PLEX: pht client discovery started
2017.03.29 22:28:29 3: PLEX: timeline listener started
2017.03.29 22:28:30 3: Wetterstation: refreshing token
2017.03.29 22:28:30 3: Wetterstation getDevices (devicelist)
2017.03.29 22:28:30 0: HMCCU: Start of RPC server after FHEM initialization in 12 seconds
2017.03.29 22:28:30 1: usb create starting
2017.03.29 22:28:31 1: usb create end
2017.03.29 22:28:31 3: Opening mqtt device 192.168.1.10:1883
2017.03.29 22:28:31 3: mqtt device opened
2017.03.29 22:28:31 3: netatmo_D70_ee_50_20_fb_8e: I/O device is Wetterstation
2017.03.29 22:28:31 3: Wetterstation: refreshing token
2017.03.29 22:28:31 3: Wetterstation getDevices (devicelist)
2017.03.29 22:28:31 3: Wetterstation getHomecoachs (homecoachlist)
2017.03.29 22:28:32 3: netatmo_M02_00_00_20_b7_9c: I/O device is Wetterstation
2017.03.29 22:28:32 3: netatmo_M06_00_00_02_49_48: I/O device is Wetterstation
2017.03.29 22:28:32 1: PERL WARNING: Use of uninitialized value $ipV4 in rindex at ./FHEM/99_myUtils.pm line 33.
2017.03.29 22:28:32 1: PERL WARNING: Use of uninitialized value $ipV4 in substr at ./FHEM/99_myUtils.pm line 33.
2017.03.29 22:28:32 0: Featurelevel: 5.8
2017.03.29 22:28:32 0: Server started with 152 defined entities (fhem.pl:13828/2017-03-28 perl:5.022001 os:linux user:fhem pid:1114)
2017.03.29 22:28:32 3: telnetForBlockingFn_1490819312: port 39501 opened
2017.03.29 22:28:32 3: ABFALL_UPDATE
2017.03.29 22:28:33 3: CALVIEW Abfuhrtermine - CALENDAR:Abfallkalender triggered, updating CALVIEW Abfuhrtermine ...
2017.03.29 22:28:33 3: ABFALL myAbfall - CALENDAR:Abfallkalender triggered, updating ABFALL myAbfall ...
2017.03.29 22:28:33 3: ABFALL_UPDATE
2017.03.29 22:28:36 2: 32_HauptschalterFunktion:     save config    set ESPEasy_Terrassensteuerung_Relais_2_Licht check: Wrote configuration to config    set ESPEasy_Terrassensteuerung_Relais_2_Licht check
2017.03.29 22:28:36 3: ESPEasy ESPEasy_Terrassensteuerung_Relais_3_Markise: set ESPEasy_Terrassensteuerung_Relais_3_Markise status gpio 5
2017.03.29 22:28:36 3: ESPEasy ESPEasy_Terrassensteuerung_Relais_4_Markise: set ESPEasy_Terrassensteuerung_Relais_4_Markise status gpio 4
2017.03.29 22:28:36 2: 32_HauptschalterFunktion:        save config: Wrote configuration to config
2017.03.29 22:28:38 3: ESPEasy ESPEasy_Terrassensteuerung_Relais_3_Markise: set ESPEasy_Terrassensteuerung_Relais_3_Markise gpio 5 on
2017.03.29 22:28:38 3: ESPEasy ESPEasy_Terrassensteuerung_Relais_4_Markise: set ESPEasy_Terrassensteuerung_Relais_4_Markise gpio 4 on
2017.03.29 22:28:38 3: ESPEasy ESPEasy_Terrassensteuerung_Relais_2_Licht: set ESPEasy_Terrassensteuerung_Relais_2_Licht gpio 16 on
2017.03.29 22:28:38 3: ESPEasy ESPEasy_Terrassensteuerung_Relais_2_Licht: Device disabled
2017.03.29 22:28:38 3: ESPEasy ESPEasy_Terrassensteuerung_Relais_2_Licht: Readings [state] wiped out
2017.03.29 22:28:38 3: ESPEasy ESPEasy_Terrassensteuerung_Relais_3_Markise: Device disabled
2017.03.29 22:28:38 3: ESPEasy ESPEasy_Terrassensteuerung_Relais_3_Markise: Readings [presence,GPIO5,GPIO5_mode,state] wiped out
2017.03.29 22:28:38 3: ESPEasy ESPEasy_Terrassensteuerung_Relais_4_Markise: Device disabled
2017.03.29 22:28:38 3: ESPEasy ESPEasy_Terrassensteuerung_Relais_4_Markise: Readings [state] wiped out
2017.03.29 22:28:38 2: 32_HauptschalterFunktion:     save config: Wrote configuration to config
2017.03.29 22:28:41 3: UWZ Unwetterzentrale: Run.964 Done fetching data
2017.03.29 22:28:42 2: HMCCURPC: Starting thread for data processing
2017.03.29 22:28:43 2: HMCCURPC: Started thread for data processing. TID=1
2017.03.29 22:28:43 2: CCURPC: Thread DATA processing RPC events. TID=1
2017.03.29 22:28:43 2: HMCCURPC: RPC server thread started for interface BidCos-RF with TID=2
2017.03.29 22:28:43 2: CCURPC: Initializing RPC server CB2001 for interface BidCos-RF
2017.03.29 22:28:43 2: HMCCURPC: Callback server CB2001 created. Listening on port 7411
2017.03.29 22:28:43 2: HMCCURPC: Adding callback for events for server CB2001
2017.03.29 22:28:43 2: HMCCURPC: Adding callback for new devices for server CB2001
2017.03.29 22:28:43 2: HMCCURPC: Adding callback for deleted devices for server CB2001
2017.03.29 22:28:43 2: HMCCURPC: Adding callback for modified devices for server CB2001
2017.03.29 22:28:43 2: HMCCURPC: Adding callback for replaced devices for server CB2001
2017.03.29 22:28:43 2: HMCCURPC: Adding callback for readded devices for server CB2001
2017.03.29 22:28:43 2: HMCCURPC: Adding callback for list devices for server CB2001
2017.03.29 22:28:43 2: CCURPC: CB2001 accepting connections. TID=2
2017.03.29 22:28:43 2: HMCCURPC: RPC server thread started for interface HmIP-RF with TID=3
2017.03.29 22:28:43 2: CCURPC: Initializing RPC server CB2010 for interface HmIP-RF
2017.03.29 22:28:43 2: HMCCURPC: Callback server CB2010 created. Listening on port 7420
2017.03.29 22:28:43 2: HMCCURPC: Adding callback for events for server CB2010
2017.03.29 22:28:43 2: HMCCURPC: Adding callback for new devices for server CB2010
2017.03.29 22:28:43 2: HMCCURPC: Adding callback for deleted devices for server CB2010
2017.03.29 22:28:43 2: HMCCURPC: Adding callback for modified devices for server CB2010
2017.03.29 22:28:43 2: HMCCURPC: Adding callback for replaced devices for server CB2010
2017.03.29 22:28:43 2: HMCCURPC: Adding callback for readded devices for server CB2010
2017.03.29 22:28:43 2: HMCCURPC: Adding callback for list devices for server CB2010
2017.03.29 22:28:43 2: CCURPC: CB2010 accepting connections. TID=3
2017.03.29 22:28:43 2: HMCCURPC: RPC server thread started for interface VirtualDevices with TID=4
2017.03.29 22:28:43 2: CCURPC: Initializing RPC server CB9292 for interface VirtualDevices
2017.03.29 22:28:43 2: HMCCURPC: Callback server CB9292 created. Listening on port 14702
2017.03.29 22:28:43 2: HMCCURPC: Adding callback for events for server CB9292
2017.03.29 22:28:43 2: HMCCURPC: Adding callback for new devices for server CB9292
2017.03.29 22:28:43 2: HMCCURPC: Adding callback for deleted devices for server CB9292
2017.03.29 22:28:43 2: HMCCURPC: Adding callback for modified devices for server CB9292
2017.03.29 22:28:43 2: HMCCURPC: Adding callback for replaced devices for server CB9292
2017.03.29 22:28:43 2: HMCCURPC: Adding callback for readded devices for server CB9292
2017.03.29 22:28:43 2: HMCCURPC: Adding callback for list devices for server CB9292
2017.03.29 22:28:43 2: CCURPC: CB9292 accepting connections. TID=4
2017.03.29 22:28:44 1: HMCCURPC: RPC server(s) starting
2017.03.29 22:28:44 1: HMCCURPC: Received SL event. RPC server DATA enters server loop
2017.03.29 22:28:44 1: HMCCURPC: Received SL event. RPC server CB2001 enters server loop
2017.03.29 22:28:44 1: HMCCURPC: Received SL event. RPC server CB2010 enters server loop
2017.03.29 22:28:44 1: HMCCURPC: Received SL event. RPC server CB9292 enters server loop
2017.03.29 22:28:44 1: HMCCURPC: All threads working
2017.03.29 22:28:44 1: HMCCURPC: Registering callback http://192.168.1.5:7411/fh2001 with ID CB2001 at http://192.168.1.4:2001/
2017.03.29 22:28:44 1: CCURPC: CB2001 ListDevices. Sending init to HMCCU
2017.03.29 22:28:44 1: HMCCURPC: RPC callback with URL http://192.168.1.5:7411/fh2001 registered
2017.03.29 22:28:44 1: HMCCURPC: Registering callback http://192.168.1.5:7420/fh2010 with ID CB2010 at http://192.168.1.4:2010/
2017.03.29 22:28:44 1: HMCCURPC: RPC callback with URL http://192.168.1.5:7420/fh2010 registered
2017.03.29 22:28:44 1: HMCCURPC: Registering callback http://192.168.1.5:14702/fh9292 with ID CB9292 at http://192.168.1.4:9292/groups
2017.03.29 22:28:44 2: CCURPC: CB2001 NewDevice received 64 device specifications
2017.03.29 22:28:44 1: CCURPC: CB2010 ListDevices. Sending init to HMCCU
2017.03.29 22:28:44 1: CCURPC: CB9292 ListDevices. Sending init to HMCCU
2017.03.29 22:28:54 1: HMCCURPC: RPC callback with URL http://192.168.1.5:14702/fh9292 registered
2017.03.29 22:28:54 1: HMCCURPC: Received IN event. RPC server CB2001 running.
2017.03.29 22:28:54 1: HMCCURPC: Received IN event. RPC server CB2010 running.
2017.03.29 22:28:54 1: HMCCURPC: Received IN event. RPC server CB9292 running.
2017.03.29 22:28:54 1: HMCCURPC: All RPC servers running
2017.03.29 22:28:54 3: HMCCU: Device NEQ0948654 has no readable datapoints
2017.03.29 22:28:54 2: HMCCU: Addr=NEQ1143221 Name=03_DimmerDeckenleuchten_DEV1
2017.03.29 22:28:54 2: HMCCU: Script response =
0

2017.03.29 22:28:54 2: HMCCU: Script =

string chnid;
string sDPId;
string sDevName;
string sDevList = "03_DimmerDeckenleuchten_DEV1";
integer c = 0;
foreach (sDevName, sDevList.Split(",")) {
  object odev = dom.GetObject (sDevName);
  if (odev) {
    foreach (chnid, odev.Channels()) {
   object ochn = dom.GetObject(chnid);
      if (ochn) {
  foreach(sDPId, ochn.DPs()) {
    object oDP = dom.GetObject(sDPId);
          if (oDP) {
            if (OPERATION_READ & oDP.Operations()) {
              WriteLine (ochn.Name() # "=" # oDP.Name() # "=" # oDP.Value());
              c = c+1;
            }
          }
        }
      }
    }
  }
}
WriteLine (c);

2017.03.29 22:28:54 3: HMCCU: Device NEQ1143221 has no readable datapoints
2017.03.29 22:28:54 3: HMCCU: Device NEQ1770358 has no readable datapoints
2017.03.29 22:28:54 2: HMCCURPC: Updated devices. Success=1 Failed=3
2017.03.29 22:29:28 2: FR: unhandled request: GET /ecp_SCPD.xml HTTP/1.1
Host: 192.168.1.5:37421
User-Agent: FSL DLNADOC/1.50 UPnP Stack/1.0


2017.03.29 22:30:00 3: Wetterstation: poll (ACCOUNT)
2017.03.29 22:30:02 3: netatmo_D70_ee_50_20_fb_8e: poll (DEVICE)
2017.03.29 22:30:02 3: netatmo_D70_ee_50_20_fb_8e: requestDeviceReadings (Temperature,CO2,Humidity,Noise,Pressure)
2017.03.29 22:30:02 3: netatmo_M02_00_00_20_b7_9c: poll (MODULE)
2017.03.29 22:30:02 3: netatmo_M02_00_00_20_b7_9c: requestDeviceReadings (Temperature,Humidity)
2017.03.29 22:30:02 3: netatmo_M06_00_00_02_49_48: poll (MODULE)
2017.03.29 22:30:02 3: netatmo_M06_00_00_02_49_48: requestDeviceReadings (WindStrength,WindAngle,GustStrength,GustAngle)
2017.03.29 22:30:03 2: netatmo_D70_ee_50_20_fb_8e: next dynamic update at 2017-03-29 22:32:38
fhem@SERVERFHEM:~$

Titel: [gelöst]HMCCUDEV mit unveränderten Defaults: Fehler " ... Invalid datapoint"
Beitrag von: supernova1963 am 30 März 2017, 07:49:27
Guten morgen, ich schon wieder.
Diesesmal mit einer positiveren Nachricht:

Was habe ich gelernt: Das Dimmer funktioniert über das CHN-Device!

Vielen lieben Dank an zap für deine Unterstützung. Nur weil du nicht aufgegeben hast, habe ich weiter gemacht. Das Modul ist, insbesondere mit dem viel schnelleren HMCCURPC, Spitzenklasse.

Gernot


P.S.: Als nächstes werde ich den Namen in der WebUI wieder zurück ändern.  So funktioniert es:


defmod HM_03_DimmerDeckenleuchten_DEV1CHN01 HMCCUCHN NEQ1143221:1
attr HM_03_DimmerDeckenleuchten_DEV1CHN01 IODev d_ccu
attr HM_03_DimmerDeckenleuchten_DEV1CHN01 ccureadingfilter (^LEVEL$|DIRECTION)
attr HM_03_DimmerDeckenleuchten_DEV1CHN01 ccuscaleval LEVEL:0:1:0:100
attr HM_03_DimmerDeckenleuchten_DEV1CHN01 cmdIcon on:general_an off:general_aus
attr HM_03_DimmerDeckenleuchten_DEV1CHN01 controldatapoint LEVEL
attr HM_03_DimmerDeckenleuchten_DEV1CHN01 hmstatevals ERROR_REDUCED!1:error_reduced;;ERROR_OVERHEAT!1:error_overheat;;ERROR_OVERLOAD!1:error_overload
attr HM_03_DimmerDeckenleuchten_DEV1CHN01 room Homematic
attr HM_03_DimmerDeckenleuchten_DEV1CHN01 statedatapoint LEVEL
attr HM_03_DimmerDeckenleuchten_DEV1CHN01 statevals on:100,off:0
attr HM_03_DimmerDeckenleuchten_DEV1CHN01 stripnumber 1
attr HM_03_DimmerDeckenleuchten_DEV1CHN01 substexcl control
attr HM_03_DimmerDeckenleuchten_DEV1CHN01 substitute ERROR_OVERHEAT,ERROR_OVERLOAD,ERROR_REDUCED!(0|false):no,(1|true):yes;;LEVEL!#0-0:off,#1-100:on;;DIRECTION!0:none,1:up,2:down,3:undefined
attr HM_03_DimmerDeckenleuchten_DEV1CHN01 webCmd control:on:off
attr HM_03_DimmerDeckenleuchten_DEV1CHN01 widgetOverride control:slider,0,10,100

setstate HM_03_DimmerDeckenleuchten_DEV1CHN01 off
setstate HM_03_DimmerDeckenleuchten_DEV1CHN01 2017-03-30 07:38:19 1.DIRECTION none
setstate HM_03_DimmerDeckenleuchten_DEV1CHN01 2017-03-30 07:27:11 1.ERROR_OVERHEAT 0
setstate HM_03_DimmerDeckenleuchten_DEV1CHN01 2017-03-30 07:27:11 1.ERROR_OVERLOAD 0
setstate HM_03_DimmerDeckenleuchten_DEV1CHN01 2017-03-30 07:27:11 1.ERROR_REDUCED 0
setstate HM_03_DimmerDeckenleuchten_DEV1CHN01 2017-03-30 07:38:19 1.LEVEL off
setstate HM_03_DimmerDeckenleuchten_DEV1CHN01 2017-03-30 07:27:11 1.LEVEL_REAL 0.200000
setstate HM_03_DimmerDeckenleuchten_DEV1CHN01 2017-03-30 07:27:11 1.WORKING 0
setstate HM_03_DimmerDeckenleuchten_DEV1CHN01 2017-03-30 07:38:19 control 0
setstate HM_03_DimmerDeckenleuchten_DEV1CHN01 2017-03-30 07:38:19 hmstate off
setstate HM_03_DimmerDeckenleuchten_DEV1CHN01 2017-03-30 07:38:19 state off


Titel: Antw:[Gelöst]HMCCUDEV mit unveränderten Defaults: Fehler " ... Invalid datapoint"
Beitrag von: supernova1963 am 30 März 2017, 14:41:55
Hallo nochmal,

Zunächst: Es funktioniert alles.

Nur zur Information:

Unsicher bzw. offen verbleibt bei mir:

Vielleicht hilft's einem bei der Fehlersuche,

Gernot
Titel: Antw:[Gelöst]HMCCUDEV mit unveränderten Defaults: Fehler " ... Invalid datapoint"
Beitrag von: zap am 30 März 2017, 19:10:10
Danke für die Hinweise. Ich schaue mir die einzelnen Punkte an.

Was meinst Du mit "Verwendung gesicherter Übertragungsmodus"? Wenn Du für ein Gerät in der CCU das AES Flag setzt (sofern es eins gibt), dann wird das auch verwendet. Das hat mit HMCCU nichts zu tun.
Titel: Antw:[Gelöst]HMCCUDEV mit unveränderten Defaults: Fehler " ... Invalid datapoint"
Beitrag von: supernova1963 am 31 März 2017, 11:45:36
Sorry, hab's gerade probiert. AES Verschlüsselung funktioniert!
Ich streiche es durch.

Gernot