Na klar! Klassischer Copy-Paste-Fehler

Code: Alles auswählen
Group:Contact:AND(CLOSED,OPEN) gZuHause
Code: Alles auswählen
Group:Contact:OR(OPEN,CLOSED) gZuHause
Code: Alles auswählen
rule "Abwesend setzen"
when
Item gZuHause changes to CLOSED
then
...
end
Code: Alles auswählen
gLampenWohnzimmer.sendCommand(OFF)
Code: Alles auswählen
rule "Automatisches Ausschalten ab 2200 Uhr"
when
then
Buero_S.sendCommand(OFF)
end
Code: Alles auswählen
then
Code: Alles auswählen
rule "blablabla"
when
Time cron "hier string einfuegen"
then
...
end
Code: Alles auswählen
0 0 22 1/1 * ? *
Code: Alles auswählen
rule "blablabla"
when
Time cron 0 0 22 1/1 * ? *
then
...
end
Code: Alles auswählen
Time cron "0 0 22 1/1 * ? *"
Code: Alles auswählen
Time cron "0 0 22 * * ?"
Code: Alles auswählen
Time cron "0 0 22 * * ?"
| | | | | |
| | | | | Wochentag egal
| | | | Monat egal
| | | Tag im Monat egal
| | Stunde 22
| Minute 0
Sekunde 0
Code: Alles auswählen
rule "Abwesenheit ALEXA Ausschalten"
when
Item HenningsAHandy changed from OPEN to CLOSED or
Item RitasHandy changed from OPEN to CLOSED or
Item HenningsHandy changed from OPEN to CLOSED
then
if(HenningsAHandy.state == CLOSED && RitasHandy.state == CLOSED && HenningsHandy.state == CLOSED)
Mehrfachsteckdos_02_S5.sendCommand(OFF)
Printer.sendCommand(OFF)
Buero_S.sendCommand(OFF)
TplinkEGOG.sendCommand(OFF)
TplinkKG.sendCommand(OFF)
dlinkWo.sendCommand(OFF)
Einliegerwohnung.sendCommand(OFF)
Light1_ColorTemperature_Switch.sendCommand(OFF)
Light3_ColorTemperature_Switch.sendCommand(OFF)
Light2_ColorTemperature_switch.sendCommand(OFF)
end
Code: Alles auswählen
Contact RitasHandy "Rita [MAP(presence.map):%s]" (gfritzbox) {fritzboxtr064="maconline:xxxxxxx"}
Contact HenningsHandy "Henning [MAP(presence.map):%s]" (gfritzbox) {fritzboxtr064="maconline:xxxxxxx"}
Contact HenningsAHandy "Henning Arbeit [MAP(presence.map):%s]" (gfritzbox) {fritzboxtr064="maconline:x"}
Code: Alles auswählen
OPEN=Anwesend
CLOSED= Abwesend
NULL=unbekannt
Warum ?HenningsHandy changed from OPEN to CLOSED
2020-01-25 08:10:44.540 [vent.ItemStateChangedEvent] - fboxWanLayer1DownstreamMaxBitRate changed from 134168000 to 134529000
2020-01-25 08:10:44.542 [vent.ItemStateChangedEvent] - Echo_Living_Room_MediaProgressTime changed from 109 s to 110 s
2020-01-25 08:10:44.545 [ome.event.ItemCommandEvent] - Item 'Printer' received command OFF
2020-01-25 08:10:44.558 [ome.event.ItemCommandEvent] - Item 'Buero_S' received command OFF
2020-01-25 08:10:44.570 [ome.event.ItemCommandEvent] - Item 'TplinkEGOG' received command OFF
2020-01-25 08:10:44.581 [ome.event.ItemCommandEvent] - Item 'TplinkKG' received command OFF
2020-01-25 08:10:44.596 [ome.event.ItemCommandEvent] - Item 'dlinkWo' received command OFF
2020-01-25 08:10:44.608 [ome.event.ItemCommandEvent] - Item 'Einliegerwohnung' received command OFF
2020-01-25 08:10:44.612 [nt.ItemStatePredictedEvent] - Printer predicted to become OFF
2020-01-25 08:10:44.620 [ome.event.ItemCommandEvent] - Item 'Light1_ColorTemperature_Switch' received command OFF
2020-01-25 08:10:44.634 [ome.event.ItemCommandEvent] - Item 'Light3_ColorTemperature_Switch' received command OFF
2020-01-25 08:10:44.646 [ome.event.ItemCommandEvent] - Item 'Light2_ColorTemperature_switch' received command OFF
2020-01-25 08:10:44.656 [nt.ItemStatePredictedEvent] - Buero_S predicted to become OFF
2020-01-25 08:10:44.678 [nt.ItemStatePredictedEvent] - TplinkEGOG predicted to become OFF
2020-01-25 08:10:44.693 [nt.ItemStatePredictedEvent] - TplinkKG predicted to become OFF
2020-01-25 08:10:44.702 [nt.ItemStatePredictedEvent] - dlinkWo predicted to become OFF
2020-01-25 08:10:45.139 [nt.ItemStatePredictedEvent] - Light1_ColorTemperature_Switch predicted to become OFF
2020-01-25 08:10:45.149 [nt.ItemStatePredictedEvent] - Light3_ColorTemperature_Switch predicted to become OFF
2020-01-25 08:10:45.159 [nt.ItemStatePredictedEvent] - Light2_ColorTemperature_switch predicted to become OFF
2020-01-25 08:10:45.166 [vent.ItemStateChangedEvent] - TplinkEGOG changed from ON to OFF
2020-01-25 08:10:45.169 [vent.ItemStateChangedEvent] - TplinkKG changed from ON to OFF
2020-01-25 08:10:45.172 [vent.ItemStateChangedEvent] - dlinkWo changed from ON to OFF
2020-01-25 08:10:45.173 [vent.ItemStateChangedEvent] - Light1_ColorTemperature_Switch changed from ON to OFF
Code: Alles auswählen
when
Item HenningsAHandy changed from OPEN to CLOSED or
Item RitasHandy changed from OPEN to CLOSED or
Item HenningsHandy changed from OPEN to CLOSED
then
if(HenningsAHandy.state == CLOSED && RitasHandy.state == CLOSED && HenningsHandy.state == CLOSED)
Code: Alles auswählen
when
Item HenningsAHandy changed or
Item RitasHandy changed or
Item HenningsHandy changed
then
if(HenningsAHandy.state == CLOSED && RitasHandy.state == CLOSED && HenningsHandy.state == CLOSED)
{ deine Wünsche }
Code: Alles auswählen
rule "Abwesenheit ALEXA Ausschalten"
when
Item HenningsAHandy changed or
Item RitasHandy changed or
Item HenningsHandy changed
then
if(HenningsAHandy.state == CLOSED && RitasHandy.state == CLOSED && HenningsHandy.state == CLOSED)
Mehrfachsteckdos_02_S5.sendCommand(OFF)
Printer.sendCommand(OFF)
Buero_S.sendCommand(OFF)
TplinkEGOG.sendCommand(OFF)
TplinkKG.sendCommand(OFF)
dlinkWo.sendCommand(OFF)
Einliegerwohnung.sendCommand(OFF)
Light1_ColorTemperature_Switch.sendCommand(OFF)
Light3_ColorTemperature_Switch.sendCommand(OFF)
Light2_ColorTemperature_switch.sendCommand(OFF)
end
Code: Alles auswählen
logInfo("Abwesenheit ALEXA Ausschalten"," triggert")
was mich aber stutzig macht ist das alles aus geht ausser2020-01-25 10:08:45.180 [INFO ] [script.Abwesenheit ALEXA Ausschalten] - triggert
Code: Alles auswählen
Mehrfachsteckdos_02_S5.sendCommand(OFF)