HMCCU: Version 4.3 verfügbar

Begonnen von zap, 11 September 2018, 10:40:03

Vorheriges Thema - Nächstes Thema

Jamo

Hallo zap,
habe gerade das Update gemacht, alles prima, erste Sahne. Ein grosses DANKE!
Bullseye auf iNUC, Homematic + HMIP(UART/HMUSB), Debmatic, HUEBridge, Zigbee/ConbeeII, FB, Alexa (fhem-lazy), Livetracking, LaCrosse JeeLink, LoRaWan / TTN / Chirpstack

PatrickR

Liest sich großartig. Werde morgen regulär updaten. Danke!
lepresenced - Tracking von Bluetooth-LE-Tags (Gigaset G-Tag) mittels PRESENCE

"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning." - Rich Cook

zap

Das heutige Update der Module 88_HMCCU und 88_HMCCURPCPROC behebt (hoffentlich) folgende Probleme:


  • In seltenen Fällen wurden Datenpunkt-Namen in Nicht-FHEM-konforme Readingnames umgewandelt
  • Der RPC-Server unterstützt nun auch CCUs (RasperryMatic) mit ausschließlich HmIP Geräten. In diesem Fall wird HmIP-RF zum Default-Interface statt wie bisher BidCos-RF

2xCCU3, Fenster, Rollläden, Themostate, Stromzähler, Steckdosen ...)
Entwicklung: FHEM auf AMD NUC (Ubuntu)
Produktiv inzwischen auf Home Assistant gewechselt.
Maintainer: FULLY, Meteohub, HMCCU, AndroidDB

Jamo

#153
Hallo Zap,
habs mir aus dem SVN geladen. Ich habe eine CCU3, die ausschliesslich mit HmIP Komponenten läuft.
Als default wird aber weiterhin das BisCos-RF Interface gestartet. Habe jetzt 2x ein re-start gemacht (als auch fhem shutdown restart).
Als ich habe nur HmIP-RF als rpcinterfaces gesetzt ->  attr rpcinterfaces HmIP-RF

