FHEM Forum

FHEM => Anfängerfragen => Thema gestartet von: xomozoon am 19 Mai 2014, 15:30:16

Titel: Anfängerfrust Anlernen von FS20 Komponenten klappt nicht
Beitrag von: xomozoon am 19 Mai 2014, 15:30:16
Liebe Gemeinde,

habe mich tatsächlich an das Thema Hausautomation gewagt. Betreibe ein CUL V3.4 an FB 7490 und FS 20 Komponenten. Habe Fhem nicht von AVM sondern das Original. CUL schein geflasht zu sein, da es als initialisiert angezeigt wird. Leider bekomme ich es nicht hin einen Sender und eine Steckdose wie in Anfängeranleitung beschrieben einzubinden. Bin mit der Fülle von Daten und Einstellmöglichkeiten gerade etwas überfordert.
Wer könnte mir weiterhelfen. Ich vermute es sind lediglich Parametereinstellungen die nicht passen.

Vorab schon vielen Dank

Markus
Titel: Antw:Anfängerfrust Anlernen von FS20 Komponenten klappt nicht
Beitrag von: strauch am 19 Mai 2014, 15:34:58
Hallo Markus,

schau doch mal als erstes in den Event Monitor und drück mal die Taste der Fernbedinung und schau was dort angezeigt wird. Hast du den Menüpunkt autocreate aktiv? Der legt dann normalerweise Geräte direkt an wenn er etwas empfängt.
Titel: Antw:Anfängerfrust Anlernen von FS20 Komponenten klappt nicht
Beitrag von: xomozoon am 19 Mai 2014, 15:38:22
Danke für die schnelle Antwort. Autocreate ist aktiv, im Event Monitor passiert nichts wenn ich den Sender betätige.
Titel: Antw:Anfängerfrust Anlernen von FS20 Komponenten klappt nicht
Beitrag von: strauch am 19 Mai 2014, 15:44:21
Kannst du mal
list Name_CUL in FHEM eintippen und das Ergebnis hier posten? Schau wie dein CUL heißt..... standardmäßig meist CUL0 wenn ich mich recht erinnere.
Titel: Antw:Anfängerfrust Anlernen von FS20 Komponenten klappt nicht
Beitrag von: xomozoon am 19 Mai 2014, 15:58:40
Bitte schön, Standardname ist CUL_0

Internals:
   CMDS       BCFiAZEGMKURTVWXefmltux
   Clients    :FS20:FHT.*:KS300:USF1000:BS:HMS: :CUL_EM:CUL_WS:CUL_FHTTK:CUL_RFR:CUL_HOERMANN: :ESA2000:CUL_IR:CUL_TX:Revolt:IT:
   DEF        /dev/ttyACM0@9600 1034
   DeviceName /dev/ttyACM0@9600
   FD         5
   FHTID      1034
   NAME       CUL_0
   NR         20
   PARTIAL   
   STATE      Initialized
   TYPE       CUL
   VERSION    V 1.58 CUL868
   initString X21
   Matchlist:
     1:USF1000  ^81..(04|0c)..0101a001a5ceaa00....
     2:BS       ^81..(04|0c)..0101a001a5cf
     3:FS20     ^81..(04|0c)..0101a001
     4:FHT      ^81..(04|09|0d)..(0909a001|83098301|c409c401)..
     5:KS300    ^810d04..4027a001
     6:CUL_WS   ^K.....
     7:CUL_EM   ^E0.................$
     8:HMS      ^810e04....(1|5|9).a001
     9:CUL_FHTTK ^T[A-F0-9]{8}
     A:CUL_RFR  ^[0-9A-F]{4}U.
     B:CUL_HOERMANN ^R..........
     C:ESA2000  ^S................................$
     D:CUL_IR   ^I............
     E:CUL_TX   ^TX[A-F0-9]{10}
     F:Revolt   ^r......................$
     G:IT       ^i......$
   Readings:
     2014-05-19 15:11:25   ccconf          freq:868.300MHz bWidth:58KHz rAmpl:42dB sens:4dB
     2014-05-19 11:13:05   cmds             B C F i A Z E G M K U R T V W X e f m l t u x
   Helper:
     HMnextTR   1400486688.46634
