[gelöst] STATE wird nicht richtig übernommen

Begonnen von Burny4600, 04 Juni 2016, 13:29:46

Vorheriges Thema - Nächstes Thema

Burny4600

Aus irgend einem Grund wird STATE aus dem dummy nicht richtig übernommen, wodurch die Markise nach dem anfahren der Position wieder in die Ausgangslage zurück fährt.
([{sunrise(+7200)}-11:20] and
[ZOBLMD] eq "on" and [ZOBRMD] eq "off" and [ZOBWM50D] eq "off" and [DL2_T11:state] < 15)
(set MKD:FILTER=position!=60 position 60)
DOELSEIF
($yday => 90 and $yday <= 270 and [{sunrise(+7200)}-12:50] and
[ZOBLMD] eq "on" and [ZOBRMD] eq "off" and [ZOBWM50D] eq "off" and [DL2_T11:state] >= 15 and [DL2_T11:state] < 22)
(set MKD:FILTER=position!=50 position 50)
DOELSEIF
($yday => 90 and $yday <= 270 and [{sunrise(+7200)}-16:35] and
[ZOBLMD] eq "on" and [ZOBRMD] eq "off" and [ZOBWM100D] eq "off" and [DL2_T11:state] >= 22)
(set MKD:FILTER=position!=100 position 100)
DOELSEIF
(([ZOBWM100D] eq "on" and [MKD] eq "position.100") or
([ZOBWM50D] eq "on" and ([MKD] eq "position.50" or [MKD] eq "position.60")) or
([ZOBLMD] eq "on" and (([11:30] and [MKD] eq "position.60") or ([13:00] and [MKD] eq "position.50") or ([16:45] and [MKD] eq "position.100"))) or
[ZOBLMD] eq "off" or
[ZOBRMD] eq "on")
(set MKD:FILTER=position!=0 position 0)

MKD set M_OG1_BAL_P $EVENT

Im Dummy steht die position 100, in der Steuereinheit position 0 für MKD, und die Markise befindet sich auf position 0.

Für M_OG1_BAL_P wird das ROLLO Modul verwendet.
LG Chris

Raspberry Pi 2-5, Bullseye Lite, Bookworm Lite
Schnittstellen: 1-Wire, FHEM2FEHEM, HM-MOD-UART, LAN, Modbus, MQTT, nanoCUL, RFXtrx433E, SIGNALduino, ser2net
Devices: APC, Eastron, FS20, IT, Homematic, MQTT, PV-(DEYE, EPEVER, FRONIUS), Resol-VBUS, S.USV, TEK603, WMR200, YouLess

Burny4600

Es lag an einem Schreibfehler:
.....(set MKD:FILTER=state!=position.60 position 60)
LG Chris

Raspberry Pi 2-5, Bullseye Lite, Bookworm Lite
Schnittstellen: 1-Wire, FHEM2FEHEM, HM-MOD-UART, LAN, Modbus, MQTT, nanoCUL, RFXtrx433E, SIGNALduino, ser2net
Devices: APC, Eastron, FS20, IT, Homematic, MQTT, PV-(DEYE, EPEVER, FRONIUS), Resol-VBUS, S.USV, TEK603, WMR200, YouLess