ELTAKO per FGW14-USB anbinden

Begonnen von fl_Indigo, 19 April 2017, 11:56:57

Vorheriges Thema - Nächstes Thema

fl_Indigo

scheinbar haperts irgendwo an meinem verständnis...

folgende ausgangssituation:
funktionierende ELTAKO installation mit folgenden kompnenten
- FTS14KS als busmaster
- 2x FTS14EM als eingangsmodule für physische rolladentaster (IDs 1002 bis 1020)
- 5x FSB14 als schaltaktoren für rolläden und raffstores (IDs 01 bis 10)
- 1x FGW14-USB als PC gateway

die installation funktioniert mit den physischen tastern einwandfrei.

das FGW14 ist in fhem wie folgt definiert:

define FGW14 TCM ESP2 /dev/ttyS0@57600
attr FGW14 comType RS485
attr FGW14 learningMode always
attr FGW14 room 12_EnOcean
attr FGW14 sendInterval 100


autocreate erstellt mir folgende geräte
die taster:

define EnO_00001002 EnOcean 00001002
attr EnO_00001002 IODev FGW14
#attr EnO_00001002 alias EG_Kueche_Terrasse
attr EnO_00001002 eep F6-02-01
attr EnO_00001002 manufID 7FF
attr EnO_00001002 room 12_EnOcean
attr EnO_00001002 subType switch
attr EnO_00001002 teachMethod RPS
define FileLog_EnO_00001002 FileLog ./log/EnO_00001002-%Y.log EnO_00001002
attr FileLog_EnO_00001002 logtype text
attr FileLog_EnO_00001002 room 12_EnOcean

define EnO_00001004 EnOcean 00001004
attr EnO_00001004 IODev FGW14
#attr EnO_00001004 alias EG_Kueche_Fenster
attr EnO_00001004 eep F6-02-01
attr EnO_00001004 manufID 7FF
attr EnO_00001004 room 12_EnOcean
attr EnO_00001004 subType switch
attr EnO_00001004 teachMethod RPS
define FileLog_EnO_00001004 FileLog ./log/EnO_00001004-%Y.log EnO_00001004
attr FileLog_EnO_00001004 logtype text
attr FileLog_EnO_00001004 room 12_EnOcean

define EnO_00001006 EnOcean 00001006
attr EnO_00001006 IODev FGW14
#attr EnO_00001006 alias EG_Wohnzimmer
attr EnO_00001006 eep F6-02-01
attr EnO_00001006 manufID 7FF
attr EnO_00001006 room 12_EnOcean
attr EnO_00001006 subType switch
attr EnO_00001006 teachMethod RPS
define FileLog_EnO_00001006 FileLog ./log/EnO_00001006-%Y.log EnO_00001006
attr FileLog_EnO_00001006 logtype text
attr FileLog_EnO_00001006 room 12_EnOcean

define EnO_00001008 EnOcean 00001008
attr EnO_00001008 IODev FGW14
#attr EnO_00001008 alias EG_Buero
attr EnO_00001008 eep F6-02-01
attr EnO_00001008 manufID 7FF
attr EnO_00001008 room 12_EnOcean
attr EnO_00001008 subType switch
attr EnO_00001008 teachMethod RPS
define FileLog_EnO_00001008 FileLog ./log/EnO_00001008-%Y.log EnO_00001008
attr FileLog_EnO_00001008 logtype text
attr FileLog_EnO_00001008 room 12_EnOcean

define EnO_00001010 EnOcean 00001010
attr EnO_00001010 IODev FGW14
#attr EnO_00001010 alias EG Zentral
attr EnO_00001010 eep F6-02-01
attr EnO_00001010 manufID 7FF
attr EnO_00001010 room 12_EnOcean
attr EnO_00001010 subType switch
attr EnO_00001010 teachMethod RPS
define FileLog_EnO_00001010 FileLog ./log/EnO_00001010-%Y.log EnO_00001010
attr FileLog_EnO_00001010 logtype text
attr FileLog_EnO_00001010 room 12_EnOcean