Attributes:
   room       Unsorted

Titel: Antw:Anfängerfrust Anlernen von FS20 Komponenten klappt nicht
Beitrag von: strauch am 19 Mai 2014, 16:03:34
Ok,

also Empfangen hat der CUL scheinbar wirklich noch nichts.... eine Antenne ist aber dran?
Bei mir hat mein CUL noch zwei Attribute setzte die bitte auch mal

zum einen model CUL und rfmode slowRF.
Das kannst du entweder über das menü machen oder folgendes Eintippen:
attr CUL_0 model CUL
attr CUL_0 rfmode SlowRF


und dann teste noch mal.... Die Firmware ist auf jedenfall drauf und aktuell (1.58). Ist deine FHEM Installation auch aktuell? Das kannst du mit
update check prüfen.
Titel: Antw:Anfängerfrust Anlernen von FS20 Komponenten klappt nicht
Beitrag von: xomozoon am 19 Mai 2014, 16:32:09
Habe die Attribute eingetragen - leider keine positive Auswirkung. Fhem habe ich Gestern runtergeladen und auf die FB aufgespielt (nicht die AVM Version). Ist es sinnvoll alles noch mal auf null zu setzten? Muss ich dafür das CUL neu flashen?
Titel: Antw:Anfängerfrust Anlernen von FS20 Komponenten klappt nicht
Beitrag von: strauch am 19 Mai 2014, 16:34:05
Nein, aber das spricht dafür das FHEM schon mal nicht aktuell ist. Die Version 5.5 die du geladen hast ist irgendwann aus dem letzten Sommer. Mach mal ein save und dann update anschließend noch ein shutdown restart. Und dann schau erst noch mal....
Titel: Antw:Anfängerfrust Anlernen von FS20 Komponenten klappt nicht
Beitrag von: xomozoon am 19 Mai 2014, 16:42:17
Nach update kommt Folgendes:

Action required:

    There is at least one unconfirmed message. Before updating FHEM
    these messages have to be confirmed first:
      ID: update-20130127-001

    To view a message (again), please enter 'notice view <ID>'.
    To confirm a message, please enter 'notice confirm <ID> [value]'.
    '[value]' is an optional argument. Please refer to the message,
    whether the disclosure of '[value]' is necessary.

    For further information please consult the manual for the command
    'notice' in the documentation of FHEM (commandref.html).

    The update is canceled for now.

Was muss ich für ID eintragen
Titel: Antw:Anfängerfrust Anlernen von FS20 Komponenten klappt nicht
Beitrag von: xomozoon am 19 Mai 2014, 16:51:02
Habe noch etwas interessantes gefunden. Musste dort wo "no definition" steht irgendetwas eingetragen sein?


Internals:
   DEF        <no definition>
   NAME       global
   NR         1
   STATE      <no definition>
   TYPE       Global
   currentlogfile ./log/fhem-2014-05.log
   logfile    ./log/fhem-%Y-%m.log
Attributes:
   autoload_undefined_devices 1
   configfile fhem.cfg
   logfile    ./log/fhem-%Y-%m.log
   modpath    .
   motd       SecurityCheck:

WEB,WEBphone,WEBtablet has no basicAuth attribute.
telnetPort has no password/globalpassword attribute.

Restart fhem for a new check if the problem is fixed,
or set the global attribute motd to none to supress this message.

   statefile  ./log/fhem.save
   updateInBackground 1
   userattr   devStateIcon devStateStyle icon sortby webCmd
   verbose    3
   version    $Id: fhem.pl 3872 2013-09-07 11:58:33Z rudolfkoenig $



Titel: Antw:Anfängerfrust Anlernen von FS20 Komponenten klappt nicht
Beitrag von: strauch am 19 Mai 2014, 16:55:20
nein steht bei mir auch nichts..... wie gesagt mach mal nen Update.
Titel: Antw:Anfängerfrust Anlernen von FS20 Komponenten klappt nicht
Beitrag von: stromer-12 am 19 Mai 2014, 17:29:47
setze mal deine bWidth von deinem Cul etwas großer. Mit 58khz wirst du nicht viel sehen.
Titel: Antw:Anfängerfrust Anlernen von FS20 Komponenten klappt nicht
Beitrag von: franky08 am 19 Mai 2014, 17:50:22
confirm update-20130127-001

