autocreate findet nichts...

Begonnen von korny, 23 Februar 2017, 15:20:36

Vorheriges Thema - Nächstes Thema

korny

Hallo zusammen,

ich habe vor zwei Tagen fhem auf meinen Raspberry Pi installiert, weil ich meine KNX-Installation damit steuern möchte. Stand heute bin ich also noch ein ausgesprochener Neuling :)

Den knxd-Deamon habe ich bereits auf dem Pi installiert und er funktioniert auch auf dem Pi (mit knxtool groupswrite local: 6/0/13 1 kann ich z. B. über die Kommandozeile eine Lampe einschalten, mit 0 wieder aus). Auch fhem ist auf dem Pi installiert und die autocreate-Funktion ist "active", nur sehe ich dort keine neuen Devices (ich kann Aktoren und Sensoren betätigen, wie ich will, autocreated wird leider nichts) - hat von Euch jemand eine Idee?

Viele Grüße

Christoph

Winterbottom

RaspPi3 über FGW-USB, Eltako Gebäudefunk (FAM14) zentral für EFH mit ca 70 Aktoren und 100 Eingängen, 20x LaCrosse an JeeLink, FHEM 5.7, TabletUI

korny

Das kenne ich schon, vielen Dank (dort geht es um ein nicht funktionierenden knxd, das autocreate funktioniert dort aber wohl; in meinem Fall ist es genau umgekehrt (funktionierender knxd, nur autocreate von fhem will eben nicht)...

korny

Hier mal meine (fast komplett jungfräuliche) fhem.cfg:

attr global userattr cmdIcon devStateIcon devStateStyle icon sortby webCmd widg$
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 associated allowed device with basicAuth.\
telnetPort has no associated allowed device with password/globalpassword.\
\
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 statefile ./log/fhem.save
attr global updateInBackground 1
attr global verbose 3

define telnetPort telnet 7072 global

define WEB FHEMWEB 8083 global
attr WEB stylesheetPrefix dark

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 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

Brice

Zitat von: korny am 23 Februar 2017, 15:20:36
hat von Euch jemand eine Idee?

ja,
verschiebe den Thread in den passenden Bereich (KNX/EIB)   :)
FHEM auf RPi 4 4GB (Buster) | produktiv) CUL 868 für FS20 | S300TH | KS300 | Max!Cube als CUN 868 für TechemWZ | HM-MOD-RPI-PCB für HM | Z-Wave ZME_UZB1 | FRITZ!DECT 200 | HUE | Lightify | Echo Dot | WS3080

Icinger

Hab zwar keine Ahnung von KNX, aber musst du nicht zumindest erstmal irgendein Gateway definen?
Woher soll FHEM denn wissen, dass du den knxd laufen hast?

lg, Stefan

PS: Und pack deine config bitte in Code-Tags, dann ists angenehmer zu lesen.
Verwende deine Zeit nicht mit Erklärungen. Die Menschen hören (lesen) nur, was sie hören (lesen) wollen. (c) Paulo Coelho

korny

Vielen Dank für Eure Hinweise.

Wie verschiebt man denn den Thread woanders hin und wie definiere ich denn ein Gateway?

korny

Sorry, ich war etwas zu schnell; wie man ein Gateway definiert, habe ich inzwischen in einem anderen Forum entdeckt:

<code> define KNX TUL eibd:localhost 1.1.255 </code>

Jetzt funktioniert auch autocreate :) Vielen Dank für den Hinweis!!