Neues Modul: Rolladensteuerung

Begonnen von ThomasRamm, 11 Januar 2016, 00:00:21

Vorheriges Thema - Nächstes Thema

grappa24

Hallo Tim,

wärst Du so nett und beschreibst Deine funktionierenden DOIFs mal mit Pseudocode, dann fällt mir der Transfer auf meinen Typ3 leichter  ;)

In etwa so:
Fährt das phyikalische Rollo hoch und der Status des virtuellen Rollos ist nicht ,,drive-up", dann setze das virtuelle Rollo auf ,,offen". Stoppt dann das physikalische Rollo während das virtuelle Rollo noch hochfährt, dann stoppe auch das virtuelle Rollo.

Danke, Dieter
Gebäudesicherheit/-komfort, PV-Prognose/Verbrauchssteuerung, Heizungssteuerung, Multimedia, ...
KNX, FS20, HM, HUE, Tradfri, Shellies, KLF200, Netatmo, Nuki, SolarForecast, HEOS, Alexa-FHEM, ...
FHEM 6.4, 2 x RasPi 3B+, Debian Bullseye

AndiL

Hallo Thomas,

an einigen Stellen in der Doku ist von einem Zusatzmodul 44_ROLLADEN_Automatic die Rede. In den Attributen von ROLLO gibt es das attr automatic-enabled das dafür gedacht ist.

Meine Suche nach dem Zusatzmodul war leider erfolglos.
Hab ich was übersehen, oder ist das noch in der Mache?

Gruß
Andi

PS: Auch nach Update auf 1007 funktioniert der Testaufbau (Typ1 und 2) noch wunderbar......
FHEM 5.8 auf RasPi 3
***********************************
FB 7390, FS20, HM mit USB-CFG, 1-wire (DS1820 und DS2408), Buderus KM200 mit GB 152, Phillips HUE und Bastelkram....

HoTi

Zitat von: grappa24 am 16 Januar 2016, 20:15:46
Hallo Tim,

wärst Du so nett und beschreibst Deine funktionierenden DOIFs mal mit Pseudocode, dann fällt mir der Transfer auf meinen Typ3 leichter  ;)

In etwa so:
Fährt das phyikalische Rollo hoch und der Status des virtuellen Rollos ist nicht ,,drive-up", dann setze das virtuelle Rollo auf ,,offen". Stoppt dann das physikalische Rollo während das virtuelle Rollo noch hochfährt, dann stoppe auch das virtuelle Rollo.

Danke, Dieter

