Schalten von hm-lc-sw1-Pi-2

Begonnen von LotharRappsilber, 08 Juni 2019, 13:35:46

Vorheriges Thema - Nächstes Thema

LotharRappsilber

Hallo,

hab hm-lc-sw1-Pi-2 (Funkschalter) über CCU2 angelernt und dann in FHEM übernommen. Soweit alles gut, aber wenn ich schalten möchte, dann geht es nicht. Wer kann helfen?

Hier noch "list device".


Internals:
   CCUNum     1
   DEF        http://192.168.4.8 BidCos-RF
   FUUID      5cfa7814-f33f-2440-1e1a-3cf08f3ad2c03ddc
   IODev      HMIPCCU
   NAME       Camera
   NR         211
   RPCPID     0
   RPCState   inactive
   STATE      Initialized
   TYPE       HMCCURPCPROC
   ccuip      192.168.4.8
   ccustate   active
   ccutype    CCU2/3
   host       192.168.4.8
   prot       http
   rpcid      004001004008
   rpcinterface BidCos-RF
   rpcip      192.168.4.8
   rpcport    2001
   version    1.7.001
   READINGS:
     2019-06-08 13:40:51   rpcstate        inactive
     2019-06-08 13:40:51   state           Initialized
   hmccu:
     defaultaddr 192.168.4.1
     devspec    BidCos-RF
     evtime     0
     localaddr  192.168.4.1
     rpcstarttime 0
     rpc:
       clkey     
       pid       
       state      inactive
Attributes:
   alias      CCU RPC BidCos-RF
   eventMap   /rpcserver on:on/rpcserver off:off/
   fp_Haus    330,230,1,Cameras
   room       Homematic
   stateFormat rpcstate/state
   verbose    2
   webCmd     on:off:statusRequest
FB 7590, FHEM, 1xCCU2, 6xDECT200, 1xDECT201, 1xHMIP-SWO-PL, 1xHMIP-PS, 1xDECT301,  2xHM-LC-Sw1-PL

LotharRappsilber

FB 7590, FHEM, 1xCCU2, 6xDECT200, 1xDECT201, 1xHMIP-SWO-PL, 1xHMIP-PS, 1xDECT301,  2xHM-LC-Sw1-PL

amenomade

Kann man ein list vom Schalter auch haben bitte?
Pi 3B, Alexa, CUL868+Selbstbau 1/2λ-Dipol-Antenne, USB Optolink / Vitotronic, Debmatic und HM / HmIP Komponenten, Rademacher Duofern Jalousien, Fritz!Dect Thermostaten, Proteus

LotharRappsilber

Das einzige was ich habe, hab ich schon gepostet, oder hab ich was falsches gepostet. Weis leider nicht, wie ich vom Schalter noch was posten kann.
FB 7590, FHEM, 1xCCU2, 6xDECT200, 1xDECT201, 1xHMIP-SWO-PL, 1xHMIP-PS, 1xDECT301,  2xHM-LC-Sw1-PL

amenomade

#4
ZitatTYPE       HMCCURPCPROC
Das ist der RPC Server, das ist kein Device (TYPE HMCCUDEV)
Siehe hier https://wiki.fhem.de/wiki/HMCCU_Best_Practice#Neue_Ger.C3.A4te_anlernen step 3 und step 5
Pi 3B, Alexa, CUL868+Selbstbau 1/2λ-Dipol-Antenne, USB Optolink / Vitotronic, Debmatic und HM / HmIP Komponenten, Rademacher Duofern Jalousien, Fritz!Dect Thermostaten, Proteus

amenomade

Mach mal ein "get devicelist" auf deinem HMCCU Device (HMIPCCU)
Pi 3B, Alexa, CUL868+Selbstbau 1/2λ-Dipol-Antenne, USB Optolink / Vitotronic, Debmatic und HM / HmIP Komponenten, Rademacher Duofern Jalousien, Fritz!Dect Thermostaten, Proteus

LotharRappsilber

Da kommt "Read 4 devices with 112 channels from CCU".
FB 7590, FHEM, 1xCCU2, 6xDECT200, 1xDECT201, 1xHMIP-SWO-PL, 1xHMIP-PS, 1xDECT301,  2xHM-LC-Sw1-PL

