After installing Pimatic, one of the ideas that came to mind was to create a wake-up light. It needs to do the following:
- Control a KaKu dimmer to gradually turn on the light 30 mins before the alarm goes off.
It needs to work according to the following conditions:
- easy to work with
- Use alarm on an iphone without jailbreak
- If working with an 3th party app it should run in background.
Bonus points:
It would be awesome if the alarm app is able to put the phone in flightmode or at least turn off the airplane mode let’s say 40min before the alarm time in order to start communication with my Pimatic Pi. If not possible i’ll leave wifi on all night.
Concept approach:
As far as i know it’s not possible to retrieve the stock Iphone alarm app time and send it to pimatic. Best workaround I’ve found is the sleep cycle app which has the ability to work with Philips Hue.
I found a tool which is able to simulate a Philips Hue bridge:
https://github.com/armzilla/amazon-echo-ha-bridge
If the Pi can run this, their should be a possibility let the Iphone communicate with the Hue bridge simulator and the Simulator communicate with the Pimatic Hue plugin and control the KaKu dimmer.
As i’m not quite experienced i was hoping that someone is able to help me set it up like this or maybe knows a better / other approach.