Ist das wegen der "virtuelle Fernbedienung" (bzw. deren ,,Tasten") die in der CCU vorhanden sind?

Siehe listing:
Internals:
   CCUNum     1
   Clients    :HMCCUDEV:HMCCUCHN:HMCCURPC:HMCCURPCPROC:
   DEF        xxx.xxx.xxx.xxx
   NAME       HMCCU3
   NOTIFYDEV  global,TYPE=(HMCCU|HMCCUDEV|HMCCUCHN)
   NR         4281
   NTFY_ORDER 50-HMCCU3
   RPCState   running
   STATE      running/OK
   TYPE       HMCCU
   ccuaddr    BidCoS-RF
   ccuchannels 103
   ccudevices 14
   ccuif      BidCos-RF
   ccuinterfaces HmIP-RF,BidCos-RF,VirtualDevices
   ccuip      xxx.xxx.xxx.xxx
   ccuname    HM-RCV-50 BidCoS-RF
   ccustate   active
   ccutype    CCU2/3
   host       xxx.xxx.xxx.xxx
   version    4.3.010
   READINGS:
     2019-01-14 21:32:40   count_channels  103
     2019-01-14 21:32:40   count_devices   14
     2019-01-14 21:32:40   count_groups    0
     2019-01-14 21:32:40   count_interfaces 3
     2019-01-14 21:32:40   count_programs  11
     2019-01-14 21:46:51   rpcstate        running
     2019-01-14 21:46:52   state           OK
   hmccu:
     defInterface BidCos-RF
     defPort    2001
     evtime     0
     evtimeout  0
     rpccount   0
     rpcports   2010
     updatetime 0
     adr:
       HM-RCV-50 BidCoS-RF:
         address    BidCoS-RF
         addtype    dev
         valid      1
       HM-RCV-50 BidCoS-RF:0:
         address    BidCoS-RF:0
         addtype    chn
         valid      1
       HM-RCV-50 BidCoS-RF:1:
         address    BidCoS-RF:1
         addtype    chn
         valid      1
       HM-RCV-50 BidCoS-RF:10:
         address    BidCoS-RF:10
         addtype    chn
         valid      1
       HM-RCV-50 BidCoS-RF:11:
         address    BidCoS-RF:11
         addtype    chn
         valid      1
       HM-RCV-50 BidCoS-RF:12:
         address    BidCoS-RF:12
         addtype    chn
         valid      1
       HM-RCV-50 BidCoS-RF:13:
         address    BidCoS-RF:13
         addtype    chn
         valid      1
       HM-RCV-50 BidCoS-RF:14:
         address    BidCoS-RF:14
         addtype    chn
         valid      1
       HM-RCV-50 BidCoS-RF:15:
         address    BidCoS-RF:15
         addtype    chn
         valid      1
       HM-RCV-50 BidCoS-RF:16:
         address    BidCoS-RF:16
         addtype    chn
         valid      1
  ....
       HM-RCV-50 BidCoS-RF:9:
         address    BidCoS-RF:9
         addtype    chn
         valid      1
       HMIP-PSM 0001D3C98DD677:1:
         address    0001D3C98DD677:1
         addtype    chn
         valid      1
       HMIP-PSM 0001D3C98DD677:2:
         address    0001D3C98DD677:2
         addtype    chn
         valid      1
       HMIP-PSM 0001D3C98DD677:3:
         address    0001D3C98DD677:3
         addtype    chn
         valid      1
       HMIP-PSM 0001D3C98DD677:4:
         address    0001D3C98DD677:4
         addtype    chn
         valid      1
       HMIP-PSM 0001D3C98DD677:5:
         address    0001D3C98DD677:5
         addtype    chn
         valid      1
       HMIP-PSM 0001D3C98DD677:6:
         address    0001D3C98DD677:6
         addtype    chn
         valid      1
       HMIP-PSM 0001D3C98DD677:7:
         address    0001D3C98DD677:7
         addtype    chn
         valid      1
       HMIP-PSM 0001D3C98DD677:8:
         address    0001D3C98DD677:8
         addtype    chn
         valid      1
       HMIP-PSM 0001D709903D2D:1:
         address    0001D709903D2D:1
         addtype    chn
         valid      1
       HMIP-PSM 0001D709903D2D:2:
         address    0001D709903D2D:2
         addtype    chn
         valid      1
       HMIP-PSM 0001D709903D2D:3:
         address    0001D709903D2D:3
         addtype    chn
         valid      1
       HMIP-PSM 0001D709903D2D:4:
         address    0001D709903D2D:4
         addtype    chn
         valid      1
...
       HmIP-SPI04:
         address    000C170999F4E9
         addtype    dev
         valid      1
       HmIP-SPI04:0:
         address    000C170999F4E9:0
         addtype    chn
         valid      1
     agg:
     ccu:
       chncount   103
       delay      180
       delayed    0
       devcount   14
       gcount     0
       ifcount    3
       prgcount   11
       timeout    1
     dev:
       0000D3C9934A2B:
         addtype    dev
         channels   2
         chndir     0
         firmware   1.12.2
         interface  HmIP-RF
         name       HMIP-SWDO01
         rxmode     4
         type       HMIP-SWDO
         valid      1
         version    1
       0000D3C9934A2B:0:
         addtype    chn
         channels   1
         chndir     0
         name       HMIP-SWDO01:0
         usetype    MAINTENANCE
         valid      1
         version    1
       0000D3C9934A2B:1:
         addtype    chn
         channels   1
         chndir     1
         name       HMIP-SWDO01:1
         usetype    SHUTTER_CONTACT
         valid      1
         version    1
  ....
       0014D8A98A1714:3:
         addtype    chn
         channels   1
         chndir     1
         name       HmIP-SMI55 0014D8A98A1714:3
         usetype    MOTIONDETECTOR_TRANSCEIVER
         valid      1
         version    1
       0014D8A98A1714:4:
         addtype    chn
         channels   1
         chndir     2
         name       HmIP-SMI55 0014D8A98A1714:4
         usetype    STATE_RESET_RECEIVER
         valid      1
         version    1
       BidCoS-RF:
         addtype    dev
         channels   51
         chndir     0
         firmware   3.41.11
         interface  BidCos-RF
         name       HM-RCV-50 BidCoS-RF
         rxmode     1
         type       HM-RCV-50
         valid      1
         version    6
       BidCoS-RF:0:
         addtype    chn
         channels   1
         chndir     0
         name       HM-RCV-50 BidCoS-RF:0
         usetype    MAINTENANCE
         valid      1
         version    6
....
       BidCoS-RF:9:
         addtype    chn
         channels   1
         chndir     1
         name       HM-RCV-50 BidCoS-RF:9
         usetype    VIRTUAL_KEY
         valid      1
         version    6
     dp:
       HM-RCV-50:
         ch:
           0:
             INSTALL_MODE:
               oper       3
               type       2
           1:
             LEVEL:
               oper       2
               type       6
             PRESS_LONG:
               oper       6
               type       2
             PRESS_SHORT:
               oper       6
               type       2
...
           8:
             LEVEL:
               oper       2
               type       6
             PRESS_LONG:
               oper       6
               type       2
             PRESS_SHORT:
               oper       6
               type       2
           9:
             LEVEL:
               oper       2
               type       6
             PRESS_LONG:
               oper       6
               type       2
             PRESS_SHORT:
               oper       6
               type       2
         cnt:
           INSTALL_MODE 1
           LEVEL      50
           PRESS_LONG 50
           PRESS_SHORT 50
         spc:
           level      50.LEVEL
       HMIP-PSM:
         ch:
           0:
             ACTUAL_TEMPERATURE:
               oper       5
               type       4
             CONFIG_PENDING:
               oper       5
               type       2
             DUTY_CYCLE:
               oper       5
               type       2
             ERROR_CODE:
               oper       5
               type       8
             ERROR_OVERHEAT:
               oper       5
               type       2
             OPERATING_VOLTAGE:
               oper       5
               type       4
             RSSI_DEVICE:
               oper       5
               type       8
             RSSI_PEER:
               oper       5
               type       8
             UNREACH:
               oper       5
               type       2
             UPDATE_PENDING:
               oper       5
               type       2
           1:
             PRESS_LONG:
               oper       4
               type       2
             PRESS_SHORT:
               oper       4
               type       2
  ...
           8:
             WEEK_PROGRAM_CHANNEL_LOCKS:
               oper       5
               type       16
             WEEK_PROGRAM_TARGET_CHANNEL_LOCK:
               oper       2
               type       16
             WEEK_PROGRAM_TARGET_CHANNEL_LOCKS:
               oper       2
               type       16
         cnt:
           ACTUAL_TEMPERATURE 1
           CONFIG_PENDING 1
           CURRENT    1
           DUTY_CYCLE 1
           ENERGY_COUNTER 1
           ENERGY_COUNTER_OVERFLOW 1
           ERROR_CODE 1
           ERROR_OVERHEAT 1
           FREQUENCY  1
           ON_TIME    3
           OPERATING_VOLTAGE 1
           POWER      1
           PRESS_LONG 1
           PRESS_SHORT 1
           PROCESS    4
           RSSI_DEVICE 1
           RSSI_PEER  1
           SECTION    4
           STATE      4
           UNREACH    1
           UPDATE_PENDING 1
           VOLTAGE    1
           WEEK_PROGRAM_CHANNEL_LOCKS 1
           WEEK_PROGRAM_TARGET_CHANNEL_LOCK 1
           WEEK_PROGRAM_TARGET_CHANNEL_LOCKS 1
         spc:
           ontime     5.ON_TIME
       HMIP-SWDO:
         ch:
           0:
             CONFIG_PENDING:
               oper       5
               type       2
             DUTY_CYCLE:
               oper       5
               type       2
             ERROR_CODE:
               oper       5
               type       8
             LOW_BAT:
               oper       5
               type       2
             OPERATING_VOLTAGE:
               oper       5
               type       4
             RSSI_DEVICE:
               oper       5
               type       8
             RSSI_PEER:
               oper       5
               type       8
             SABOTAGE:
               oper       5
               type       2
             UNREACH:
               oper       5
               type       2
             UPDATE_PENDING:
               oper       5
               type       2
           1:
             STATE:
               oper       5
               type       16
         cnt:
           CONFIG_PENDING 1
           DUTY_CYCLE 1
           ERROR_CODE 1
           LOW_BAT    1
           OPERATING_VOLTAGE 1
           RSSI_DEVICE 1
           RSSI_PEER  1
           SABOTAGE   1
           STATE      1
           UNREACH    1
           UPDATE_PENDING 1
       HmIP-SLO:
         ch:
           0:
             CONFIG_PENDING:
               oper       5
               type       2
             DUTY_CYCLE:
               oper       5
               type       2
             INSTALL_TEST:
               oper       3
               type       2
             LOW_BAT:
               oper       5
               type       2
             OPERATING_VOLTAGE:
               oper       5
               type       4
             OPERATING_VOLTAGE_STATUS:
               oper       5
               type       16
             RSSI_DEVICE:
               oper       5
               type       8
             RSSI_PEER:
               oper       5
               type       8
             UNREACH:
               oper       5
               type       2
             UPDATE_PENDING:
               oper       5
               type       2
           1:
             AVERAGE_ILLUMINATION:
               oper       5
               type       4
             AVERAGE_ILLUMINATION_STATUS:
               oper       5
               type       16
             CURRENT_ILLUMINATION:
               oper       5
               type       4
             CURRENT_ILLUMINATION_STATUS:
               oper       5
               type       16
             HIGHEST_ILLUMINATION:
               oper       5
               type       4
             HIGHEST_ILLUMINATION_STATUS:
               oper       5
               type       16
             LOWEST_ILLUMINATION:
               oper       5
               type       4
             LOWEST_ILLUMINATION_STATUS:
               oper       5
               type       16
         cnt:
           AVERAGE_ILLUMINATION 1
           AVERAGE_ILLUMINATION_STATUS 1
           CONFIG_PENDING 1
           CURRENT_ILLUMINATION 1
           CURRENT_ILLUMINATION_STATUS 1
           DUTY_CYCLE 1
           HIGHEST_ILLUMINATION 1
           HIGHEST_ILLUMINATION_STATUS 1
           INSTALL_TEST 1
           LOWEST_ILLUMINATION 1
           LOWEST_ILLUMINATION_STATUS 1
           LOW_BAT    1
           OPERATING_VOLTAGE 1
           OPERATING_VOLTAGE_STATUS 1
           RSSI_DEVICE 1
           RSSI_PEER  1
           UNREACH    1
           UPDATE_PENDING 1
       HmIP-SMI55:
         ch:
           0:
             CONFIG_PENDING:
               oper       5
               type       2
             DUTY_CYCLE:
               oper       5
               type       2
             ERROR_CODE:
               oper       5
               type       8
             INSTALL_TEST:
               oper       3
               type       2
             LOW_BAT:
               oper       5
               type       2
             OPERATING_VOLTAGE:
               oper       5
               type       4
             OPERATING_VOLTAGE_STATUS:
               oper       5
               type       16
             RSSI_DEVICE:
               oper       5
               type       8
             RSSI_PEER:
               oper       5
               type       8
             UNREACH:
               oper       5
               type       2
             UPDATE_PENDING:
               oper       5
               type       2
           1:
             PRESS_LONG:
               oper       4
               type       2
             PRESS_SHORT:
               oper       4
               type       2
           2:
             PRESS_LONG:
               oper       4
               type       2
             PRESS_SHORT:
               oper       4
               type       2
           3:
             CURRENT_ILLUMINATION:
               oper       5
               type       4
             CURRENT_ILLUMINATION_STATUS:
               oper       5
               type       16
             ILLUMINATION:
               oper       5
               type       4
             ILLUMINATION_STATUS:
               oper       5
               type       16
             MOTION:
               oper       5
               type       2
             MOTION_DETECTION_ACTIVE:
               oper       7
               type       2
             RESET_MOTION:
               oper       2
               type       2
         cnt:
           CONFIG_PENDING 1
           CURRENT_ILLUMINATION 1
           CURRENT_ILLUMINATION_STATUS 1
           DUTY_CYCLE 1
           ERROR_CODE 1
           ILLUMINATION 1
           ILLUMINATION_STATUS 1
           INSTALL_TEST 1
           LOW_BAT    1
           MOTION     1
           MOTION_DETECTION_ACTIVE 1
           OPERATING_VOLTAGE 1
           OPERATING_VOLTAGE_STATUS 1
           PRESS_LONG 2
           PRESS_SHORT 2
           RESET_MOTION 1
           RSSI_DEVICE 1
           RSSI_PEER  1
           UNREACH    1
           UPDATE_PENDING 1
       HmIP-SPI:
         ch:
           0:
             CONFIG_PENDING:
               oper       5
               type       2
             DUTY_CYCLE:
               oper       5
               type       2
             ERROR_CODE:
               oper       5
               type       8
             INSTALL_TEST:
               oper       3
               type       2
             LOW_BAT:
               oper       5
               type       2
             OPERATING_VOLTAGE:
               oper       5
               type       4
             OPERATING_VOLTAGE_STATUS:
               oper       5
               type       16
             RSSI_DEVICE:
               oper       5
               type       8
             RSSI_PEER:
               oper       5
               type       8
             SABOTAGE:
               oper       5
               type       2
             UNREACH:
               oper       5
               type       2
             UPDATE_PENDING:
               oper       5
               type       2
           1:
             CURRENT_ILLUMINATION:
               oper       5
               type       4
             CURRENT_ILLUMINATION_STATUS:
               oper       5
               type       16
             ILLUMINATION:
               oper       5
               type       4
             ILLUMINATION_STATUS:
               oper       5
               type       16
             PRESENCE_DETECTION_ACTIVE:
               oper       7
               type       2
             PRESENCE_DETECTION_STATE:
               oper       5
               type       2
             RESET_PRESENCE:
               oper       2
               type       2
         cnt:
           CONFIG_PENDING 1
           CURRENT_ILLUMINATION 1
           CURRENT_ILLUMINATION_STATUS 1
           DUTY_CYCLE 1
           ERROR_CODE 1
           ILLUMINATION 1
           ILLUMINATION_STATUS 1
           INSTALL_TEST 1
           LOW_BAT    1
           OPERATING_VOLTAGE 1
           OPERATING_VOLTAGE_STATUS 1
           PRESENCE_DETECTION_ACTIVE 1
           PRESENCE_DETECTION_STATE 1
           RESET_PRESENCE 1
           RSSI_DEVICE 1
           RSSI_PEER  1
           SABOTAGE   1
           UNREACH    1
           UPDATE_PENDING 1
     grp:
     ifports:
       2001       BidCos-RF
       2010       HmIP-RF
       9292       VirtualDevices
     interfaces:
       BidCos-RF:
         device     d_rpcBidCos_RF
         flags      forceASCII
         host       xxx.xxx.xxx.xxx
         manager    HMCCU
         port       2001
         prot       http
         state      running
         type       A
         url        http://xxx.xxx.xxx.xxx:2001
       HmIP-RF:
         device     d_rpcHmIP_RF
         flags      _
         host       xxx.xxx.xxx.xxx
         manager    HMCCU
         port       2010
         prot       http
         state      running
         type       A
         url        http://xxx.xxx.xxx.xxx:2010
       VirtualDevices:
         flags      _
         host       xxx.xxx.xxx.xxx
         manager    null
         port       9292
         prot       http
         state      inactive
         type       A
         url        http://xxx.xxx.xxx.xxx:9292/groups
     prg:
       ${ruleTmpProgramName}:
         active     true
         internal   false
       ${ruleTmpProgramName} 1:
         active     true
         internal   false
       ${ruleTmpProgramName} 2:
         active     true
         internal   false
       ${ruleTmpProgramName} 3:
         active     true
         internal   false
       ${ruleTmpProgramName} 5:
         active     true
         internal   false
       ${ruleTmpProgramName} 6:
         active     true
         internal   false
       ${ruleTmpProgramName} 7:
         active     true
         internal   false
       ${ruleTmpProgramName} 8:
         active     true
         internal   false
       prgEnergyCounter_1272_0001D3C98DD677:6:
         active     true
         internal   true
       prgEnergyCounter_1517_0001D3C98DD677:6:
         active     true
         internal   true
       prgEnergyCounter_1679_0001D709903D2D:6:
         active     true
         internal   true
     rpc:
Attributes:
   ccuflags   procrpc,reconnect
   event-on-change-reading state,rpcstate
   group      SERVER
   room       Favourites,HomeMaticIP
   rpcinterfaces HmIP-RF
   rpcinterval 5
   rpcport    2010
   rpcserver  on
   stateFormat { if (ReadingsVal($name,"rpcstate","") ne "running" || ReadingsVal($name,"state","") ne "OK") {return '<font color="red">'. ReadingsVal($name,"rpcstate","") . "/" . ReadingsVal($name,"state","") .'</b>'; } else {return ReadingsVal($name,"rpcstate","") . "/" . ReadingsVal($name,"state",""); }}
   verbose    1
Bullseye auf iNUC, Homematic + HMIP(UART/HMUSB), Debmatic, HUEBridge, Zigbee/ConbeeII, FB, Alexa (fhem-lazy), Livetracking, LaCrosse JeeLink, LoRaWan / TTN / Chirpstack

zap

Dieser HmIP only Zustand scheint nur bei Rasperrymatic vorzukommen, nicht bei der original Firmware auf der CCU3.
Du siehst am Internal "ccuinterfaces", dass deine CCU BidCos-RF bereitstellt. Daher wird dieses Interface als Default beibehalten.
2xCCU3, Fenster, Rollläden, Themostate, Stromzähler, Steckdosen ...)
Entwicklung: FHEM auf AMD NUC (Ubuntu)
Produktiv inzwischen auf Home Assistant gewechselt.
Maintainer: FULLY, Meteohub, HMCCU, AndroidDB

