Moin,
hab heute mal wieder ein Update von fhem gemacht. Danach wollte testweise ein DOIF anlegen. Nachdem ich dann die Grundstruktur eingerichtet hatte, wollte ich über das Drop-down-Menü das Attribut do mit always zuweisen. Es fehlt aber in der Auswahl. Auch manuell geht es nicht, es kommt die Meldung "unknown attribute do. Type 'attr di_Photovoltaik_gesamt ?' for a detailed list."
Ist da bei Update des DOIF-Moduls was schief gelaufen?
Viele Grüße
Michael
zeig mal ein list des DOIF.
Ist es evtl im "Perl-Modus"?
Bitteschön:
Internals:
CFGFN
DEF # Trigger auf zuletzt gelesenes Register des jeweiligen WR\
([Plenticore_Garage:Actual_batt_ch_disch_power] or [Plenticore_Wohnhaus:Inverter_Generation_power_actual])
(setreading di_Photovoltaik_gesamt PV_power_total {([Plenticore_Garage:PV_power]+[Plenticore_Wohnhaus:PV_power])})
FUUID 5db99efb-f33f-497e-b2fa-05f1271fce026c03
MODEL Perl
NAME di_Photovoltaik_gesamt
NOTIFYDEV Plenticore_Garage,Plenticore_Wohnhaus,global
NR 301
NTFY_ORDER 50-di_Photovoltaik_gesamt
STATE initialized
TYPE DOIF
VERSION 20423 2019-10-29 18:50:08
READINGS:
2019-10-30 15:44:42 Device Plenticore_Garage
2019-10-30 15:44:42 block_PV_power_total executed
2019-10-30 15:44:42 e_Plenticore_Garage_PV_power 277.77
2019-10-30 15:44:42 e_Plenticore_Wohnhaus_PV_power 2281.41
2019-10-30 15:33:30 mode enabled
2019-10-30 15:32:27 state initialized
Regex:
accu:
cond:
Plenticore_Garage:
0:
PV_power ^Plenticore_Garage$:^PV_power:
1:
Plenticore_Wohnhaus:
0:
PV_power ^Plenticore_Wohnhaus$:^PV_power:
1:
condition:
0 (::ReadingValDoIf($hash,'Plenticore_Garage','PV_power')+::ReadingValDoIf($hash,'Plenticore_Wohnhaus','PV_power'))
1
helper:
DEVFILTER ^global$|^Plenticore_Wohnhaus$|^Plenticore_Garage$
NOTIFYDEV global|Plenticore_Wohnhaus|Plenticore_Garage
event Actual_batt_ch_disch_power: 74,PV_power: 277.77,Inverter_State_natural: FeedIn
globalinit 1
last_timer 0
sleeptimer -1
triggerDev Plenticore_Garage
triggerEvents:
Actual_batt_ch_disch_power: 74
PV_power: 277.77
Inverter_State_natural: FeedIn
triggerEventsState:
Actual_batt_ch_disch_power: 74
PV_power: 277.77
Inverter_State_natural: FeedIn
internals:
perlblock:
0 PV_power_total
1
readings:
all Plenticore_Garage:PV_power Plenticore_Wohnhaus:PV_power
trigger:
uiState:
uiTable:
Attributes:
Ich habe das DOIF testweise wie bislang immer mit define... angelegt. Muss ich da was anders machen?
es beginnt nicht mit Klammer auf, also wird der Perl Modus erkannt.
Nimm dein Koommentar vom Anfang der DEF weg dann gehts.
::) Ja, das war's... Sachen gibt's
Danke!