define EnO_00001012 EnOcean 00001012
attr EnO_00001012 IODev FGW14
#attr EnO_00001012 alias OG_Schlafzimmer
attr EnO_00001012 eep F6-02-01
attr EnO_00001012 manufID 7FF
attr EnO_00001012 room 12_EnOcean
attr EnO_00001012 subType switch
attr EnO_00001012 teachMethod RPS
define FileLog_EnO_00001012 FileLog ./log/EnO_00001012-%Y.log EnO_00001012
attr FileLog_EnO_00001012 logtype text
attr FileLog_EnO_00001012 room 12_EnOcean

define EnO_00001014 EnOcean 00001014
attr EnO_00001014 IODev FGW14
#attr EnO_00001014 alias OG_Kind_aussen
attr EnO_00001014 eep F6-02-01
attr EnO_00001014 manufID 7FF
attr EnO_00001014 room 12_EnOcean
attr EnO_00001014 subType switch
attr EnO_00001014 teachMethod RPS
define FileLog_EnO_00001014 FileLog ./log/EnO_00001014-%Y.log EnO_00001014
attr FileLog_EnO_00001014 logtype text
attr FileLog_EnO_00001014 room 12_EnOcean

define EnO_00001016 EnOcean 00001016
attr EnO_00001016 IODev FGW14
#attr EnO_00001016 alias OG_Kind_mitte
attr EnO_00001016 eep F6-02-01
attr EnO_00001016 manufID 7FF
attr EnO_00001016 room 12_EnOcean
attr EnO_00001016 subType switch
attr EnO_00001016 teachMethod RPS
define FileLog_EnO_00001016 FileLog ./log/EnO_00001016-%Y.log EnO_00001016
attr FileLog_EnO_00001016 logtype text
attr FileLog_EnO_00001016 room 12_EnOcean

define EnO_00001018 EnOcean 00001018
attr EnO_00001018 IODev FGW14
#attr EnO_00001018 alias OG_Vorraum
attr EnO_00001018 eep F6-02-01
attr EnO_00001018 manufID 7FF
attr EnO_00001018 room 12_EnOcean
attr EnO_00001018 subType switch
attr EnO_00001018 teachMethod RPS
define FileLog_EnO_00001018 FileLog ./log/EnO_00001018-%Y.log EnO_00001018
attr FileLog_EnO_00001018 logtype text
attr FileLog_EnO_00001018 room 12_EnOcean

define EnO_00001020 EnOcean 00001020
attr EnO_00001020 IODev FGW14
#attr EnO_00001020 alias OG Zentral
attr EnO_00001020 eep F6-02-01
attr EnO_00001020 manufID 7FF
attr EnO_00001020 room 12_EnOcean
attr EnO_00001020 subType switch
attr EnO_00001020 teachMethod RPS
define FileLog_EnO_00001020 FileLog ./log/EnO_00001020-%Y.log EnO_00001020
attr FileLog_EnO_00001020 logtype text
attr FileLog_EnO_00001020 room 12_EnOcean


und die FSB14

define EnO_00000001 EnOcean 00000001
attr EnO_00000001 IODev FGW14
attr EnO_00000001 eep F6-02-01
attr EnO_00000001 manufID 7FF
attr EnO_00000001 model FSB14
attr EnO_00000001 room 12_EnOcean
attr EnO_00000001 subType switch
attr EnO_00000001 teachMethod RPS
define FileLog_EnO_00000001 FileLog ./log/EnO_00000001-%Y.log EnO_00000001
attr FileLog_EnO_00000001 logtype text
attr FileLog_EnO_00000001 room 12_EnOcean

define EnO_00000002 EnOcean 00000002
attr EnO_00000002 IODev FGW14
attr EnO_00000002 eep F6-02-01
attr EnO_00000002 manufID 7FF
attr EnO_00000002 model FSB14
attr EnO_00000002 room 12_EnOcean
attr EnO_00000002 subType switch
attr EnO_00000002 teachMethod RPS
define FileLog_EnO_00000002 FileLog ./log/EnO_00000002-%Y.log EnO_00000002
attr FileLog_EnO_00000002 logtype text
attr FileLog_EnO_00000002 room 12_EnOcean

define EnO_00000004 EnOcean 00000004
attr EnO_00000004 IODev FGW14
attr EnO_00000004 eep F6-02-01
attr EnO_00000004 manufID 7FF
attr EnO_00000004 model FSB14
attr EnO_00000004 room 12_EnOcean
attr EnO_00000004 subDef AABBCC05
attr EnO_00000004 subType switch
attr EnO_00000004 teachMethod RPS
define FileLog_EnO_00000004 FileLog ./log/EnO_00000004-%Y.log EnO_00000004
attr FileLog_EnO_00000004 logtype text
attr FileLog_EnO_00000004 room 12_EnOcean