kotaro

Hallo.

Ich muss sagen das das HMCCU ganz fantastisch ist.. echt toll :-)

Ich habe jetzt schon ein paar Probleme gefunden:
Die Ports 7411(hmip), 7420(Hm), und 14702(Virtual Devices?)  bei Docker Image freigegeben werden muss
Vielleicht das noch ergänzen. Das hat bei mir ewig gedauert, bis ich das verstanden habe

Mein aktuelles Problem ist aber, das ich h eine virtuelle Heizungsgruppe mit ein WT und ein HT nicht anlegen kann,
Es heißt:
Can't create device HM_ZHR_Buero. Type of virtual device not defined
Created 0 client devices

Kannst du da helfen?

zap

Mach mal ein "list" vom IO Device.

Dann suchst Du in der Ausgabe nach "grp:" (ohne Anführungszeichen, aber mit Doppelpunkt am Ende. Poste dann mal die Einträge, die hierarchisch unter grp: angezeigt werden.
2xCCU3, Fenster, Rollläden, Themostate, Stromzähler, Steckdosen ...)
Entwicklung: FHEM auf AMD NUC (Ubuntu)
Produktiv inzwischen auf Home Assistant gewechselt.
Maintainer: FULLY, Meteohub, HMCCU, AndroidDB

slor