amenomade

Und was sagt "list TYPE=HMCCUDEV"?
Pi 3B, Alexa, CUL868+Selbstbau 1/2λ-Dipol-Antenne, USB Optolink / Vitotronic, Debmatic und HM / HmIP Komponenten, Rademacher Duofern Jalousien, Fritz!Dect Thermostaten, Proteus

LotharRappsilber

Da kommt nur "SecurityCheck:
  WEB is not password protected
  WEBphone is not password protected
  telnetPort is not password protected
  WEBtablet is not password protected

Protect this FHEM installation by defining an allowed device with define allowed allowed
You can disable this message with attr global motd none".
FB 7590, FHEM, 1xCCU2, 6xDECT200, 1xDECT201, 1xHMIP-SWO-PL, 1xHMIP-PS, 1xDECT301,  2xHM-LC-Sw1-PL

amenomade

Dann hast Du kein Device definiert?
Siehe obere Link steps 4 bis 6
Pi 3B, Alexa, CUL868+Selbstbau 1/2λ-Dipol-Antenne, USB Optolink / Vitotronic, Debmatic und HM / HmIP Komponenten, Rademacher Duofern Jalousien, Fritz!Dect Thermostaten, Proteus

LotharRappsilber

#10
Jetzt habe ich "list HMIPCCU TYPE=HMCCUDEV" eingeben, war sicher falsch, denn es kam das gleiche Ergebnis. Tut mir Leid das ich so unwissens bin.
FB 7590, FHEM, 1xCCU2, 6xDECT200, 1xDECT201, 1xHMIP-SWO-PL, 1xHMIP-PS, 1xDECT301,  2xHM-LC-Sw1-PL

amenomade

Ja, das ist falsch.
Wenn "list TYPE=HMCCUDEV" gar keine Ergebnis gibt, heisst es, dass Du kein Device des Types HMCCUDEV definiert hast. Dann mach es doch. Ich habe dir den Link gegeben.

Alternativ hier: https://wiki.fhem.de/wiki/HMCCU#Autocreate_von_Client_Devices
Pi 3B, Alexa, CUL868+Selbstbau 1/2λ-Dipol-Antenne, USB Optolink / Vitotronic, Debmatic und HM / HmIP Komponenten, Rademacher Duofern Jalousien, Fritz!Dect Thermostaten, Proteus

MadMax-FHEM

Ja war falsch bzw. nicht das was gefragt war...

Die Meldungen bzgl. Web kommen solange bis du entweder ein allowed definierst (für alle Webinstanzen) oder du kannst auch das Attribut motd bei global auf none setzen, das unterdrückt diese (und andere) Meldung(en)...

attr global motd none

Aber immer eins nach dem anderen...
Solange du keinen Zugriff aus dem Internet brauchst/willst kannst du das erst mal ignorieren...

Gruß, Joachim

P.S.: und bei den vorhandenen Kenntnissen würde ich Zugriff übers Inet bleiben lassen... ;)
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)

LotharRappsilber

Was muss ich jetzt machen? Hab nur in der cfg folgendes stehen:

# HMIPCCU
define HMIPCCU HMCCU 192.168.4.8
setuuid HMIPCCU 5cfa4569-f33f-2440-6ffe-ca612b90af7a3625
attr HMIPCCU ccuflags procrpc
attr HMIPCCU room Homematic
attr HMIPCCU rpcinterfaces BidCos-RF,HmIP-RF
attr HMIPCCU rpcinterval 5
attr HMIPCCU rpcport 2001,2010
attr HMIPCCU rpcqueue /tmp
attr HMIPCCU rpcserver on
attr HMIPCCU stateFormat rpcstate/state
FB 7590, FHEM, 1xCCU2, 6xDECT200, 1xDECT201, 1xHMIP-SWO-PL, 1xHMIP-PS, 1xDECT301,  2xHM-LC-Sw1-PL

amenomade

Pi 3B, Alexa, CUL868+Selbstbau 1/2λ-Dipol-Antenne, USB Optolink / Vitotronic, Debmatic und HM / HmIP Komponenten, Rademacher Duofern Jalousien, Fritz!Dect Thermostaten, Proteus