FHEM Forum

FHEM => Anfängerfragen => Thema gestartet von: kaiviertel am 02 Dezember 2013, 23:55:40

Titel: Programierung Zeitschaltuhr
Beitrag von: kaiviertel am 02 Dezember 2013, 23:55:40
Hi zusammen

eines vornweg ich bin ein absoluter Neuling auf diesem Gebiet...

Ich habe über FHEM ((Fritzbox 7390 + CUL 868) (die CUL 433 ist noch auf dem Postweg)) meine "Schaltung" der Weihnachtsbeleuchtung realisiert.

So weit so gut. An Wochentagen andere Schaltzeiten als am Wochenende --> das funktioniert ja schon einmal.
Nun möchte ich gern das am 24.12 am 25.12 am 26.12 sowie am 31.12 und am 01.01 die Beleuchtung den ganzen Tag leuchtet sowie am 27.12 und am 02.01 bis morgens um 9:30 Uhr. ???
Kann mir da jemand weiterhelfen?


MFG Kai ;)

hier noch meine fhem.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 statefile ./log/fhem.save
attr global uniqueID ./FHEM/FhemUtils/uniqueID
attr global userattr devStateIcon devStateStyle icon sortby webCmd
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 device_room %TYPE
attr autocreate filelog ./log/%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@38400 1234
#attr CUL rfmode HomeMatic

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

define fbaha FBAHA localhost:2002

define CUL_0 CUL /dev/ttyACM0@38400 1034
attr CUL_0 devStateIcon .*:HOME_Status.1
#attr CUL_0 rfmode HomeMatic

define ELRO_01010_A IT F0F0F0FFFF FF F0
attr ELRO_01010_A IODev CUL_0
attr ELRO_01010_A alias Weihnachtsbeleuchtung
attr ELRO_01010_A model itswitch
attr ELRO_01010_A room Haus
define WBL_AN_WE at *07:00 { if ($we) { fhem("set ELRO_01010_A on-till 09:30") } }
define WBL_AN_WT at *06:00 { if (!$we) { fhem("set ELRO_01010_A on-till 09:30") } }
define WBL_AN_WE_ABEND at *15:00 { if ($we) { fhem("set ELRO_01010_A on-till 22:00") } }
define WBL_AN_WT_ABEND at *15:30 { if (!$we) { fhem("set ELRO_01010_A on-till 22:00") } }
Titel: Antw:Programierung Zeitschaltuhr
Beitrag von: buchner51 am 22 Dezember 2013, 14:25:44
Hallo,
leider kann ich dir nicht helfen.

Aber danke für deine conf. die hat mir sehr weiter geholfen, ach wenn ich die endzeit drausen lassen würde und seperat anlegen (der übersicht wegen).

gruß

und Frohe Tage