Hi there
starting point
There is one thing that I havent automated yet. I would like that my alarm clock on my iPhone gets turned off automatically if I am on vacation or there is a public holiday. I read through the forum and reddit and had to find out that isnt easy to realize due to different facts. for example I tried this one out: https://www.reddit.com/r/shortcuts/comments/jcnpvw/shortcut_automation_to_turn_off_alarm_on_holidays/
my idea
to make things short I built an own solution who should cover the following scenarios:
- turn off alarm clock on holidays (via Node-RED)
- turn off alarm clock on vacation (via Node-RED)
- turn on alarm clock when holiday is over (via Node-RED)
- turn on alarm clock when vacation is over (via Node-RED)
I have an input-boolean called input_ferien. I turn it on when I am on vacation as it also turns on the lights in a random pattern (happy to share the flow if you are interested) and vice-versa.
On the other hand I have all public holidays in Node-RED. When there is a public holiday or input_ferien is on, input_holidays turns on as well and vice-versa.
So far so good. In a second step I built an automation within Shortcuts on iOS which should check daily at 7:01 AM if input_holidays is off, if so it should turn the alarm clock on. At 7:02 AM it should check if input_holidays is on, if so it should turn the alarm off.
note: normally the automation is activated
the problem
the automation in Shortcuts dont work at all, I turned off to that I have to confirm the automation but it still doesnt work.
Does anybody have an idea what I am doing wrong or cant this automation run if the phone is locked?
many thanks
Andrew