Rule: Start Action with Alexa Alarm

Either look in your /var/log/openhab2/openhab.log file or use log:tail in the console.

Understood. VSCode editor with openHAB extension is another thing to set up and learn - but gives you syntax checking. Saving much time in the end.

You know from PLC that it will never be done in one day.
Have another try when you are ready.

Good morning, after destructing my work of the last days because of stupidity ( I installed the new Pi in the housing of the old Pi and I had forgotten to put out the SD Card from the new Pi, which brake the card very easy in tow peacesā€¦) :slight_smile:
Luckely I had done an save copy of all Databases and edited files to restore everything.

And this morning i woke up at 6:00am with an Idear which bacame the solution for me.

Very helpful for this was that Page from rossko57

Here my Solution:

//-----------------------------------------
//Wenn Echo Alarm ausgibt soll x ausgefĆ¼hrt werden

//Erkennen der AlarmTypen
//Timer
rule "Timer_Timer"
when
        Item ChristophsEchoDot_NChsterTimer changed
then
       	createTimer(new DateTime(ChristophsEchoDot_NChsterTimer.state.toString)) [|
        sendCommand(T_Alarm , ON)]
end

//Alarm
rule "Alarm_Timer"
when
        Item ChristophsEchoDot_NChsterAlarm changed
then
       	createTimer(new DateTime(ChristophsEchoDot_NChsterAlarm.state.toString)) [|
        sendCommand(T_Alarm , ON)]
end

//Erinnerung
rule "Reminder_Timer"
when
        Item ChristophsEchoDot_NChsteErinnerung changed
then
       	createTimer(new DateTime(ChristophsEchoDot_NChsteErinnerung.state.toString)) [|
        sendCommand(T_Alarm , ON)]
end


//Aktion
rule "Alarm_Aktion"
when
        Item T_Alarm changed to ON
then
        sendCommand(A_Boxen , ON)
		sendCommand(A_Boxen_Kanal_AV6 , ON)
		sendCommand(T_Alarm , OFF)
end
//----------------------------------------------------------------------------
2 Likes