Kurze Frage an der Stelle, welche Vor bzw Nachteile hat es eine Heizungsgruppe einzurichten?
Fhem auf Raspberry Pi 4
CCU3 mit RaspberryMatic mit HMCCU an FHEM
HMCCU, Telegram, Conbee2 und Hue/Tradfri/Osram Lampen AQARA Sensoren, HomeConnect

kotaro

#158
Ich finde die Vorteile dabei

  • das automatische Peeren
  • ein Gerät, das alle Zusände Anzeigt ( Bsp. 3 Ventile in einem Raum) und Fensterstatus une Luftfeuchtigkeit usw.
  • kann auch als ein Gerät im FHEM importiert werden und hab alle o.g. Stati in einem Device...[\li]
Poste später die gewünschte info

[EDIT]
hier die Einträge unter grp:
grp:
       Buero:
         devs       0003156990BFC5:1,000393C99B7E18:1
         type       hmip.heating.group
       ZHR_Wohnzimmer:
         devs       OEQ1712529,OEQ1426270,OEQ1670515,OEQ1712454,OEQ1712499
         type       HomeMatic.heating

zap

Und wie sieht der define Befehl in FHEM aus? Habe ich vorhin leider vergessen zu fragen
2xCCU3, Fenster, Rollläden, Themostate, Stromzähler, Steckdosen ...)
Entwicklung: FHEM auf AMD NUC (Ubuntu)
Produktiv inzwischen auf Home Assistant gewechselt.
Maintainer: FULLY, Meteohub, HMCCU, AndroidDB