VG
Frank
Titel: Antw:Anfängerfrust Anlernen von FS20 Komponenten klappt nicht
Beitrag von: AHA1805 am 19 Mai 2014, 17:53:47
Zitat von: xomozoon am 19 Mai 2014, 16:42:17
Nach update kommt Folgendes:

Action required:

    There is at least one unconfirmed message. Before updating FHEM
    these messages have to be confirmed first:
      ID: update-20130127-001

    To view a message (again), please enter 'notice view <ID>'.
    To confirm a message, please enter 'notice confirm <ID> [value]'.
    '[value]' is an optional argument. Please refer to the message,
    whether the disclosure of '[value]' is necessary.

    For further information please consult the manual for the command
    'notice' in the documentation of FHEM (commandref.html).

    The update is canceled for now.

Was muss ich für ID eintragen

Tippe wird gewünscht
'notice confirm update-20130127-001
ein

Gesendet von Unterwegs mit Tapatalk 4

Titel: Antw:Anfängerfrust Anlernen von FS20 Komponenten klappt nicht
Beitrag von: Puschel74 am 19 Mai 2014, 19:04:08
Hallo,

ZitatThere is at least one unconfirmed message. Before updating FHEM
    these messages have to be confirmed first:
      ID: update-20130127-001
Was du als ID eintragen musst - na rate mal  ;)
Steht ja auch schön dabei ID: update-20130127-001

Zitatversion    $Id: fhem.pl 3872 2013-09-07 11:58:33Z rudolfkoenig $
Jep, da wird es Zeit für ein update.

Blinkt die LED an der Fernbedienung wenn du eine Taste drückst?
Nicht das die Batterie leer ist.
Welche Fernbedienung hast du überhaupt?
Sorry wenn ich das überlesen habe.

Grüße
Titel: Antw:Anfängerfrust Anlernen von FS20 Komponenten klappt nicht
Beitrag von: strauch am 19 Mai 2014, 20:37:14
Schau auch mal in die fhem.cfg ob der cul vor dem fs20 device definiert ist das Problem gab es hier gerade an anderer Stelle.

Gesendet von meinem Tablet

Titel: Antw:Anfängerfrust Anlernen von FS20 Komponenten klappt nicht
Beitrag von: xomozoon am 20 Mai 2014, 10:33:26
Super eure Unterstützung!

Also, Update ist mir gelungen - denke ich.

stromer12 - Wo stelle ich die Frequenz ein und auf welchen Wert?
Puschel 74 - Ja die LED blinkt und es ist eine FS20 S8
Strauch - bei Client steht folgendes: FS20:FHT.*:KS300:USF1000:BS:HMS: :CUL_EM:CUL_WS:CUL_FHTTK:CUL_HOERMANN: :ESA2000:CUL_IR:CUL_TX:Revolt:IT:UNIRoll: :STACKABLE_CC:CUL_RFR:

CUL steht als nicht vor FS20, wie schreibe ich das dort hinein?

Danke euch allen

VG

Markus
Titel: Antw:Anfängerfrust Anlernen von FS20 Komponenten klappt nicht
Beitrag von: stromer-12 am 20 Mai 2014, 10:45:34
Zitat von: xomozoon am 20 Mai 2014, 10:33:26
stromer12 - Wo stelle ich die Frequenz ein und auf welchen Wert?

   Readings:
     2014-05-19 15:11:25   ccconf          freq:868.300MHz bWidth:58KHz rAmpl:42dB sens:4dB


Die Frequenz ist ja eingestellt. Die Bandbreite meinte ich ist etwas schmal.

Bei mir musste ich sie erhöhen damit ich meine Sender alle empfangen kann und liegt bei 406KHz.

set CUL_0 bWidth 406
Titel: Antw:Anfängerfrust Anlernen von FS20 Komponenten klappt nicht
Beitrag von: strauch am 20 Mai 2014, 10:47:57
Zitat von: xomozoon am 20 Mai 2014, 10:33:26
Strauch - bei Client steht folgendes: FS20:FHT.*:KS300:USF1000:BS:HMS: :CUL_EM:CUL_WS:CUL_FHTTK:CUL_HOERMANN: :ESA2000:CUL_IR:CUL_TX:Revolt:IT:UNIRoll: :STACKABLE_CC:CUL_RFR:

CUL steht als nicht vor FS20, wie schreibe ich das dort hinein?

Nein das meine ich geh mal "edit files" und dann klick auf die fhem.cfg. Poste einfach mal deren Inhalt hier.
Titel: Antw:Anfängerfrust Anlernen von FS20 Komponenten klappt nicht
Beitrag von: xomozoon am 20 Mai 2014, 10:50:24
attr global autoload_undefined_devices 1
attr global logfile ./log/fhem-%Y-%m.log
attr global modpath .
attr global motd SecurityCheck:\
\
WEB,WEBphone,WEBtablet has no basicAuth attribute.\
telnetPort has no password/globalpassword attribute.\
\
Restart FHEM for a new check if the problem is fixed,\
or set the global attribute motd to none to supress this message.\

attr global sendStatistics manually
attr global statefile ./log/fhem.save
attr global updateInBackground 1
attr global userattr devStateIcon devStateStyle icon sortby webCmd widgetOverride
attr global verbose 3

define telnetPort telnet 7072 global

define WEB FHEMWEB 8083 global

define WEBphone FHEMWEB 8084 global
attr WEBphone stylesheetPrefix smallscreen

define WEBtablet FHEMWEB 8085 global
attr WEBtablet stylesheetPrefix touchpad

# Fake FileLog entry, to access the fhem log from FHEMWEB
define Logfile FileLog ./log/fhem-%Y-%m.log fakelog

define autocreate autocreate
attr autocreate autosave 1
attr autocreate filelog ./log/%NAME-%Y.log

define eventTypes eventTypes ./log/eventTypes.txt

# Disable this to avoid looking for new USB devices on startup
define initialUsbCheck notify global:INITIALIZED usb create
define CUL_0 CUL /dev/ttyACM0@9600 1034
attr CUL_0 model CUL
attr CUL_0 rfmode SlowRF
attr CUL_0 room Unsorted
Titel: Antw:Anfängerfrust Anlernen von FS20 Komponenten klappt nicht
Beitrag von: strauch am 20 Mai 2014, 10:58:08
Also die fhem.cfg ist ok. ist ja auch noch kein FS20 definiert. Dann versuch mal die Bandbreite zu ändern.
Titel: Antw:Anfängerfrust Anlernen von FS20 Komponenten klappt nicht
Beitrag von: Mitch am 20 Mai 2014, 10:59:56
Also ich habe mit dieser Einstellung die besten Erfahrungen: ccconf => freq:868.350MHz bWidth:464KHz rAmpl:42dB sens:16dB

Mache mal folgende Eingaben:
1. set CUL_0 bWith 464
2. set CUL_0 freq 868.350
3. set CUL_0 sens 16

Danach nochmal mit der FB testen
Titel: Antw:Anfängerfrust Anlernen von FS20 Komponenten klappt nicht
Beitrag von: xomozoon am 20 Mai 2014, 11:13:11
OK, die Einstellungen von Mitch haben was gebracht. Jetzt kann ich den Schalter aus dem Frontend einmal aus und anschalten und dann geht nichts mehr. Erst wenn ich das Frontend neu starte kann ich wieder einmal an und aus schalten.
Titel: Antw:Anfängerfrust Anlernen von FS20 Komponenten klappt nicht
Beitrag von: strauch am 20 Mai 2014, 11:17:23
mach mal save und ein neustart..... vielleicht hilfts.
Titel: Antw:Anfängerfrust Anlernen von FS20 Komponenten klappt nicht
Beitrag von: Mitch am 20 Mai 2014, 11:18:43
Was steht denn im Log?
Titel: Antw:Anfängerfrust Anlernen von FS20 Komponenten klappt nicht
Beitrag von: xomozoon am 20 Mai 2014, 11:25:58
Vom Handy aus (8084) funktioniert es einwandfrei.  :D :D :D