Muss ich morgen in ruhe machen. Außerdem will ich das noch optimieren. Heute hat meine Frau alle Rollos manuell hoch gefahren und als die automatic Zeit gekommen ist, sind sie alle runter gefahren :-( shit

Zitat von: AndiL am 16 Januar 2016, 20:52:26
Hallo Thomas,

an einigen Stellen in der Doku ist von einem Zusatzmodul 44_ROLLADEN_Automatic die Rede. In den Attributen von ROLLO gibt es das attr automatic-enabled das dafür gedacht ist.

Meine Suche nach dem Zusatzmodul war leider erfolglos.
Hab ich was übersehen, oder ist das noch in der Mache?

Gruß
Andi

PS: Auch nach Update auf 1007 funktioniert der Testaufbau (Typ1 und 2) noch wunderbar......

Boaaaaa echt???!!! Geil kommt da noch was??

Viele Grüße aus  Oberbayern
Tim (RettungsTim)

HoTi

Falls jemand meine Automatik interessiert. Aber so ein Modul würde mich interessieren.

#########################################################################
##  Notwendige Dummy
##  Zweck.........: Dummy definieren
##  Standort......: System
#########################################################################
define Automatik dummy

define OG_kz_RO_mi_dummy ROLLO -
attr OG_kz_RO_mi_dummy automatic-enabled on
attr OG_kz_RO_mi_dummy devStateIcon offen:fts_shutter_10 geschlossen:fts_shutter_100 schlitz:fts_shutter_80 drive-up:fts_shutter_up@red drive-down:fts_shutter_down@red position-100:fts_shutter_100 position-90:fts_shutter_80 position-80:fts_shutter_80 position-70:fts_shutter_70 position-60:fts_shutter_60 position-50:fts_shutter_50 position-40:fts_shutter_40 position-30:fts_shutter_30 position-20:fts_shutter_20 position-10:fts_shutter_10 position-0:fts_shutter_10
attr OG_kz_RO_mi_dummy drive-down-time-to-100 23
attr OG_kz_RO_mi_dummy drive-up-time-to-100 28
attr OG_kz_RO_mi_dummy funktionsweise Typ2
attr OG_kz_RO_mi_dummy kanal1 OG_kz_RO_mi_HOCH
attr OG_kz_RO_mi_dummy kanal2 OG_kz_RO_mi_RUNTER
attr OG_kz_RO_mi_dummy room Kinderzimmer
attr OG_kz_RO_mi_dummy verbose 0
attr OG_kz_RO_mi_dummy webCmd offen:geschlossen:schlitz:position

define OG_kz_RO_mi_manuell_auf DOIF ([OG_kz_RO_mi_HOCH] eq "on" and [OG_kz_RO_mi_RUNTER] eq "on" and [OG_kz_RO_mi_dummy] ne "drive-up") (set OG_kz_RO_mi_RUNTER off) DOELSEIF ([OG_kz_RO_mi_HOCH] eq "on" and [OG_kz_RO_mi_dummy] ne "drive-up") (set OG_kz_RO_mi_dummy extern offen) DOELSEIF ([OG_kz_RO_mi_HOCH] eq "off") (set OG_kz_RO_mi_dummy extern stop)
attr OG_kz_RO_mi_manuell_auf room Kinderzimmer
define OG_kz_RO_mi_manuell_ab DOIF ([OG_kz_RO_mi_HOCH] eq "on" and [OG_kz_RO_mi_RUNTER] eq "on" and [OG_kz_RO_mi_dummy] ne "drive-down") (set OG_kz_RO_mi_HOCH off) DOELSEIF ([OG_kz_RO_mi_RUNTER] eq "on" and [OG_kz_RO_mi_dummy] ne "drive-down") (set OG_kz_RO_mi_dummy extern geschlossen) DOELSEIF ([OG_kz_RO_mi_RUNTER] eq "off") (set OG_kz_RO_mi_dummy extern stop)
attr OG_kz_RO_mi_manuell_ab room Kinderzimmer

define OG_sz_RO_mi_dummy ROLLO -
attr OG_sz_RO_mi_dummy automatic-enabled on
attr OG_sz_RO_mi_dummy devStateIcon offen:fts_shutter_10 geschlossen:fts_shutter_100 schlitz:fts_shutter_80 drive-up:fts_shutter_up@red drive-down:fts_shutter_down@red position-100:fts_shutter_100 position-90:fts_shutter_80 position-80:fts_shutter_80 position-70:fts_shutter_70 position-60:fts_shutter_60 position-50:fts_shutter_50 position-40:fts_shutter_40 position-30:fts_shutter_30 position-20:fts_shutter_20 position-10:fts_shutter_10 position-0:fts_shutter_10
attr OG_sz_RO_mi_dummy drive-down-time-to-100 23
attr OG_sz_RO_mi_dummy drive-up-time-to-100 28
attr OG_sz_RO_mi_dummy funktionsweise Typ2
attr OG_sz_RO_mi_dummy kanal1 OG_sz_RO_mi_HOCH
attr OG_sz_RO_mi_dummy kanal2 OG_sz_RO_mi_RUNTER
attr OG_sz_RO_mi_dummy room Schlafzimmer
attr OG_sz_RO_mi_dummy verbose 0
attr OG_sz_RO_mi_dummy webCmd offen:geschlossen:schlitz:position

define OG_sz_RO_mi_manuell_auf DOIF ([OG_sz_RO_mi_HOCH] eq "on" and [OG_sz_RO_mi_RUNTER] eq "on" and [OG_sz_RO_mi_dummy] ne "drive-up") (set OG_sz_RO_mi_RUNTER off) DOELSEIF ([OG_sz_RO_mi_HOCH] eq "on" and [OG_sz_RO_mi_dummy] ne "drive-up") (set OG_sz_RO_mi_dummy extern offen) DOELSEIF ([OG_sz_RO_mi_HOCH] eq "off") (set OG_sz_RO_mi_dummy extern stop)
attr OG_sz_RO_mi_manuell_auf room Schlafzimmer
define OG_sz_RO_mi_manuell_ab DOIF ([OG_sz_RO_mi_HOCH] eq "on" and [OG_sz_RO_mi_RUNTER] eq "on" and [OG_sz_RO_mi_dummy] ne "drive-down") (set OG_sz_RO_mi_HOCH off) DOELSEIF ([OG_sz_RO_mi_RUNTER] eq "on" and [OG_sz_RO_mi_dummy] ne "drive-down") (set OG_sz_RO_mi_dummy extern geschlossen) DOELSEIF ([OG_sz_RO_mi_RUNTER] eq "off") (set OG_sz_RO_mi_dummy extern stop)
attr OG_sz_RO_mi_manuell_ab room Schlafzimmer

define EG_wc_RO_mi_dummy ROLLO -
attr EG_wc_RO_mi_dummy automatic-enabled on
attr EG_wc_RO_mi_dummy devStateIcon offen:fts_shutter_10 geschlossen:fts_shutter_100 schlitz:fts_shutter_80 drive-up:fts_shutter_up@red drive-down:fts_shutter_down@red position-100:fts_shutter_100 position-90:fts_shutter_80 position-80:fts_shutter_80 position-70:fts_shutter_70 position-60:fts_shutter_60 position-50:fts_shutter_50 position-40:fts_shutter_40 position-30:fts_shutter_30 position-20:fts_shutter_20 position-10:fts_shutter_10 position-0:fts_shutter_10
attr EG_wc_RO_mi_dummy drive-down-time-to-100 13.6
attr EG_wc_RO_mi_dummy drive-up-time-to-100 16.1
attr EG_wc_RO_mi_dummy funktionsweise Typ2
attr EG_wc_RO_mi_dummy kanal1 EG_wc_RO_mi_HOCH
attr EG_wc_RO_mi_dummy kanal2 EG_wc_RO_mi_RUNTER
attr EG_wc_RO_mi_dummy room WC
attr EG_wc_RO_mi_dummy verbose 0
attr EG_wc_RO_mi_dummy webCmd offen:geschlossen:schlitz:position

define EG_wc_RO_mi_manuell_auf DOIF ([EG_wc_RO_mi_HOCH] eq "on" and [EG_wc_RO_mi_RUNTER] eq "on" and [EG_wc_RO_mi_dummy] ne "drive-up") (set EG_wc_RO_mi_RUNTER off) DOELSEIF ([EG_wc_RO_mi_HOCH] eq "on" and [EG_wc_RO_mi_dummy] ne "drive-up") (set EG_wc_RO_mi_dummy extern offen) DOELSEIF ([EG_wc_RO_mi_HOCH] eq "off") (set EG_wc_RO_mi_dummy extern stop)
attr EG_wc_RO_mi_manuell_auf room WC
define EG_wc_RO_mi_manuell_ab DOIF ([EG_wc_RO_mi_HOCH] eq "on" and [EG_wc_RO_mi_RUNTER] eq "on" and [EG_wc_RO_mi_dummy] ne "drive-down") (set EG_wc_RO_mi_HOCH off) DOELSEIF ([EG_wc_RO_mi_RUNTER] eq "on" and [EG_wc_RO_mi_dummy] ne "drive-down") (set EG_wc_RO_mi_dummy extern geschlossen) DOELSEIF ([EG_wc_RO_mi_RUNTER] eq "off") (set EG_wc_RO_mi_dummy extern stop)
attr EG_wc_RO_mi_manuell_ab room WC

define EG_ku_RO_mi_dummy ROLLO -
attr EG_ku_RO_mi_dummy automatic-enabled on
attr EG_ku_RO_mi_dummy devStateIcon offen:fts_shutter_10 geschlossen:fts_shutter_100 schlitz:fts_shutter_80 drive-up:fts_shutter_up@red drive-down:fts_shutter_down@red position-100:fts_shutter_100 position-90:fts_shutter_80 position-80:fts_shutter_80 position-70:fts_shutter_70 position-60:fts_shutter_60 position-50:fts_shutter_50 position-40:fts_shutter_40 position-30:fts_shutter_30 position-20:fts_shutter_20 position-10:fts_shutter_10 position-0:fts_shutter_10
attr EG_ku_RO_mi_dummy drive-down-time-to-100 19
attr EG_ku_RO_mi_dummy drive-up-time-to-100 22.8
attr EG_ku_RO_mi_dummy funktionsweise Typ2
attr EG_ku_RO_mi_dummy kanal1 EG_ku_RO_mi_HOCH
attr EG_ku_RO_mi_dummy kanal2 EG_ku_RO_mi_RUNTER
attr EG_ku_RO_mi_dummy room Küche
attr EG_ku_RO_mi_dummy verbose 0
attr EG_ku_RO_mi_dummy webCmd offen:geschlossen:schlitz:position

define EG_ku_RO_mi_manuell_auf DOIF ([EG_ku_RO_mi_HOCH] eq "on" and [EG_ku_RO_mi_RUNTER] eq "on" and [EG_ku_RO_mi_dummy] ne "drive-up") (set EG_ku_RO_mi_RUNTER off) DOELSEIF ([EG_ku_RO_mi_HOCH] eq "on" and [EG_ku_RO_mi_dummy] ne "drive-up") (set EG_ku_RO_mi_dummy extern offen) DOELSEIF ([EG_ku_RO_mi_HOCH] eq "off") (set EG_ku_RO_mi_dummy extern stop)
attr EG_ku_RO_mi_manuell_auf room Küche
define EG_ku_RO_mi_manuell_ab DOIF ([EG_ku_RO_mi_HOCH] eq "on" and [EG_ku_RO_mi_RUNTER] eq "on" and [EG_ku_RO_mi_dummy] ne "drive-down") (set EG_ku_RO_mi_HOCH off) DOELSEIF ([EG_ku_RO_mi_RUNTER] eq "on" and [EG_ku_RO_mi_dummy] ne "drive-down") (set EG_ku_RO_mi_dummy extern geschlossen) DOELSEIF ([EG_ku_RO_mi_RUNTER] eq "off") (set EG_ku_RO_mi_dummy extern stop)
attr EG_ku_RO_mi_manuell_ab room Küche

define EG_ez_RO_mi_dummy ROLLO -
attr EG_ez_RO_mi_dummy automatic-enabled on
attr EG_ez_RO_mi_dummy devStateIcon offen:fts_shutter_10 geschlossen:fts_shutter_100 schlitz:fts_shutter_80 drive-up:fts_shutter_up@red drive-down:fts_shutter_down@red position-100:fts_shutter_100 position-90:fts_shutter_80 position-80:fts_shutter_80 position-70:fts_shutter_70 position-60:fts_shutter_60 position-50:fts_shutter_50 position-40:fts_shutter_40 position-30:fts_shutter_30 position-20:fts_shutter_20 position-10:fts_shutter_10 position-0:fts_shutter_10
attr EG_ez_RO_mi_dummy drive-down-time-to-100 23
attr EG_ez_RO_mi_dummy drive-up-time-to-100 28
attr EG_ez_RO_mi_dummy funktionsweise Typ2
attr EG_ez_RO_mi_dummy kanal1 EG_ez_RO_mi_HOCH
attr EG_ez_RO_mi_dummy kanal2 EG_ez_RO_mi_RUNTER
attr EG_ez_RO_mi_dummy room Esszimmer
attr EG_ez_RO_mi_dummy verbose 0
attr EG_ez_RO_mi_dummy webCmd offen:geschlossen:schlitz:position

define EG_ez_RO_mi_manuell_auf DOIF ([EG_ez_RO_mi_HOCH] eq "on" and [EG_ez_RO_mi_RUNTER] eq "on" and [EG_ez_RO_mi_dummy] ne "drive-up") (set EG_ez_RO_mi_RUNTER off) DOELSEIF ([EG_ez_RO_mi_HOCH] eq "on" and [EG_ez_RO_mi_dummy] ne "drive-up") (set EG_ez_RO_mi_dummy extern offen) DOELSEIF ([EG_ez_RO_mi_HOCH] eq "off") (set EG_ez_RO_mi_dummy extern stop)
attr EG_ez_RO_mi_manuell_auf room Esszimmer
define EG_ez_RO_mi_manuell_ab DOIF ([EG_ez_RO_mi_HOCH] eq "on" and [EG_ez_RO_mi_RUNTER] eq "on" and [EG_ez_RO_mi_dummy] ne "drive-down") (set EG_ez_RO_mi_RUNTER off) DOELSEIF ([EG_ez_RO_mi_RUNTER] eq "on" and [EG_ez_RO_mi_dummy] ne "drive-down") (set EG_ez_RO_mi_dummy extern geschlossen) DOELSEIF ([EG_ez_RO_mi_RUNTER] eq "off") (set EG_ez_RO_mi_dummy extern stop)
attr EG_ez_RO_mi_manuell_ab room Esszimmer

define EG_wz_RO_li_dummy ROLLO -
attr EG_wz_RO_li_dummy automatic-enabled on
attr EG_wz_RO_li_dummy devStateIcon offen:fts_shutter_10 geschlossen:fts_shutter_100 schlitz:fts_shutter_80 drive-up:fts_shutter_up@red drive-down:fts_shutter_down@red position-100:fts_shutter_100 position-90:fts_shutter_80 position-80:fts_shutter_80 position-70:fts_shutter_70 position-60:fts_shutter_60 position-50:fts_shutter_50 position-40:fts_shutter_40 position-30:fts_shutter_30 position-20:fts_shutter_20 position-10:fts_shutter_10 position-0:fts_shutter_10
attr EG_wz_RO_li_dummy drive-down-time-to-100 21.5
attr EG_wz_RO_li_dummy drive-up-time-to-100 26.3
attr EG_wz_RO_li_dummy funktionsweise Typ2
attr EG_wz_RO_li_dummy kanal1 EG_wz_RO_li_HOCH
attr EG_wz_RO_li_dummy kanal2 EG_wz_RO_li_RUNTER
attr EG_wz_RO_li_dummy room Wohnzimmer
attr EG_wz_RO_li_dummy verbose 0
attr EG_wz_RO_li_dummy webCmd offen:geschlossen:schlitz:position

define EG_wz_RO_li_manuell_auf DOIF ([EG_wz_RO_li_HOCH] eq "on" and [EG_wz_RO_li_RUNTER] eq "on" and [EG_wz_RO_li_dummy] ne "drive-up") (set EG_wz_RO_li_RUNTER off) DOELSEIF ([EG_wz_RO_li_HOCH] eq "on" and [EG_wz_RO_li_dummy] ne "drive-up") (set EG_wz_RO_li_dummy extern offen) DOELSEIF ([EG_wz_RO_li_HOCH] eq "off") (set EG_wz_RO_li_dummy extern stop)
attr EG_wz_RO_li_manuell_auf room Wohnzimmer
define EG_wz_RO_li_manuell_ab DOIF ([EG_wz_RO_li_HOCH] eq "on" and [EG_wz_RO_li_RUNTER] eq "on" and [EG_wz_RO_li_dummy] ne "drive-down") (set EG_wz_RO_li_HOCH off) DOELSEIF ([EG_wz_RO_li_RUNTER] eq "on" and [EG_wz_RO_li_dummy] ne "drive-down") (set EG_wz_RO_li_dummy extern geschlossen) DOELSEIF ([EG_wz_RO_li_RUNTER] eq "off") (set EG_wz_RO_li_dummy extern stop)
attr EG_wz_RO_li_manuell_ab room Wohnzimmer

define EG_wz_RO_re_dummy ROLLO -
attr EG_wz_RO_re_dummy automatic-enabled on
attr EG_wz_RO_re_dummy devStateIcon offen:fts_shutter_10 geschlossen:fts_shutter_100 schlitz:fts_shutter_80 drive-up:fts_shutter_up@red drive-down:fts_shutter_down@red position-100:fts_shutter_100 position-90:fts_shutter_80 position-80:fts_shutter_80 position-70:fts_shutter_70 position-60:fts_shutter_60 position-50:fts_shutter_50 position-40:fts_shutter_40 position-30:fts_shutter_30 position-20:fts_shutter_20 position-10:fts_shutter_10 position-0:fts_shutter_10
attr EG_wz_RO_re_dummy drive-down-time-to-100 21.5
attr EG_wz_RO_re_dummy drive-up-time-to-100 26.3
attr EG_wz_RO_re_dummy funktionsweise Typ2
attr EG_wz_RO_re_dummy kanal1 EG_wz_RO_re_HOCH
attr EG_wz_RO_re_dummy kanal2 EG_wz_RO_re_RUNTER
attr EG_wz_RO_re_dummy room Wohnzimmer
attr EG_wz_RO_re_dummy verbose 0
attr EG_wz_RO_re_dummy webCmd offen:geschlossen:schlitz:position

define EG_wz_RO_re_manuell_auf DOIF ([EG_wz_RO_re_HOCH] eq "on" and [EG_wz_RO_re_RUNTER] eq "on" and [EG_wz_RO_re_dummy] ne "drive-up") (set EG_wz_RO_re_RUNTER off) DOELSEIF ([EG_wz_RO_re_HOCH] eq "on" and [EG_wz_RO_re_dummy] ne "drive-up") (set EG_wz_RO_re_dummy extern offen) DOELSEIF ([EG_wz_RO_re_HOCH] eq "off") (set EG_wz_RO_re_dummy extern stop)
attr EG_wz_RO_re_manuell_auf room Wohnzimmer
define EG_wz_RO_re_manuell_ab DOIF ([EG_wz_RO_re_HOCH] eq "on" and [EG_wz_RO_re_RUNTER] eq "on" and [EG_wz_RO_re_dummy] ne "drive-down") (set EG_wz_RO_re_HOCH off) DOELSEIF ([EG_wz_RO_re_RUNTER] eq "on" and [EG_wz_RO_re_dummy] ne "drive-down") (set EG_wz_RO_re_dummy extern geschlossen) DOELSEIF ([EG_wz_RO_re_RUNTER] eq "off") (set EG_wz_RO_re_dummy extern stop)
attr EG_wz_RO_re_manuell_ab room Wohnzimmer

define du_Rollo_Master dummy
attr du_Rollo_Master alias Automatik aktiv:
attr du_Rollo_Master devStateIcon .*:rc_BLANK
attr du_Rollo_Master group Rollos Settings
attr du_Rollo_Master icon fts_shutter_automatic
attr du_Rollo_Master room System
attr du_Rollo_Master setList state:an,aus
attr du_Rollo_Master sortby 01
attr du_Rollo_Master webCmd state

define du_Rollo_Art dummy
attr du_Rollo_Art alias Art:
attr du_Rollo_Art devStateIcon .*:rc_BLANK
attr du_Rollo_Art group Rollos Settings
attr du_Rollo_Art icon fts_shutter_updown
attr du_Rollo_Art room System
attr du_Rollo_Art setList state:Normal,Urlaub,Weihnachten
attr du_Rollo_Art sortby 02
attr du_Rollo_Art webCmd state

define du_Rollo_Zeit_ho dummy
attr du_Rollo_Zeit_ho alias Zeit HOCH:
attr du_Rollo_Zeit_ho devStateIcon .*:rc_BLANK
attr du_Rollo_Zeit_ho group Rollos Settings
attr du_Rollo_Zeit_ho icon icoUhr
attr du_Rollo_Zeit_ho room System
attr du_Rollo_Zeit_ho setList state:time
attr du_Rollo_Zeit_ho sortby 10
attr du_Rollo_Zeit_ho webCmd state

define du_Rollo_Zeit_ho_WE dummy
attr du_Rollo_Zeit_ho_WE alias Zeit HOCH WE:
attr du_Rollo_Zeit_ho_WE devStateIcon .*:rc_BLANK
attr du_Rollo_Zeit_ho_WE group Rollos Settings
attr du_Rollo_Zeit_ho_WE icon icoUhr
attr du_Rollo_Zeit_ho_WE room System
attr du_Rollo_Zeit_ho_WE setList state:time
attr du_Rollo_Zeit_ho_WE sortby 11
attr du_Rollo_Zeit_ho_WE webCmd state

define du_Rollo_Luminosity_ru dummy
attr du_Rollo_Luminosity_ru alias Helligkeit RUNTER
attr du_Rollo_Luminosity_ru devStateIcon .*:rc_BLANK
attr du_Rollo_Luminosity_ru group Rollos Settings
attr du_Rollo_Luminosity_ru icon fts_shutter_down
attr du_Rollo_Luminosity_ru room System
attr du_Rollo_Luminosity_ru setList state:textField
attr du_Rollo_Luminosity_ru sortby 20
attr du_Rollo_Luminosity_ru webCmd state
   
define du_Rollo_Zeit_ru_start dummy
attr du_Rollo_Zeit_ru_start alias Zeit RUNTER start:
attr du_Rollo_Zeit_ru_start devStateIcon .*:rc_BLANK
attr du_Rollo_Zeit_ru_start group Rollos Settings
attr du_Rollo_Zeit_ru_start icon icoUhr
attr du_Rollo_Zeit_ru_start room System
attr du_Rollo_Zeit_ru_start setList state:time
attr du_Rollo_Zeit_ru_start sortby 21
attr du_Rollo_Zeit_ru_start webCmd state

define du_Rollo_Zeit_ru_ende dummy
attr du_Rollo_Zeit_ru_ende alias Zeit RUNTER ende:
attr du_Rollo_Zeit_ru_ende devStateIcon .*:rc_BLANK
attr du_Rollo_Zeit_ru_ende group Rollos Settings
attr du_Rollo_Zeit_ru_ende icon icoUhr
attr du_Rollo_Zeit_ru_ende room System
attr du_Rollo_Zeit_ru_ende setList state:time
attr du_Rollo_Zeit_ru_ende sortby 22
attr du_Rollo_Zeit_ru_ende webCmd state

define du_Rollo_kz dummy
attr du_Rollo_kz alias Automatik Kinderzimmer aktiv:
attr du_Rollo_kz devStateIcon .*:rc_BLANK
attr du_Rollo_kz group Rollos Settings
attr du_Rollo_kz icon fts_shutter_automatic
attr du_Rollo_kz room System
attr du_Rollo_kz setList state:an,aus
attr du_Rollo_kz sortby 02
attr du_Rollo_kz webCmd state

define du_Rollo_sz dummy
attr du_Rollo_sz alias Automatik Schlafzimmer aktiv:
attr du_Rollo_sz devStateIcon .*:rc_BLANK
attr du_Rollo_sz group Rollos Settings
attr du_Rollo_sz icon fts_shutter_automatic
attr du_Rollo_sz room System
attr du_Rollo_sz setList state:an,aus
attr du_Rollo_sz sortby 02
attr du_Rollo_sz webCmd state

define du_Rollo_wz dummy
attr du_Rollo_wz alias Automatik Wohnzimmer aktiv:
attr du_Rollo_wz devStateIcon .*:rc_BLANK
attr du_Rollo_wz group Rollos Settings
attr du_Rollo_wz icon fts_shutter_automatic
attr du_Rollo_wz room System
attr du_Rollo_wz setList state:an,aus
attr du_Rollo_wz sortby 02
attr du_Rollo_wz webCmd state

define du_Rollo_ez dummy
attr du_Rollo_ez alias Automatik Esszimmer aktiv:
attr du_Rollo_ez devStateIcon .*:rc_BLANK
attr du_Rollo_ez group Rollos Settings
attr du_Rollo_ez icon fts_shutter_automatic
attr du_Rollo_ez room System
attr du_Rollo_ez setList state:an,aus
attr du_Rollo_ez sortby 02
attr du_Rollo_ez webCmd state

define du_Rollo_ku dummy
attr du_Rollo_ku alias Automatik Küche aktiv:
attr du_Rollo_ku devStateIcon .*:rc_BLANK
attr du_Rollo_ku group Rollos Settings
attr du_Rollo_ku icon fts_shutter_automatic
attr du_Rollo_ku room System
attr du_Rollo_ku setList state:an,aus
attr du_Rollo_ku sortby 02
attr du_Rollo_ku webCmd state

define du_Rollo_wc dummy
attr du_Rollo_wc alias Automatik WC aktiv:
attr du_Rollo_wc devStateIcon .*:rc_BLANK
attr du_Rollo_wc group Rollos Settings
attr du_Rollo_wc icon fts_shutter_automatic
attr du_Rollo_wc room System
attr du_Rollo_wc setList state:an,aus
attr du_Rollo_wc sortby 02
attr du_Rollo_wc webCmd state

define di_OG_kz_RO_mi DOIF ([du_Rollo_kz] eq "an" and [du_Rollo_Master] eq "an" and ([OG_kz_TK_mi] eq "closed" or [OG_kz_TK_mi] eq "tilted") and ([GT_ga_BM:brightness] < [du_Rollo_Luminosity_ru] and [{ReadingsVal("du_Rollo_Zeit_ru_start", "state", "22:00:00")}-{ReadingsVal("du_Rollo_Zeit_ru_ende", "state", "22:00:00")}]) or ([du_Rollo_kz] eq "an" and [du_Rollo_Master] eq "an" and [OG_kz_TK_mi] eq "closed" and [{ReadingsVal("du_Rollo_Zeit_ru_ende", "state", "22:00:00")}])) (set OG_kz_RO_mi_dummy schlitz) DOELSEIF ([du_Rollo_Master] eq "an" and ([{ReadingsVal("du_Rollo_Zeit_ho", "state", "10:00:00")}|8] or [{ReadingsVal("du_Rollo_Zeit_ho_WE", "state", "10:00:00")}|7])) (set OG_kz_RO_mi_dummy geschlossen)

define di_OG_sz_RO_mi DOIF ([du_Rollo_sz] eq "an" and [du_Rollo_Master] eq "an" and ([OG_sz_TK_mi] eq "closed" or [OG_sz_TK_mi] eq "tilted") and ([GT_ga_BM:brightness] < [du_Rollo_Luminosity_ru] and [{ReadingsVal("du_Rollo_Zeit_ru_start", "state", "22:00:00")}-{ReadingsVal("du_Rollo_Zeit_ru_ende", "state", "22:00:00")}]) or ([du_Rollo_sz] eq "an" and [du_Rollo_Master] eq "an" and [OG_sz_TK_mi] eq "closed" and [{ReadingsVal("du_Rollo_Zeit_ru_ende", "state", "22:00:00")}])) (define at_OG_sz_RO_mi at +00:00:05 set OG_sz_RO_mi_dummy schlitz) DOELSEIF ([du_Rollo_Master] eq "an" and ([{ReadingsVal("du_Rollo_Zeit_ho", "state", "10:00:00")}|8] or [{ReadingsVal("du_Rollo_Zeit_ho_WE", "state", "10:00:00")}|7])) (define at_OG_sz_RO_mi at +00:00:05 set OG_sz_RO_mi_dummy geschlossen)

define di_EG_wz_RO_li DOIF ([du_Rollo_wz] eq "an" and [du_Rollo_Master] eq "an" and ([GT_ga_BM:brightness] < [du_Rollo_Luminosity_ru] and [{ReadingsVal("du_Rollo_Zeit_ru_start", "state", "22:00:00")}-{ReadingsVal("du_Rollo_Zeit_ru_ende", "state", "22:00:00")}]) or ([du_Rollo_wz] eq "an" and [du_Rollo_Master] eq "an" and [{ReadingsVal("du_Rollo_Zeit_ru_ende", "state", "22:00:00")}])) (define at_EG_wz_RO_li at +00:00:10 set EG_wz_RO_li_dummy schlitz) DOELSEIF ([du_Rollo_Master] eq "an" and ([{ReadingsVal("du_Rollo_Zeit_ho", "state", "10:00:00")}|8] or [{ReadingsVal("du_Rollo_Zeit_ho_WE", "state", "10:00:00")}|7])) (define at_EG_wz_RO_li at +00:00:10 set EG_wz_RO_li_dummy geschlossen)

define di_EG_wz_RO_re DOIF ([du_Rollo_wz] eq "an" and [du_Rollo_Master] eq "an" and ([GT_ga_BM:brightness] < [du_Rollo_Luminosity_ru] and [{ReadingsVal("du_Rollo_Zeit_ru_start", "state", "22:00:00")}-{ReadingsVal("du_Rollo_Zeit_ru_ende", "state", "22:00:00")}]) or ([du_Rollo_wz] eq "an" and [du_Rollo_Master] eq "an" and [{ReadingsVal("du_Rollo_Zeit_ru_ende", "state", "22:00:00")}])) (define at_EG_wz_RO_re at +00:00:15 set EG_wz_RO_re_dummy schlitz) DOELSEIF ([du_Rollo_Master] eq "an" and ([{ReadingsVal("du_Rollo_Zeit_ho", "state", "10:00:00")}|8] or [{ReadingsVal("du_Rollo_Zeit_ho_WE", "state", "10:00:00")}|7])) (define at_EG_wz_RO_re at +00:00:15 set EG_wz_RO_re_dummy geschlossen)

define di_EG_ez_RO_mi DOIF ([du_Rollo_ez] eq "an" and [du_Rollo_Master] eq "an" and ([EG_ez_TK_mi] eq "closed" or [EG_ez_TK_mi] eq "tilted") and ([GT_ga_BM:brightness] < [du_Rollo_Luminosity_ru] and [{ReadingsVal("du_Rollo_Zeit_ru_start", "state", "22:00:00")}-{ReadingsVal("du_Rollo_Zeit_ru_ende", "state", "22:00:00")}]) or ([du_Rollo_ez] eq "an" and [du_Rollo_Master] eq "an" and [EG_ez_TK_mi] eq "closed" and [{ReadingsVal("du_Rollo_Zeit_ru_ende", "state", "22:00:00")}])) (define at_EG_ez_RO_mi at +00:00:20 set EG_ez_RO_mi_dummy schlitz) DOELSEIF ([du_Rollo_Master] eq "an" and ([{ReadingsVal("du_Rollo_Zeit_ho", "state", "10:00:00")}|8] or [{ReadingsVal("du_Rollo_Zeit_ho_WE", "state", "10:00:00")}|7])) (define at_EG_ez_RO_mi at +00:00:20 set EG_ez_RO_mi_dummy geschlossen)

define di_EG_ku_RO_mi DOIF ([du_Rollo_ku] eq "an" and [du_Rollo_Master] eq "an" and ([GT_ga_BM:brightness] < [du_Rollo_Luminosity_ru] and [{ReadingsVal("du_Rollo_Zeit_ru_start", "state", "22:00:00")}-{ReadingsVal("du_Rollo_Zeit_ru_ende", "state", "22:00:00")}]) or ([du_Rollo_ku] eq "an" and [du_Rollo_Master] eq "an" and [{ReadingsVal("du_Rollo_Zeit_ru_ende", "state", "22:00:00")}])) (define at_EG_ku_RO_mi at +00:00:25 set EG_ku_RO_mi_dummy schlitz) DOELSEIF ([du_Rollo_Master] eq "an" and ([{ReadingsVal("du_Rollo_Zeit_ho", "state", "10:00:00")}|8] or [{ReadingsVal("du_Rollo_Zeit_ho_WE", "state", "10:00:00")}|7])) (define at_EG_ku_RO_mi at +00:00:25 set EG_ku_RO_mi_dummy geschlossen)

define di_EG_wc_RO_mi DOIF ([du_Rollo_wc] eq "an" and [du_Rollo_Master] eq "an" and ([GT_ga_BM:brightness] < [du_Rollo_Luminosity_ru] and [{ReadingsVal("du_Rollo_Zeit_ru_start", "state", "22:00:00")}-{ReadingsVal("du_Rollo_Zeit_ru_ende", "state", "22:00:00")}]) or ([du_Rollo_wc] eq "an" and [du_Rollo_Master] eq "an" and [{ReadingsVal("du_Rollo_Zeit_ru_ende", "state", "22:00:00")}])) (define at_EG_wc_RO_mi at +00:00:35 set EG_wc_RO_mi_dummy schlitz) DOELSEIF ([du_Rollo_Master] eq "an" and ([{ReadingsVal("du_Rollo_Zeit_ho", "state", "10:00:00")}|8] or [{ReadingsVal("du_Rollo_Zeit_ho_WE", "state", "10:00:00")}|7])) (define at_EG_wc_RO_mi at +00:00:30 set EG_wc_RO_mi_dummy geschlossen)

# Allegemeins zu Rollo

define di_Rollo_Art DOIF ([du_Rollo_Art:state] eq "Urlaub") (attr UrlaubTimer disable 0) DOELSE ([du_Rollo_Art:state] ne "Urlaub") (attr UrlaubTimer disable 1)

define di_Rollo_SetTime DOIF ([global:?INITIALIZED] or [du_Rollo_Zeit_ho:?] or [du_Rollo_Zeit_ho_WE:?] or [du_Rollo_Luminosity_ru:?] or [du_Rollo_Zeit_ru_start:?] or [du_Rollo_Zeit_ru_ende:?] or [du_OG_se:?] or [du_EG_se:?] or [du_OG_se_TI:?] or [du_EG_se_TI:?]) (modify di_EG_ku_RO_mi [di_EG_ku_RO_mi:&DEF], modify di_EG_wc_RO_mi [di_EG_wc_RO_mi:&DEF], modify di_EG_ez_RO_mi [di_EG_ez_RO_mi:&DEF], modify di_EG_wz_RO_li [di_EG_wz_RO_li:&DEF], modify di_EG_wz_RO_re [di_EG_wz_RO_re:&DEF], modify di_OG_sz_RO_mi [di_OG_sz_RO_mi:&DEF], modify di_OG_kz_RO_mi [di_OG_kz_RO_mi:&DEF], modify di_OG_kz_SE_mi [di_OG_kz_SE_mi:&DEF], modify di_OG_sz_SE_mi [di_OG_sz_SE_mi:&DEF], modify di_EG_wz_SE_li [di_EG_wz_SE_li:&DEF], modify di_EG_wz_SE_re [di_EG_wz_SE_re:&DEF])
attr di_Rollo_SetTime do always

Viele Grüße aus  Oberbayern
Tim (RettungsTim)

miche

Hab jetzt das mal mit meinen FS20RSU getestet.
Mit dem neuem Modul, bei dem die Funktionsweise als Attr gesetzt wird, funktioniert es nicht mehr.
Vorher hat alles funktioniert.
Was geb ich da falsch ein?

miche

im log steht

ROLLO sendet: set   on
2016.01.17 16:38:42 3: ROLLO sendet:
2016.01.17 16:38:42 3: set   on : Please define on first

bei off ist es das gleiche

ThomasRamm

Hallo miche,
sieht so aus als wenn die kanäle nicht als attribut gesetzt sind.
Das funktioniert jetzt nicht mehr über die define, sondern als attr

hallo AndiL,
ja ich habe noch ein Modul für meine Rollo Automatisierung geschrieben.
Läuft bei mir seit ca. 1 jahr, muss heute noch Sachen für Dienstreise packen, werde es evtl. danach mal online stellen.
Werde es in extra thread beschreiben, aber euch hier darüber informieren wenn was online ist.


Gruß
Thomas

miche

#112
Hi Thomas,

das könnt schon sein. muss ich da einen Kanal für on und den zweiten für off anlegen?

Jetzt hab ich mal das alte Modul Version 1003 installiert.
Mit dieser fahren die Rollos wieder, jedoch nicht auf die gewünschte Position, sondern immer nur ganz auf oder ganz zu. Verdammt...

so, Beitrag geändert. Das alte Modul geht wieder. War von mir ein Fehler!

AndiL

Zitathallo AndiL,
ja ich habe noch ein Modul für meine Rollo Automatisierung geschrieben.
Läuft bei mir seit ca. 1 jahr, muss heute noch Sachen für Dienstreise packen, werde es evtl. danach mal online stellen.
Werde es in extra thread beschreiben, aber euch hier darüber informieren wenn was online ist.

Danke für die Info. Da warte ich mal geduldig ab.

Gruß
Andi
FHEM 5.8 auf RasPi 3
***********************************
FB 7390, FS20, HM mit USB-CFG, 1-wire (DS1820 und DS2408), Buderus KM200 mit GB 152, Phillips HUE und Bastelkram....

HoTi

Das mit der Gedult muss ich nocht üben  :-\ :-\ :-\ :-\ :-\ :-\ :-\ :-\
Viele Grüße aus  Oberbayern
Tim (RettungsTim)

HoTi

Ich weiß nicht ob jemand hier deine Intertechno kennt und dir schnell eine Antwort geben kann.

Also musst du uns ein paar mehr infos geben!
Viele Grüße aus  Oberbayern
Tim (RettungsTim)

grappa24

Ich könnte noch mal Eure Hilfe bei der manuellen Steuerung für Typ3 gebrauchen. Das Modul funktioniert einwandfrei, die Rückmeldung bei manueller Steuerung funktioniert einwandrei, aber sobald man beides mischt, gehts durcheinander ...

Hier mal so einfach wie möglich meine Kanäle und exemplarisch die manuelle Abwärtskontrolle:

Kanal_1 off -> hochfahren
Kanal_1 on -> runterfahren
Kanal_2 on -> Stop durch kurzen Impuls zum Runterfahren
Kanal_2 off -> Stop durch kurzen Impuls zum Hochfahren

DOIF ([Kanal_1] eq "on" and [Rollo] ne "drive-down") (set Rollo extern geschlossen)
DOELSEIF ([Kanal_2] eq "off" and [Rollo] eq "drive-down") (set Rollo extern stop)
DOELSEIF ([Kanal_2] eq "on" and [Rollo] eq "drive-down") (set Rollo extern stop)


Die Besonderheit bei mir ist halt, dass es zwei Möglichkeiten gibt, das Rollo zu stoppen, die ich beide abfrage(n muss) ...

Das "Blöde" ist, dass ohne die manuelle Kontrolle das schöne ROLLO-Modul für mich nutzlos ist (wegen des WAF, Ihr wisst schon ....  ;) )
Gebäudesicherheit/-komfort, PV-Prognose/Verbrauchssteuerung, Heizungssteuerung, Multimedia, ...
KNX, FS20, HM, HUE, Tradfri, Shellies, KLF200, Netatmo, Nuki, SolarForecast, HEOS, Alexa-FHEM, ...
FHEM 6.4, 2 x RasPi 3B+, Debian Bullseye