kotaro

Hallo,

danke für die schnelle Rückmeldung bisher :D

get d_ccu devicelist create ZHR_Buero t=dev f=HM_%n defattr save room=Homematic

Wobei mir aufgefallen, das ich das Gerät von Buero auf ZHR_Buero umgenannt habe. Daher sind die unteren Kanäle noch "Buero INT0000003:1"-5 noch benannt....
aber mein Hautdevice heißt doch jetzt ZHR_Buero

zap

Wenn Du in der CCU irgendwas umbenennst, solltest du einmal ein "get d_ccu devicelist" ohne weiter Parameter ausführen, damit FHEM die neuen Namen lernt.

Möglicherweise gibt es außerdem ein Problem mit der automatischen Definition von virtuellen Devices, daher versuche es erst mal manuell:

define myDev HMCCUDEV Buero

Wenn "Buero" der Name der Gruppe in der CCU ist.
2xCCU3, Fenster, Rollläden, Themostate, Stromzähler, Steckdosen ...)
Entwicklung: FHEM auf AMD NUC (Ubuntu)
Produktiv inzwischen auf Home Assistant gewechselt.
Maintainer: FULLY, Meteohub, HMCCU, AndroidDB

kotaro

#162
Das Update habe ich bereits vorher gemacht.
leider weiterhin das gleiche...