Im Log werden alle Vorgänge dokumentiert.
Titel: Antw:Anfängerfrust Anlernen von FS20 Komponenten klappt nicht
Beitrag von: Mitch am 20 Mai 2014, 11:27:05
Vom Handy geht, aber am Rechner nicht?
Oder geht die FB nicht?

Mach nochmal Copy Paste deiner CFG (aber bitte mit code /code)
Titel: Antw:Anfängerfrust Anlernen von FS20 Komponenten klappt nicht
Beitrag von: xomozoon am 20 Mai 2014, 12:00:18
FB und Handy klappt,  Rechner nicht.

Hier die CFG

attr global autoload_undefined_devices 1
attr global logfile ./log/fhem-%Y-%m.log
attr global modpath .
attr global motd SecurityCheck:\
\
WEB,WEBphone,WEBtablet has no basicAuth attribute.\
telnetPort has no password/globalpassword attribute.\
\
Restart FHEM for a new check if the problem is fixed,\
or set the global attribute motd to none to supress this message.\

attr global sendStatistics manually
attr global statefile ./log/fhem.save
attr global updateInBackground 1
attr global userattr devStateIcon devStateStyle icon sortby webCmd widgetOverride
attr global verbose 3

define telnetPort telnet 7072 global

define WEB FHEMWEB 8083 global

define WEBphone FHEMWEB 8084 global
attr WEBphone stylesheetPrefix smallscreen

define WEBtablet FHEMWEB 8085 global
attr WEBtablet stylesheetPrefix touchpad

# Fake FileLog entry, to access the fhem log from FHEMWEB
define Logfile FileLog ./log/fhem-%Y-%m.log fakelog

define autocreate autocreate
attr autocreate autosave 1
attr autocreate filelog ./log/%NAME-%Y.log

define eventTypes eventTypes ./log/eventTypes.txt

# Disable this to avoid looking for new USB devices on startup
define initialUsbCheck notify global:INITIALIZED usb create
define CUL_0 CUL /dev/ttyACM0@9600 1034
attr CUL_0 model CUL
attr CUL_0 rfmode SlowRF
attr CUL_0 room Unsorted
define CUL_TX_51 CUL_TX 51
attr CUL_TX_51 room CUL_TX
define FileLog_CUL_TX_51 FileLog ./log/CUL_TX_51-%Y.log CUL_TX_51
attr FileLog_CUL_TX_51 logtype temp4hum4:Temp/Hum,text
attr FileLog_CUL_TX_51 room CUL_TX
define SVG_CUL_TX_51 SVG FileLog_CUL_TX_51:temp4hum4:CURRENT
attr SVG_CUL_TX_51 label "CUL_TX_51 Min $data{min1}, Max $data{max1}, Last $data{currval1}"
attr SVG_CUL_TX_51 room Plots
define FS20_805701 FS20 8057 01
attr FS20_805701 IODev CUL_0
attr FS20_805701 room FS20
define FileLog_FS20_805701 FileLog ./log/FS20_805701-%Y.log FS20_805701
attr FileLog_FS20_805701 logtype text
attr FileLog_FS20_805701 room FS20
Titel: Antw:Anfängerfrust Anlernen von FS20 Komponenten klappt nicht
Beitrag von: Mitch am 20 Mai 2014, 12:09:20
Es wäre einfacher, wenn du die CODE Funktion nutzt  :P

Sieht soweit doch gut aus.
Du kannst noch das Modell einstellen
attr FS20_805701 model fs20st
sollte aber nichts ausmachen.

Was zeigt denn der Rechner für Knöpfe? On und OFF?

Was passiert, wenn Du am Rechner schaltest?

Welchen Port rufst Du am Rechner auf und welchen am Handy?
Titel: Antw:Anfängerfrust Anlernen von FS20 Komponenten klappt nicht
Beitrag von: xomozoon am 20 Mai 2014, 13:06:04
Habs irgendwie hin bekommen - cool!

Danke an alle für die Hilfe.
Titel: Antw:Anfängerfrust Anlernen von FS20 Komponenten klappt nicht
Beitrag von: Puschel74 am 20 Mai 2014, 18:38:38
Hallo,

dann noch den Beitrag als Gelöst markieren und die angepinnten Beiträge durchlesen.
Danke.

Grüße