AndiL

Zitat von: dlinus am 19 Januar 2016, 09:48:14
sitze gerade hier auf der Arbeit und kann es nicht überprüfen.....würde es so mit meinen Intertechno CMR-500 funzen ?!

define Testrollo ROLLO Wohnzrollolli PortA0 PortA1 Typ1

Sitze ebenfalls auf der Arbeit und kenne dein Intertechno Ding nicht. Wenn Du den ersten Satz aus der sehr guten Moduldoku im Wiki.....

ZitatÜber welche Hardware/Module die Ausgänge angesprochen werden ist egal, Hauptsache man kann sie mit <device> ON bzw. <device> OFF in fhem steuern.

..... mit JA beantworten kannst wird es funktionieren. Ansonsten eher nix mit funzen.

FHEM 5.8 auf RasPi 3
***********************************
FB 7390, FS20, HM mit USB-CFG, 1-wire (DS1820 und DS2408), Buderus KM200 mit GB 152, Phillips HUE und Bastelkram....

grappa24

Zitat von: dlinus am 20 Januar 2016, 11:09:30
mit
Set Rollowoli on
Set Rollowoli off
steuere ich meine Rolläden normalerweise.
wie stoppst Du Deine Rollos "während der Fahrt"?
Gebäudesicherheit/-komfort, PV-Prognose/Verbrauchssteuerung, Heizungssteuerung, Multimedia, ...
KNX, FS20, HM, HUE, Tradfri, Shellies, KLF200, Netatmo, Nuki, SolarForecast, HEOS, Alexa-FHEM, ...
FHEM 6.4, 2 x RasPi 3B+, Debian Bullseye

grappa24

Zitat von: dlinus am 20 Januar 2016, 11:55:01
bei on, durch nochmaliges on
bei off, durch nochmaliges off
hast Du mal Typ FS20rsu ausprobiert?
Gebäudesicherheit/-komfort, PV-Prognose/Verbrauchssteuerung, Heizungssteuerung, Multimedia, ...
KNX, FS20, HM, HUE, Tradfri, Shellies, KLF200, Netatmo, Nuki, SolarForecast, HEOS, Alexa-FHEM, ...
FHEM 6.4, 2 x RasPi 3B+, Debian Bullseye