2019.01.18 15:21:37 1: define ZHR_Buero_INT0000003 HMCCUDEV INT0000003: Type of virtual device not defined
2019.01.18 15:21:37 2: HMCCU: Define command failed ZHR_Buero_INT0000003 HMCCUDEV ZHR_Buero INT0000003
2019.01.18 15:21:37 2: HMCCUDEV: Type of virtual device not defined


Auch das define selbst klappt leider genau so nicht..
Wenn ich noch Informationen zur Korrektur dir liefern kann, lass es mich wissen

zap

Einzige Idee die ich noch habe: Start FHEM neu und probiere nochmal die manuelle Definition (also per define, nicht per get devicelist create). Möglicherweise ist da was durch das Umbenennen durcheinander geraten. Ich kapiere momentan auch nicht mehr, wie Dein virtuelles Gerät in der CCU jetzt eigentlich heißt.
Beim Neustart werden die internen Tabellen neu aufgebaut. Möglicherweise hilft das.
2xCCU3, Fenster, Rollläden, Themostate, Stromzähler, Steckdosen ...)
Entwicklung: FHEM auf AMD NUC (Ubuntu)
Produktiv inzwischen auf Home Assistant gewechselt.
Maintainer: FULLY, Meteohub, HMCCU, AndroidDB