define EnO_00000005 EnOcean 00000005
attr EnO_00000005 IODev FGW14
attr EnO_00000005 eep F6-02-01
attr EnO_00000005 manufID 7FF
attr EnO_00000005 model FSB14
attr EnO_00000005 room 12_EnOcean
attr EnO_00000005 subType switch
attr EnO_00000005 teachMethod RPS
define FileLog_EnO_00000005 FileLog ./log/EnO_00000005-%Y.log EnO_00000005
attr FileLog_EnO_00000005 logtype text
attr FileLog_EnO_00000005 room 12_EnOcean

define EnO_00000006 EnOcean 00000006
attr EnO_00000006 IODev FGW14
attr EnO_00000006 eep F6-02-01
attr EnO_00000006 manufID 7FF
attr EnO_00000006 model FSB14
attr EnO_00000006 room 12_EnOcean
attr EnO_00000006 subType switch
attr EnO_00000006 teachMethod RPS
define FileLog_EnO_00000006 FileLog ./log/EnO_00000006-%Y.log EnO_00000006
attr FileLog_EnO_00000006 logtype text
attr FileLog_EnO_00000006 room 12_EnOcean

define EnO_00000007 EnOcean 00000007
attr EnO_00000007 IODev FGW14
attr EnO_00000007 eep F6-02-01
attr EnO_00000007 manufID 7FF
attr EnO_00000007 model FSB14
attr EnO_00000007 room 12_EnOcean
attr EnO_00000007 subType switch
attr EnO_00000007 teachMethod RPS
define FileLog_EnO_00000007 FileLog ./log/EnO_00000007-%Y.log EnO_00000007
attr FileLog_EnO_00000007 logtype text
attr FileLog_EnO_00000007 room 12_EnOcean

define EnO_00000008 EnOcean 00000008
attr EnO_00000008 IODev FGW14
attr EnO_00000008 eep F6-02-01
attr EnO_00000008 manufID 7FF
attr EnO_00000008 model FSB14
attr EnO_00000008 room 12_EnOcean
attr EnO_00000008 subType switch
attr EnO_00000008 teachMethod RPS
define FileLog_EnO_00000008 FileLog ./log/EnO_00000008-%Y.log EnO_00000008
attr FileLog_EnO_00000008 logtype text
attr FileLog_EnO_00000008 room 12_EnOcean

define EnO_00000009 EnOcean 00000009
attr EnO_00000009 IODev FGW14
attr EnO_00000009 eep F6-02-01
attr EnO_00000009 manufID 7FF
attr EnO_00000009 model FSB14
attr EnO_00000009 room 12_EnOcean
attr EnO_00000009 subType switch
attr EnO_00000009 teachMethod RPS
define FileLog_EnO_00000009 FileLog ./log/EnO_00000009-%Y.log EnO_00000009
attr FileLog_EnO_00000009 logtype text
attr FileLog_EnO_00000009 room 12_EnOcean


so weit so schlecht :)

die taster kann ich einwandfrei in fhem schalten und die rolladen fahren auch auf und ab wenn in fhem geschaltet

ABER

die FSB14 kann ich aus fhem heraus nicht betätigen

also streng nach WIKI versucht fhem an die FSB14 anzulernen (mittlerer schalter auf LRN und oderer schalter auf 180/200 für die beiden motoren) und in fhem

set EnO_00000001 teach

eingegeben

fhem erwidert mit

Unknown argument teach, choose one of A0 AI B0 BI C0 CI D0 DI released


hab ich was verpasst oder was passt an meiner config nicht?

wenn jemand so freundlich wäre und mir da aus meiner patsche helfen könnte?

übrigends: statusmeldungen von den FTS14EM und FSB14 kommen in fhem an, werden aktualisiert wenn ich einen taster drücke falls die info nützlich ist...

FTS14KS und FGW14 stehen auf schalterposition 6

Cybers

Das Attribut manufID ist bei dir falsch. Das Atribut darf nicht den Wert "7FF" sondern muß den Wert "00D" haben.

