FHEM Forum

FHEM => Anfängerfragen => Thema gestartet von: Franz Tenbrock am 22 April 2013, 11:13:19

Titel: enocean 868 Stick mit Cul 433
Beitrag von: Franz Tenbrock am 22 April 2013, 11:13:19
Hallo, bin ganz neu in diesem Thema. Habe mir einen enocean gekauft was wohl ein Fehler war da ich meien Intertechno Steckdosen die auf 433 MHZ laufen nciht ansprechen kann. Da ich aber einige davon habe möchte ich nciht darauf verzichten, Der Austausch gegen FS20 Stecker ist nciht ganz billig... Macht es Sinn sihc nun den CUL 433 zusätzlich zu gönen oder doch besser einen Cul 868 ?



Anbei meine Config etc
Der Stick ist wohl richtig geflashed?!

Da ich seit langem einige Intertechno Funksteckdosen habe wollte ich nun eine einbinden.
In dem obigen Artikel ist ja schön beschrieben wie das gehen soll. Ich habe also eine Steckdose auf D1 gestellt und dann die Kommandos kopiert.
Da das mit der Bedienleiste oben nicht geklappt hat habe ich das einfach direkt in die FHEM.cfg geschrieben, die ich über "edit files" gefunden habe, das Ganze dann gespeichert...

Hier die cfg:
attr global autoload_undefined_devices 1
attr global logfile /var/log/fhem/fhem-%Y-%m.log
attr global modpath /usr/share/fhem
attr global port 7072 global
attr global statefile /var/log/fhem/fhem.save
attr global userattr icon webCmd
attr global verbose 3
#
# pgm2 / autocreate configfile. Take a look at the other examples for more.
#

define WEB FHEMWEB 8083 global

define WEBphone FHEMWEB 8084 global
attr WEBphone smallscreen 1

define WEBtablet FHEMWEB 8085 global
attr WEBtablet touchpad 1

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

define autocreate autocreate
attr autocreate autosave 1
attr autocreate device_room %TYPE
attr autocreate filelog /var/log/fhem/%NAME-%Y.log
attr autocreate weblink 1
attr autocreate weblink_room Plots
# 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
define TCM310_0 TCM 310 /dev/ttyUSB0@57600

define TvBacklight IT FF0000000F FF F0
attr TvBacklight IODev TCM310_0
attr TvBacklight icon icoLicht.png
attr TvBacklight model itswitch
attr TvBacklight room Wohnzimmer

Hier mein Logfile

2013.04.13 11:33:23 0: Server shutdown
2013.04.13 11:37:20 2: Telnet port 7072 opened
2013.04.13 11:37:21 1: attr global port: Can't open server port at 7072: Address already in use
2013.04.13 11:37:21 2: FHEMWEB port 8083 opened
2013.04.13 11:37:21 2: FHEMWEB port 8084 opened
2013.04.13 11:37:21 2: FHEMWEB port 8085 opened
2013.04.13 11:37:21 2: Creating interface definitions...
2013.04.13 11:37:21 3: Opening CUL device /dev/ttyACM0
2013.04.13 11:37:22 3: Can't open /dev/ttyACM0: Invalid argument
2013.04.13 11:37:22 3: Opening CUL device /dev/ttyACM1
2013.04.13 11:37:22 3: Can't open /dev/ttyACM1: Invalid argument
2013.04.13 11:37:22 3: Opening TCM310 device /dev/ttyUSB0
2013.04.13 11:37:22 3: Setting TCM310 baudrate to 57600
2013.04.13 11:37:22 3: TCM310 device opened
2013.04.13 11:37:22 1: define TCM310_0 TCM 310 /dev/ttyUSB0@57600
2013.04.13 11:37:22 3: Opening TCM310_0 device /dev/ttyUSB0
2013.04.13 11:37:22 3: Setting TCM310_0 baudrate to 57600
2013.04.13 11:37:22 3: TCM310_0 device opened
2013.04.13 11:37:22 3: Opening TCM310 device /dev/ttyUSB1
2013.04.13 11:37:22 3: Can't open /dev/ttyUSB1: No such device
2013.04.13 11:37:22 0: Server started (version 5.2 from 2011-12-31 ($Id: fhem.pl 1402 2012-03-31 11:20:42Z rudolfkoenig $), AVM Build: 84.05.21, pid 818)
2013.04.13 14:59:27 1: /dev/ttyUSB0 disconnected, waiting to reappear
2013.04.13 15:00:29 3: Setting TCM310_0 baudrate to 57600
2013.04.13 15:00:29 1: /dev/ttyUSB0 reappeared (TCM310_0)
2013.04.13 22:23:18 3: Please define Tv first
2013.04.13 22:33:16 2: FHEMWEB port 8083 opened
2013.04.13 22:33:16 2: FHEMWEB port 8084 opened
2013.04.13 22:33:16 2: FHEMWEB port 8085 opened
2013.04.13 22:33:16 3: Opening TCM310_0 device /dev/ttyUSB0
2013.04.13 22:33:16 3: Setting TCM310_0 baudrate to 57600
2013.04.13 22:33:16 3: TCM310_0 device opened
2013.04.13 22:33:16 3: No I/O device found for TvBacklight
2013.04.13 22:35:27 2: IT set TvBacklight on
2013.04.13 22:35:27 2: IT IODev device didn't answer is command correctly: "get TCM310_0″ needs one parameter
2013.04.13 22:35:29 2: IT set TvBacklight off
2013.04.13 22:35:29 2: IT IODev device didn't answer is command correctly: "get TCM310_0″ needs one parameter
2013.04.13 22:35:54 2: IT set TvBacklight off