SW7

#164
Hallo in die Runde,

ich kämpfe nun seit Tagen damit, dass mein FHEM per procrpc keine Änderungen die auf der CCU2 passieren mitbekommt.
wenn ich in FHEM am I/O Device ein get ccu update ausführe, dann erhalte ich alle Werte.

Habe jetzt auch schon mit den diversen Schaltern experimentiert (rpcPingCCU,  ccuflags, rpcevtimeout), aber keinen Durchbruch erzielt.

Bei mir kommt eventuell erschwerend hinzu, dass ich zur Zeit zwei CCU2 im Einsatz habe. Wobei ich auch das Problem habe, wenn nur zu einer CCU die RPC Server laufen.

Ein List der CCU sprengt leider das Formularfeld.

Mir ist aufgefallen, dass ich in der CCU (SSH) keine Verbindung von meinem FHEM Server sehe. Nur wenn ich den PRC Server starte taucht eine Netzwerkverbindung in der CCU auf.
# netstat -an | grep 192.168.10
tcp        0      0 192.168.10.14:80        192.168.10.121:61911    TIME_WAIT   
tcp        0      0 192.168.10.14:80        192.168.10.121:61885    TIME_WAIT   
tcp        0      0 192.168.10.14:80        192.168.10.121:61942    ESTABLISHED
tcp        0      0 192.168.10.14:80        192.168.10.121:61916    TIME_WAIT   
tcp        0      0 192.168.10.14:22        192.168.10.121:58149    ESTABLISHED
tcp        0      0 192.168.10.14:80        192.168.10.121:61884    TIME_WAIT   /code]

