Fehlermeldung bei Benutzung des Modules HMRPC

Begonnen von Hans-Ulrich Tag, 30 März 2013, 19:24:30

Vorheriges Thema - Nächstes Thema

Hans-Ulrich Tag

Hallo zusammen,

wenn ich in die fhem.cfg (Version ist 5.3; läuft auf einem RasPi mit wheezy inkl. aller akt. Updates) den Eintrag "define HMCCU1 HMRPC 192.xx.xx.xx 2001" (ohne die ") hinzufüge, erhalte ich nach einem Neustart von FHEM folgenden Fehler:

RPC::XML::Server::new: Unable to create HTTP::Daemon object: HTTP::Daemon: Die Adresse wird bereits verwendet

Die IP-Adr. der CCU ist aber in allen Konfig-Files nur 1x vorhanden. Die Zeile ist danach wieder aus der fhem.cfg verschwunden, ich habe sie aber in den folgenden Code eingefügt.
Allerdings wurden ein paar Geräte automatisch durch autocreate angelegt. Meine aktuelle fhem.cfg sieht so aus:


attr global autoload_undefined_devices 1
attr global holiday2we nrw
attr global latitude xx.yyyyyy
attr global logfile /mnt/fhem/log/fhem-%Y-%m.log
attr global longitude x.yyyyyy
attr global modpath .
attr global motd none
attr global sendStatistics onUpdate
attr global statefile /mnt/fhem/log/fhem.save
attr global uniqueID ./FHEM/FhemUtils/uniqueID
attr global userattr devStateIcon icon sortby webCmd
attr global verbose 3
# attr global logfile ./log/fhem-%Y-%m.log
# attr global statefile ./log/fhem.save
# attr global verbose 3                  # "normal" verbosity (min 1, max 5)

define telnetPort telnet 7072 global

define WEB FHEMWEB 8083 global
attr WEB stylesheetPrefix darktouchpad

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 Logfile FileLog /mnt/fhem/log/fhem-%Y-%m.log fakelog

define autocreate autocreate
attr autocreate autosave 1
attr autocreate device_room %TYPE
attr autocreate filelog /mnt/fhem/log/%NAME-%Y.log
attr autocreate weblink 1
attr autocreate weblink_room Plots
# attr autocreate filelog ./log/%NAME-%Y.log

# Disable this to avoid looking for new USB devices on startup
define initialUsbCheck notify global:INITIALIZED usb create


# If the above notify did not helped, then you probably have to enable some of
# the following lines.  Verify first that /dev/xxx ist correct.

#define FHZ FHZ /dev/USB0
#define CUL CUL /dev/ttyACM0@9600 1234
#attr CUL rfmode HomeMatic

#define EUL TCM 310 /dev/ttyACM0@57600
#define BscBor TCM 120 /dev/ttyUSB0@9600
#define BscSmartConnect TCM 310 /dev/ttyUSB0@57600

# Feiertage
define nrw holiday

# Definition der Zimmer
include ./cfg/Zimmer.cfg

# Konfiguration HM-LAN-Adapter
include ./cfg/HM-LAN.cfg

# Definition FHEM-Aufgaben
include ./cfg/FHEM-Tasks.cfg

#OWFS
include ./cfg/1wire.cfg

#CCU1
include ./cfg/ccu1.cfg

define HMCCU HMRPC 192.xx.xx.xx 2001

define HMDEV_IEQ0067705 HMDEV IEQ0067705
attr HMDEV_IEQ0067705 alias Funkwandthermostat_AZi
attr HMDEV_IEQ0067705 icon icoTempBaum
attr HMDEV_IEQ0067705 room Zi_OG_Arbeitszimmer
define HMDEV_JEQ0313175 HMDEV JEQ0313175
attr HMDEV_JEQ0313175 alias Funkstellantrieb_AZi
attr HMDEV_JEQ0313175 room Zi_OG_Arbeitszimmer
define HMDEV_HEQ0400899 HMDEV HEQ0400899
attr HMDEV_HEQ0400899 alias Funkkombisensor
attr HMDEV_HEQ0400899 room Zi_UG_Terrasse
define HMDEV_GEQ0174363 HMDEV GEQ0174363
attr HMDEV_GEQ0174363 room Zi_UG_Wohnzimmer

define HMDEV_HEQ0031189 HMDEV HEQ0031189
attr HMDEV_HEQ0031189 alias Temp_Feuchtesensor_Db
attr HMDEV_HEQ0031189 room Zi_OG_Dachboden
define FileLog_Temp_Feuchtesensor_Db FileLog /mnt/fhem/log/Dachboden-%Y-%m.log Temp_Feuchtesensor_Db


Die Zeilen mit HMDEV wurden tlw. automatisch angelegt und von mir modifiziert (Zuordnung zu den Räumen).
Die erforderlichen Module sind auf dem RPi installiert und auch fhem ist up-to-date.

Woran liegt's?

Gruß h.tag