Gruß, Sascha
FHEM 6.2 auf Raspberry PI 4 / Smartvisu
Eltako Serie 14: FAM14, FGW14-USB, FSB14, FSR14-4x, FSR14-2x, FDG14, FTS14-EM in Kombination mit Jung F50 24V Tastern
1-Wire Temperatursensoren
aus alter Zeit:
Gott sei Dank nur noch 3 Homematic Jalousie- & Schaltaktoren! Wer sich mit Funk auskennt, legt Kabel

enrikb

Hi,

Evtl. stimmt da noch mehr nicht. Ich habe kein solches System, aber für mich liest sich die Wiki-Seite so, als ob du die FSB14 nicht mit autocreate, sondern entsprechend diesem Beispiel aus der Wiki-Seite anlegen solltest:


define EnO_switch_FSB14 EnOcean <sender id> G5-3F-7F


Deine sind im Moment als Taster (so wie PTM 210) angelegt.

Viel Erfolg,
Enrik

krikan

Zitatalso streng nach WIKI versucht fhem an die FSB14 anzulernen
Bitte die komplette Konfiguration streng nach Wiki vornehmen und nicht nur Teile herauspicken  :) :
https://wiki.fhem.de/wiki/EnOcean-FSB14-RS485-Bus-Schaltaktor-2-Kanal-Beschattungselemente-Rollladen

Cypers und enrikb haben Dir bereits einige Punkte genannt. Ansonsten ist aber noch einiges bei den geposteten FSB14-Devices nicht in Ordnung (subType,...). autocreate hilft bei den FSB14-Devices nur bedingt.

Gruß, Christian

fl_Indigo

#4
danke schonmal für die antworten, hat mir schon weitergeholfen

das device listing schaut jetzt so aus:

Internals:
   CFGFN      9_enocean.cfg
   DEF        00000004
   FGW14_MSGCNT 10
   FGW14_TIME 2017-04-19 16:24:32
   IODev      FGW14
   LASTInputDev FGW14
   MSGCNT     10
   NAME       EnO_00000004
   NR         549
   NTFY_ORDER 50-EnO_00000004
   STATE      open_ack
   TYPE       EnOcean
   Readings:
     2017-04-19 16:26:40   teach           4BS teach-in sent
   Helper:
Attributes:
   IODev      FGW14
   comMode    uniDir
   eep        A5-3F-7F
   manufID    00D
   model      FSB14
   room       12_EnOcean
   shutTime   35
   shutTimeCloses 40
   subType    manufProfile
   teachMethod RPS


die eep wird automatisch eingetragen, lässt sich in fhem auch nicht auf den wert im wiki ändern...

einlernen von fhem in den aktor funktioniert immer noch nicht :?

edit: nachtrag: nach setzen von

attr EnO_00000001 subDef AABBCC05


klappt der einlernvorgang

werden alle aktoren mit der selben subdef eingelernt oder muss ich die für jeden aktor verändern?

edit2: hat sich erledigt, natürlich braucht jeder einzelne rolladen eine eigene fhem baseid :p

enrikb

Das mit dem EEP hat schon seine Richtigkeit, G5-3F-7F ist ein Hack zum schnellen Anlegen von Eltako-Rolladenaktoren. Das eigentliche EEP ist A5-3F-7F (4BS, manufacturer specific).

Gruß,
Enrik

krikan

Würde das Wiki gerne verbessern, habe aber hinsichtlich 14er-Baureihe keine praktische Erfahrung und bin auf Hilfe angewiesen:

Muss bei Anbindung über  FGW14 ohne ein Funkgateway (FAM,USB300) im Attribut subDef immer eine SenderId manuell eingetragen werden, d.h. automatische Vergabe beim Teach-in geht nicht? (Vermutung: muss man manuell machen)

Danke!

fl_Indigo

hab zwar auch keine wirkliche erfahrung (erst seit gestern), aber ich musste die baseids selber vergeben, das FGW14 machts nicht von sich aus...

Porsti

Hi,

die SubDef muss manuell eingetragen werden und dann kann diese der teach oder PCT14 in die Aktoren eingelernt werden.

Gruß
Porsti
____________________________________
fhem 6.2  auf Raspberry 3b
Homematic HM-CC-RT-DN / HM-TC-IT-WM-W-EU / HM-SEC-SCo / HM-LC-SW1-PL2
SIGNALduino, KNX (Merten, MDT, Siemens, ABB)