im Log sehe ich nur das:
[code]2019.01.21 00:55:20 5: CCURPC: [d_rpcHmIP_RF_15] RPC server CB2010010013 accepting connections
2019.01.21 00:55:21 5: CCURPC: [d_rpcHmIP_RF_15] RPC server CB2010010013 accepting connections
2019.01.21 00:55:22 5: CCURPC: [d_rpcHmIP_RF_15] RPC server CB2010010013 accepting connections
2019.01.21 00:55:23 5: CCURPC: [d_rpcHmIP_RF_15] RPC server CB2010010013 accepting connections
2019.01.21 00:55:24 5: CCURPC: [d_rpcHmIP_RF_15] RPC server CB2010010013 accepting connections
2019.01.21 00:55:25 5: CCURPC: [d_rpcHmIP_RF_15] RPC server CB2010010013 accepting connections
2019.01.21 00:55:26 5: CCURPC: [d_rpcHmIP_RF_15] RPC server CB2010010013 accepting connections
2019.01.21 00:55:27 5: CCURPC: [d_rpcHmIP_RF_15] RPC server CB2010010013 accepting connections
2019.01.21 00:55:28 5: CCURPC: [d_rpcHmIP_RF_15] RPC server CB2010010013 accepting connections
2019.01.21 00:55:29 5: CCURPC: [d_rpcHmIP_RF_15] RPC server CB2010010013 accepting connections
2019.01.21 00:55:30 5: CCURPC: [d_rpcHmIP_RF_15] RPC server CB2010010013 accepting connections
2019.01.21 00:55:31 5: CCURPC: [d_rpcHmIP_RF_15] RPC server CB2010010013 accepting connections
2019.01.21 00:55:32 5: CCURPC: [d_rpcHmIP_RF_15] RPC server CB2010010013 accepting connections
2019.01.21 00:55:33 5: CCURPC: [d_rpcHmIP_RF_15] RPC server CB2010010013 accepting connections
2019.01.21 00:55:34 5: CCURPC: [d_rpcHmIP_RF_15] RPC server CB2010010013 accepting connections
2019.01.21 00:55:35 2: HMCCU: GetAttrSubstitute: subst = 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
2019.01.21 00:55:35 2: HMCCU: GetAttrSubstitute: subst = 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
2019.01.21 00:55:35 5: CCURPC: [d_rpcHmIP_RF_15] RPC server CB2010010013 accepting connections
2019.01.21 00:55:36 5: CCURPC: [d_rpcHmIP_RF_15] RPC server CB2010010013 accepting connections
2019.01.21 00:55:37 5: CCURPC: [d_rpcHmIP_RF_15] RPC server CB2010010013 accepting connections
2019.01.21 00:55:38 5: CCURPC: [d_rpcHmIP_RF_15] RPC server CB2010010013 accepting connections
2019.01.21 00:55:39 5: CCURPC: [d_rpcHmIP_RF_15] RPC server CB2010010013 accepting connections


Hat noch jemand das Problem? Oder gibt es eine allgemein gültige Lösung, die ich noch nicht gefunden habe?