Since i can’t see my made suggestion on the Roadmap site, i put it in here, too:
Using Android Alarmclock as Input/Actor/Eventor
It would be great to use Android Alarmclock as an Input-Device for triggering IoT.
- Open Blinds at alarm
- Start Coffe Machine 10 min. before alarm
- Start Heater in Bathroom 20 min. before alarm
- Start RGB-LED-Stripe-Sunrise 30min. before alarm
On Android-shell it is simple to get the next Alarm-Clock in Unixtime-Format by:
echo $(dumpsys alarm | grep pendingSend | cut -d ':' -f 4 | cut -c-10)
If there is no Alarm set, the result is empty.
So, i think it should also be easy to get the next alarm-time via Android-App.
thx a lot