Hallo zusammen,
ich würde gerne zwei Heizkörper-Thermostate über ein Notify steuern, wenn ein Bewohner das Haus verlässt bzw. zurückkommt.
Dazu habe ich z.B. dieses Notify definiert:
Handy_Marc:absent.* {
fhem("attr ug_bad_thermostat_Clima tempListTmpl FHEM/tempMarcWeg.cfg:tempTbad");
fhem("attr ug_marc_thermostat_Clima tempListTmpl FHEM/tempMarcWeg.cfg:tempTmarc");
fhem("set ug_bad_thermostat_Clima tempListTmpl restore");
fhem("set ug_marc_thermostat_Clima tempListTmpl restore");
}
Beim "Handy_Marc:present" ist das natürlich alles umgedreht.
Kann man das so machen? Ich frage deshalb, weil bei einem "trigger Handy_Marc absent" das rote ? bei "save config" kommt...
Danke!