Author Topic: Does iOS and Android provide a service for their alarm clocks?  (Read 2482 times)

0 Members and 1 Guest are viewing this topic.

Offline alexanderbrevigTopic starter

  • Frequent Contributor
  • **
  • Posts: 700
  • Country: no
  • Musician, developer and EE hobbyist
    • alexanderbrevig.com
Does iOS and Android provide a service for their alarm clocks?
« on: September 18, 2016, 01:12:04 am »
So, this is annoying for me to ask:

Does iOS and Android provide a service for their alarm clock notification?
I've tried to research it, but I'm none the wiser.

This is just to find out if I can make our bedroom LED lights fade in when either of our phones ask us kindly to wake up...
Seeing as it's 3AM now, I'm still looking for something to help me sleep more than waking up but hey  :-//
 

Offline JS

  • Frequent Contributor
  • **
  • Posts: 947
  • Country: ar
Re: Does iOS and Android provide a service for their alarm clocks?
« Reply #1 on: September 18, 2016, 02:17:57 am »
  If you are going to build a web based dimmer I'd like to know about it, I'm planning on doing something like that too. If that's the case you could implement a phone app to control it which also has a timed mp3 player synchronized with the light scheme of your preference. MIT companion is quite nice to do prototype applications for something like this.
 
  If you have a wifi lamp automating it when the alarm goes on shouldn't be a big deal at all, there are many automation apps around, pick the one.

  If you are looking for something plug and play I don't know the solution, but the one I've just mentioned is quite close.

JS
If I don't know how it works, I prefer not to turn it on.
 

Offline alexanderbrevigTopic starter

  • Frequent Contributor
  • **
  • Posts: 700
  • Country: no
  • Musician, developer and EE hobbyist
    • alexanderbrevig.com
Re: Does iOS and Android provide a service for their alarm clocks?
« Reply #2 on: September 18, 2016, 10:41:52 am »
Thanks for your input :)

Making an app is something I'm trying to avoid, but if I must do it then that's OK as I've done that before.
I was hoping that there is a way to make something that 'just works' as an alarm clock based off of for instance the alert notification service. Much like it 'just works' to make, say a BLE music player audio endpoint - as both devices support that out of the box.

When I get some time I'll try to do some quick experiments with my nRF52 devkit and see if I can figure something out.
 

Online radar_macgyver

  • Frequent Contributor
  • **
  • Posts: 698
  • Country: us
Re: Does iOS and Android provide a service for their alarm clocks?
« Reply #3 on: September 18, 2016, 02:44:18 pm »
Tasker (on Android) seems to allow you to select "alarms" as a trigger. This means there must be a notification from Android's built-in alarm available. You could either use it directly, or just write a Tasker script to get it done.
 

Offline ImEmma

  • Newbie
  • Posts: 4
  • Country: dk
Re: Does iOS and Android provide a service for their alarm clocks?
« Reply #4 on: September 19, 2016, 10:24:08 am »
I don't know if this has any interest but you can buy an alarmclock where both sound and light fades up when waking you :)
 

Offline cowana

  • Frequent Contributor
  • **
  • Posts: 324
  • Country: gb
Re: Does iOS and Android provide a service for their alarm clocks?
« Reply #5 on: September 19, 2016, 11:12:18 am »
I've set up something similar using tasker, using the app AutoAlarm.

At 4am, a script runs which checks when the next alarm is due to go off, and sends that information to an ESP8266 via wifi. That ESP8266 then sends the data to a main controller, which fades up the room's lights  slowly ~10 minutes before the alarm is due to go off.
 

Offline ImEmma

  • Newbie
  • Posts: 4
  • Country: dk
Re: Does iOS and Android provide a service for their alarm clocks?
« Reply #6 on: September 27, 2016, 12:43:00 pm »
Do you think you might be able to use any of the advice?
im kinda curious as to what you find out :P
 

Offline McBryce

  • Super Contributor
  • ***
  • Posts: 2682
  • Country: de
Re: Does iOS and Android provide a service for their alarm clocks?
« Reply #7 on: September 27, 2016, 02:10:58 pm »
How about just making a circuit that reacts to the alarm sound or the phone screen (which usually illuminates when the alarm goes off) to fade the lights in? That way it will still work if you swap phones / girlfriends or whatever.

McBryce.
30 Years making cars more difficult to repair.
 

Offline grifftech

  • Frequent Contributor
  • **
  • Posts: 369
  • Country: us
    • youtube channel
Re: Does iOS and Android provide a service for their alarm clocks?
« Reply #8 on: September 27, 2016, 05:06:57 pm »
How about just making a circuit that reacts to the alarm sound or the phone screen (which usually illuminates when the alarm goes off) to fade the lights in? That way it will still work if you swap phones / girlfriends or whatever.

McBryce.
(red added by me)  use the headphone jack so that thunder won't trigger it. 
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf