Compatible Smartlight Devices?

1,043 views
Skip to first unread message

sleepy148

unread,
May 28, 2014, 5:18:44 AM5/28/14
to sleep-as...@googlegroups.com
Hello,
Am I right that, as I understood from the documentation, the Philips HUE System for >170€ is the only Smartlight device which is compatible with the app? Or is there any other device that is cheaper than this Philips, that is compatible, capable of dimming and has bluetooth control?
Is there any way to control for example the SmartPhone Controlled light dimmer "LazyBone Dimmer" (here) via Sleep As Android? Something like this would be really amazing!

Jiri Richter

unread,
May 28, 2014, 6:05:38 AM5/28/14
to sleep-as...@googlegroups.com, sleep-as...@googlegroups.com

Jiri replied

Cc: sleep-as...@googlegroups.com

May 28 12:05
Hello,

thank You for Your message.
At present, the only smartlight device compatible with Sleep as Android is, quite correctly, the Philips HUE. The HUE integration was set up in Sleep very recently (just look at the release notes!) and is still in the experimental stage.
We're of course always on the watch for the new possibilities and if there is demand, we're doing it!

I'm putting Your suggestions on our watch list.

Thank you very much.

Best regards,

Jiri Richter
Urbandroid Team

Conversation started by sleep-as...@googlegroups.com

Cc: sleep-as...@googlegroups.com

May 28 11:18
Hello,
Am I right that, as I understood from the documentation, the Philips HUE System for >170€ is the only Smartlight device which is compatible with the app? Or is there any other device that is cheaper than this Philips, that is compatible, capable of dimming and has bluetooth control?
Is there any way to control for example the SmartPhone Controlled light dimmer "LazyBone Dimmer" (here) via Sleep As Android? Something like this would be really amazing!
--
You received this message because you are subscribed to the Google Groups "Sleep as Android" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sleep-as-an-dr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

{#HS:32459142-474#}
Powered by Help Scout

sleepy148

unread,
May 28, 2014, 9:18:23 AM5/28/14
to sleep-as...@googlegroups.com
Thank you for your response Mr. Richter!
I did not realize that the Philips Smart Light integration was such a recent update to the app. I think that this feature in combination with other (maybe cheaper) - alternative solutions as I mentioned in my post - will bring a big value enhancement to the users and will be highly appreciated if implemented.
Thanks for putting it on your list and your work!

Andrew Jawitz

unread,
Jun 2, 2014, 12:16:36 PM6/2/14
to sleep-as...@googlegroups.com
I strongly "+1" this request!  The cost of the Hue system is a major adoption barrier for Smart Light technology. MiLight/LimitlessLED and the "TCPConnected" bulbs at Home Depot are much more affordable and at least MiLight and LIFX have open APIs (/http://www.limitlessled.com/dev) and TCPConnected has an unofficial API at this page- http://home.stockmopar.com/connected-by-tcp-unofficial-api/.  However, rather than taking the time to build in official support for every new gadget that comes along, wouldn't it make more sense to post your own API on Github or similar and allow users to build their own integrations that can be merged upstream later?  I know you already have a basic spec posted at-
https://sites.google.com/site/sleepasandroid/doc/developer-api but as you already stated the aim is more to build an ecosystem of official add-ons rather than to encourage user customization.  If you or someone else in the community were able to compile an example sketch for Arduino etc...  with some of the functions for triggering an LED using SAA data, it could then be merged with similar examples provided by the likes of LimitlessLED.  
  I'm in the process of setting up my own integration via Tasker, MQTT and Node.js that would trigger some LEDs in the base of a pillbox so as to remind me to take my medication in the AM.  I was planning to extend the same functionality to some MiLight bulbs, but there would be so much more I could do with better support from the SAA app itself.  By sharing the code/results of these interactions, the entire user community stands to benefit more than just myself.  Maybe someday such extensions could become an official add-on, but that is not my intention at present.  Furthermore, such support could enable additional sensory INPUTS in addition to the outputs.  Before the Pebble Watch extension was released, I was developing a "Smart Pillow" using an Arduino Lilypad, conductive thread and a sewable accelerometer that could send the app movement data without having to sleep with a phone charger next to you in bed.  While the Pebble Watch has made this idea unnecessary, it is another example of how user customization could benefit the product overall.

Petr Nalevka

unread,
Jun 2, 2014, 2:54:53 PM6/2/14
to sleep-as...@googlegroups.com
Hello, many thanks for your feedback. I think there is everything you need to build your own light automation with our API documented here: https://sites.google.com/site/sleepasandroid/doc/developer-api.

Thank you very much.

Best regards,

Petr

 


--
You received this message because you are subscribed to the Google Groups "Sleep as Android" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sleep-as-an-dr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Best regards,

Petr

Aaron M

unread,
Sep 12, 2014, 12:20:04 PM9/12/14
to sleep-as...@googlegroups.com
Jiri,
Can you post a link to compatible devices and explain how they would work with this?  There are a number of lights available from Philips, and the one you show on your demo video looks like a "Smarlight hf3510" or similar but it doesn't say anything about HUE.  The HUE looks to be replacement light bulb system that would light up the entire room. Does the app on the phone activate the light?  Please clarify/expand on this topic.

Thank you for your great app.  I've been using it for years now.

Jiri Richter

unread,
Sep 29, 2014, 6:37:20 AM9/29/14
to Sleep as Android Googlegroup

Jiri replied

Sep 29 12:22
Hello and sorry for the late reply.

Actually Sleep is only compatible with Philips HUE. In the video we are using it with an IKEA orb put over it.
There are several things that Sleep can do with Philips HUE. You can read more about it in our docs, but generally the app can wake You up with light and provide navigation cue when paused in the night.


Thank you very much.

Best regards,

Jiri Richter
Urbandroid Team

Sleep as Android Googlegroup replied

Cc: sleep-as...@googlegroups.com

Sep 12 18:20
Jiri,
Can you post a link to compatible devices and explain how they would work
with this? There are a number of lights available from Philips, and the
one you show on your demo video looks like a "Smarlight hf3510" or similar
but it doesn't say anything about HUE. The HUE looks to be replacement
light bulb system that would light up the entire room. Does the app on the
phone activate the light? Please clarify/expand on this topic.

Thank you for your great app. I've been using it for years now.

Sleep as Android Googlegroup replied

Cc: sleep-as...@googlegroups.com

Jun 2 20:55
Hello, many thanks for your feedback. I think there is everything you need
to build your own light automation with our API documented here:
https://sites.google.com/site/sleepasandroid/doc/developer-api.

Thank you very much.

Best regards,

Petr

Sleep as Android Googlegroup replied

Cc: sleep-as...@googlegroups.com

Jun 2 18:16

Sleep as Android Googlegroup replied

Cc: sleep-as...@googlegroups.com

May 28 15:18
Thank you for your response Mr. Richter!
I did not realize that the Philips Smart Light integration was such a recent update to the app. I think that this feature in combination with other (maybe cheaper) - alternative solutions as I mentioned in my post - will bring a big value enhancement to the users and will be highly appreciated if implemented.
Thanks for putting it on your list and your work!
--
You received this message because you are subscribed to the Google Groups "Sleep as Android" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sleep-as-an-droid unsub...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Jiri replied

Cc: sleep-as...@googlegroups.com

May 28 12:05
Hello,

thank You for Your message.
At present, the only smartlight device compatible with Sleep as Android is, quite correctly, the Philips HUE. The HUE integration was set up in Sleep very recently (just look at the release notes!) and is still in the experimental stage.
We're of course always on the watch for the new possibilities and if there is demand, we're doing it!

I'm putting Your suggestions on our watch list.

Thank you very much.

Best regards,

Jiri Richter
Urbandroid Team

{#HS:32459142-474#}

This email has been limited to the 6 most recent threads.

Powered by Help Scout

Andrew Jawitz

unread,
Sep 30, 2014, 10:38:50 AM9/30/14
to sleep-as...@googlegroups.com
The smartlights I've been using are considerably cheaper than Phillips Hue.  They use a generic RF-based protocol variously known as "MiLight", "AppLamp" or "LimitlessLED" wherein it uses a base station to relay UDP commands into RF signals that communicate with the individual bulbs. LimitlessLED appears to have the best documented API- http://www.limitlessled.com/dev/ but this still requires significant cross domain developer knowledge before anything useful could be implemented with Sleep as Android.  Also, despite the SAA devs suggestion that their dev page has everything we would need to set up our own automation, this is hardly useful for 99.9% of us. For example, one could set up a Sunrise alarm using UDP commands via the MiLight Android App, but there would be no way to have this communicate with SAA without giving something like Tasker root access.
  If the devs don't want to go through the process of integrating support for every smartlight protocol then maybe they could at least meet us halfway.  For example, most smartlights I am aware of differ only in the RF protocol they use to communicate between some kind of base station and the bulbs.  All of them appear to use some kind of base station/hub however.  Perhaps there is a way to enter the IP Address/Port into a plugin?


On Wednesday, 28 May 2014 05:18:44 UTC-4, sleepy148 wrote:

Petr Nalevka

unread,
Oct 4, 2014, 6:20:56 PM10/4/14
to Sleep as Android Googlegroup

Petr replied

Oct 5 0:20
Hello,

many thanks for examining this further. I personally think we are still waiting for a reasonably priced, world wide product with seamless integration. Philips HUE was so far the closest even still quite pricey. Regarding the other products, I'm not sure how we could meet halfway as you suggest. Making a configurable plug-in to talk to different lights does not seem viable to me.

But as soon as the light gets an Android (or Java) API, it would be very easy to create a Tasker plug-in and automate.

Also it seems that smart lights tend to implement IFTTT. Maybe this would be the way to go o automate. But the issue is always need wireless for that.


Thank you very much.

Best regards,

Petr Nalevka
Urbandroid Team

Sleep as Android Googlegroup replied

Cc: sleep-as...@googlegroups.com

Sep 30 16:39
The smartlights I've been using are considerably cheaper than Phillips Hue.
They use a generic RF-based protocol variously known as "MiLight",
"AppLamp" or "LimitlessLED" wherein it uses a base station to relay UDP
commands into RF signals that communicate with the individual bulbs.
LimitlessLED appears to have the best documented
API- http://www.limitlessled.com/dev/ but this still requires significant
cross domain developer knowledge before anything useful could be
implemented with Sleep as Android. Also, despite the SAA devs suggestion
that their dev page has everything we would need to set up our own
automation, this is hardly useful for 99.9% of us. For example, one could
set up a Sunrise alarm using UDP commands via the MiLight Android App, but
there would be no way to have this communicate with SAA without giving
something like Tasker root access.
If the devs don't want to go through the process of integrating support
for every smartlight protocol then maybe they could at least meet us
halfway. For example, most smartlights I am aware of differ only in the RF
protocol they use to communicate between some kind of base station and the
bulbs. All of them appear to use some kind of base station/hub however.
Perhaps there is a way to enter the IP Address/Port into a plugin?

Andrea Ghensi

unread,
Nov 4, 2014, 2:49:10 PM11/4/14
to sleep-as...@googlegroups.com


Il giorno domenica 5 ottobre 2014 00:20:56 UTC+2, Petr Nalevka ha scritto:


But as soon as the light gets an Android (or Java) API, it would be very easy to create a Tasker plug-in and automate.
LimitlessLED, MiLight, YWI light, EasyBulb, AppLamp all are the same product, so this is one API to rule them all! They are MIT licensed, so you can use it without any legal problems.
On the developer page Andrew already posted (http://www.limitlessled.com/dev) you can see that there are plenty of apps and libraries, and there's also some documentation to make the smart lights work with tasker (at the very bottom of the page). basically all you have to do is send an udp message to the wifi bridge.

This python script has a sunrise function: https://github.com/g2010a/solatorium/blob/master/milight.py

I'm thinking about buying an AppLamp kit (the cheapest one I could find with shipment to italy :) in order to make an affordable wakeup light (and sunset/night light, too). I already have Tasker on my moto G, so I can hack my way to do it, but it would be wonderful to have native support in SAA!

Petr Nalevka

unread,
Nov 5, 2014, 6:08:42 AM11/5/14
to Sleep as Android Googlegroup

Petr replied

Nov 5 12:08
Many thanks I will add this to our TODO to look at the API and see what we can do..


Thank you very much.

Best regards,

Petr Nalevka
Urbandroid Team

Sleep as Android Googlegroup replied

Cc: sleep-as...@googlegroups.com

Nov 4 20:49
>
>
> But as soon as the light gets an Android (or Java) API, it would be very
> easy to create a Tasker plug-in and automate.
>
Here you are: https://github.com/stoman/milight-api
LimitlessLED, MiLight, YWI light, EasyBulb, AppLamp all are the same
product, so this is one API to rule them all! They are MIT licensed, so you
can use it without any legal problems.
On the developer page Andrew already posted (http://www.limitlessled.com/dev

you can see that there are plenty of apps and libraries, and there's also
some documentation to make the smart lights work with tasker (at the very
bottom of the page). basically all you have to do is send an udp message to
the wifi bridge.

This python script has a sunrise
function: https://github.com/g2010a/solatorium/blob/master/milight.py

I'm thinking about buying an AppLamp kit (the cheapest one I could find
with shipment to italy :) in order to make an affordable wakeup light (and
sunset/night light, too). I already have Tasker on my moto G, so I can hack
my way to do it, but it would be wonderful to have native support in SAA!

--
You received this message because you are subscribed to the Google Groups "Sleep as Android" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sleep-as-an-dr...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Petr replied

Oct 5 0:20
Hello,

many thanks for examining this further. I personally think we are still waiting for a reasonably priced, world wide product with seamless integration. Philips HUE was so far the closest even still quite pricey. Regarding the other products, I'm not sure how we could meet halfway as you suggest. Making a configurable plug-in to talk to different lights does not seem viable to me.

But as soon as the light gets an Android (or Java) API, it would be very easy to create a Tasker plug-in and automate.

Andrew Jawitz

unread,
Dec 3, 2014, 3:30:31 PM12/3/14
to sleep-as...@googlegroups.com
I'm thinking about buying an AppLamp kit (the cheapest one I could find with shipment to italy :) in order to make an affordable wakeup light (and sunset/night light, too). I already have Tasker on my moto G, so I can hack my way to do it, but it would be wonderful to have native support in SAA!

  If you manage to set up a sunrise/sunset light, I'll be interested to hear how you did it!  I've been trying for some time now and while it should definitely be doable, its required a steep learning curve for a relative novice like myself...  Lacking any native support, it seems that the best option for MiLight support is an Android/Tasker plugin called UDP Sender which should handle the LED commands.  

Andrea Ghensi

unread,
Dec 3, 2014, 5:59:59 PM12/3/14
to sleep-as...@googlegroups.com
Hi Andrew, I've managed to create a sunrise alarm but it's a little rough, and sometimes it won't even start (damn UDP! fast but not reliable!). This week I'm a little busy, I hope I can put up something for you next week. Stey tuned :)

--
You received this message because you are subscribed to a topic in the Google Groups "Sleep as Android" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/sleep-as-an-droid/0-_Cq0VJvqE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to sleep-as-an-dr...@googlegroups.com.

Andrea Ghensi

unread,
Dec 9, 2014, 10:54:40 AM12/9/14
to sleep-as...@googlegroups.com
Ok, here you are:
You're right that the way to go is to use tasker and the UDP sender, so install them if you don't have them already.
I'm assuming you already have some basic knowledge of how tasker works, and I'm going to list the profiles and tasks needed.
I use the following profiles to command lights on group 1 of the wifi box, adjust the codes at your will.
First of all, you want to make sure the lights are at minimum brightness when you go to bed.
1. Create a new profile "night" of the type Event, select System->intent recieved and under action write "com.urbandroid.sleep.alarmclock.SLEEP_TRACKING_STARTED" (without quotes)
2. in the new task add the following:
   a. use the plugin UDP sender to send to your wifi box (port 8899, if you don't know the ip address just send it to your entire subnet, ie 192.168.0.255 ) the code 0x450055
   b. wait 100ms
   c. send to your wifibox the code 0xC50055
   d. wait 100ms
   e. send 0x450055
   f. wait 100ms
   g. send 0x4E0255 (minimum brghtness)
   h. wait 1 second (so the led has time to fade to the minimum, I don't know if it's required)
   j. send 0x460055 (turn off)
then you can add anything you want i.e. turn off sounds, notifications, data plan/turn on airplane mode, etc
3. create another profile "morning" of type event, intent recieved "com.urbandroid.sleep.alarmclock.ALARM_ALERT_START"
4. call the new task "sunrise" (you will need it later) and be sure to re-enable wifi if you turn it off, and wait for a connection (use wait 5 seconds until %WIFI ~ *CONNECTION* ) and then:
   a. send 0x450055
   b. wait 100ms
   c. send 0xC50055
   d. wait 100ms
   e. send 0x450055
   f. wait 100ms
   g. send 0x4E0255
   h. wait 100ms.
the previous code simply makes sure you start with a white light at minimum brightness.
now it comes the fun part: I adapted a python function I found to have a more natural transition. it involves some math but you just have to copy the formula ant you're set. continue with the previous task:
   j. Set a variable named %ENDCODE to 55
   k. Set a variable named %LIGHTLEVEL to 1
   l. Set a variable named %BRIGHTNESS to round(2+25*(1-cos(%LIGHTLEVEL*PI/200))), enable "Do Maths" and give the task a label (i choose "loop")
   m. Variable convert %BRIGTHNESS from decimal to HEX
   n. test variable, length, %BRIGHTNESS, store result in %DIGITS
   o. variable set, %BRIGTHNESS to 0%BRIGHTNESS if %DIGITS ~ 1 (add leading zero if brightness is between 0 and F)
   p. Variable set. %BRIGTHNESS to 0x4E%BRIGTHNESS%ENDCODE (put together the code to pass to udp sender)
   q. since UDP sender gave me troubles with passing variables to it, I used the send intent action, "android.intent.action.SENDTO" with data "udp://your.wifi.box.addr:8899/%BRIGHTNESS"; cat= none, target=activity
   r. wait 18 seconds
   s. variable add, %LIGHTLEVEL, 1
   t. goto action with label "loop" if %LIGHTLEVEL < 101
this will get you a 30 minute white sunrise. I should make it shorter because after 20 minutes of sunrise and silent alarm my emergency alarm kicks in :P. simply adjust action r to make it longer/shorter.
If you're lazy like me you have put a QR code in the bathroom and use the qr code scanning feature of sleep as android. Since you're already in the bathroom you can turn off the bedroom lights (and turn on some other if you like):
5. create a new profile, event, intent recieved "com.urbandroid.sleep.alarmclock.ALARM_ALERT_DISMISS"
6. create a new task that stops the sunrise and turn the light off
   a. task stop "sunrise"
   b. send code 0x4E0755 with UDP sender
   c. wait 100ms
   d. send 0x460055
   e. turn on the coffee maker :)

If you don't understand something a quick look at tasker documentation should solve your problems :) If you still need help let me know!

BTW: I found that the idea of having a smartphone in the bed influences my sleep in a negative way, so I'm planning to use a DIY solution that involves a mini home server with openHAB and a simple "start music and light quietly 30 minutes before the time to wake up". And why not, an infrared camera to detect sleep movements :)

To unsubscribe from this group and all its topics, send an email to sleep-as-an-droid+unsubscribe@googlegroups.com.

Andrew Jawitz

unread,
Dec 11, 2014, 1:01:18 PM12/11/14
to sleep-as...@googlegroups.com
Wow!  I wish all Tasker documentation was as thorough as yours!  Have you considered posting it on Instructables.com etc...?
In any case, I'll try out your suggestions soon and report back on results.

 
BTW: I found that the idea of having a smartphone in the bed influences my sleep in a negative way, 

  For me, the smartwatch integration (Pebble in my case) is what makes SAA a viable long-term option.  Like youself, I can't picture myself sleeping next to a plugged-in phone every night.  I had been designing a concept for a "smart pillow case" using the Flora wearable accelerometer by Adafruit and a bluetooth module before my Pebble Watch made it redundant.  Nevertheless, a Tasker plugin that could handle inputs from external sensors in addition to outputs could come in handy!

  so I'm planning to use a DIY solution that involves a mini home server with openHAB and a simple "start music and light quietly 30 minutes before the time to wake up". And why not, an infrared camera to detect sleep movements :)

  I've experimented with OpenHAB in my quest to find a decent automation rules engine.  I definitely liked the cross platform nature and MiLight Driver Support, but the heavy Java-based interface always prevents me from getting too far into it.  Lately I've been aiming for a system that uses MQTT for the communications and NodeRED to configure scenes/rules.  Tasker will be necessary when a given scenario has multiple variables (such as a sleep tracking alarm).
To unsubscribe from this group and all its topics, send an email to sleep-as-an-dr...@googlegroups.com.

Andrea Ghensi

unread,
Dec 11, 2014, 1:57:15 PM12/11/14
to sleep-as...@googlegroups.com
2014-12-11 19:01 GMT+01:00 Andrew Jawitz <andrew...@gmail.com>:
Wow!  I wish all Tasker documentation was as thorough as yours!  Have you considered posting it on Instructables.com etc...?
In any case, I'll try out your suggestions soon and report back on results.

I was thinking about it when I was writing this, but since sometimes I still wake up finding that the lights didn't turn on, I'll have to make this bulletproof first. Well, maybe it's the wifi that's crappy, I'll have to investigate that... One of the way to eliminate some of the problems would be hacking the wifibox to directly hook the zigbee module to my olinuxino A20/arduino with ethershield or something like that.
 
I had been designing a concept for a "smart pillow case" using the Flora wearable accelerometer by Adafruit and a bluetooth module before my Pebble Watch made it redundant.

Interesting option!
 
  the heavy Java-based interface always prevents me from getting too far into it.
Yeah, I just installed it on my olinuxino A20 and I'm changing my mind... I have only 3 milights and a temperature/humidity sensor for now, openHAB is too heavy for this tasks. And the fact that I can't run the designer app on a remote pc (my laptop) is a no-go for me!

Lately I've been aiming for a system that uses MQTT for the communications and NodeRED to configure scenes/rules.  Tasker will be necessary when a given scenario has multiple variables (such as a sleep tracking alarm).
Have to check that! 

Thanks again for the inputs.
Cheers from Italy,
Andrea Ghensi
----
Per favore, non stampare questa mail se non ne hai assoluto bisogno.
Please, don't print this email if you don't have to.

Andrea Ghensi

unread,
Dec 16, 2014, 1:49:25 AM12/16/14
to sleep-as...@googlegroups.com
OK, now I got a more consistent sunrise... Just move steps c to f after step p and remove steps g and h. This way every step you make sure the light is on and white, just some redundancy to make sure you'll never miss a new bright day :)

David Rees

unread,
Dec 30, 2014, 7:32:05 PM12/30/14
to sleep-as...@googlegroups.com
Thank you for the detailed instructions!

I think it would be interesting to start increasing the light before the alarm triggers - kind of a dawn before the wake thing. Could com.urbandroid.sleep.alarmclock.AUTO_START_SLEEP_TRACK be used for that perhaps? It says it happens "45 minutes before smart period". So the very slow sunrise could start then followed by an accelerated sunrise when ALARM_ALERT_START happens.

I'm also interested in doing something similar with a space heater - maybe using openHAB (which also supports MiLight and just about everything else) . So I can warm the room before the alarm goes off.

Andrea Ghensi

unread,
Dec 31, 2014, 3:19:57 PM12/31/14
to sleep-as...@googlegroups.com
Hi David,

Il giorno mercoledì 31 dicembre 2014 01:32:05 UTC+1, David Rees ha scritto:
Thank you for the detailed instructions!

I'm glad you found this useful!.
 
I think it would be interesting to start increasing the light before the alarm triggers - kind of a dawn before the wake thing. Could com.urbandroid.sleep.alarmclock.AUTO_START_SLEEP_TRACK be used for that perhaps? It says it happens "45 minutes before smart period". So the very slow sunrise could start then followed by an accelerated sunrise when ALARM_ALERT_START happens.

It totally can be done, I didn't think of that, especially because I tracked all the duration of my sleep and I don't know if this intent still triggers.
You only need to change the context of what I posted to the AUTO_START thing, then create a new profile with the ALARM_ALERT_START context.
I think it should be enough to use a global variable in the last wait period and then alter it in the ALARM_ALERT_START profile (need to check if the first task keeps running when the second changes variable). If it doesn't work, in the ALARM_ALERT_START you have to stop the sunrise task and create a new cycle with a reduced wait period.
But probably you have figured it out already :)
 
I'm also interested in doing something similar with a space heater - maybe using openHAB (which also supports MiLight and just about everything else) . So I can warm the room before the alarm goes off.

[OT]
 I just finished to move away from sleep as android, simply using a time context instead of using saa's intents. I've also set up an embedded linux box with mopidy and I control it on my sunrise profile, so it starts a spotify playlist and gradually raises the volume. Using Autobarcode I was able to replicate the QR scan captcha of SAA, so lights and music turn off when I'm in the bathroom, and my morning routine begins (Yeah, I've also a profile to remind me to write a journal, drink and do some exercise :) ).
Maybe I'll move the music and lights control on the linux box, so I have to only send 2 messages to it (alarm start and alarm off). I was investigating node-red to do this (and many other things I still have to figure out), but it seems to me that the whole system adds to much overhead (nodejs, wrappers to apis, payloads,...) to accomplish something that few lines of code can address in a more efficient and quicker way.
[/OT]

Greg Or

unread,
Sep 20, 2015, 3:21:24 PM9/20/15
to Sleep as Android, budh...@googlemail.com
Hello,

since I have a RGBW LED bulb from MiLight in my sleeping room, I'd like to have a sunrise wakeup light triggered from my Sleep As Android program...

I see that hue is not very popular - probably due to the huge costs.

Many greetings,

greg

Petr Nalevka

unread,
Sep 20, 2015, 3:39:33 PM9/20/15
to Sleep as Android Googlegroup, budh...@googlemail.com

Petr replied

Cc: budh...@googlemail.com

Sep 20, 21:39
Hello,

thank you very much for your message. We are considering to implement support for a second light system. If I may ask you for the little bit of extra work - would you please put your request there? The address is urbandroid.uservoice.com. At the moment I think that more people would like to see Lifx..




Thank you very much.

Best regards,

Petr Nalevka
Urbandroid Team

Sleep as Android Googlegroup sent a message

Cc: budh...@googlemail.com

Sep 20, 21:21
Hello,

since I have a RGBW LED bulb from MiLight in my sleeping room, I'd like to
have a sunrise wakeup light triggered from my Sleep As Android program...

I see that hue is not very popular - probably due to the huge costs.

Many greetings,

greg

Am Mittwoch, 28. Mai 2014 11:18:44 UTC+2 schrieb sleepy148:

{#HS:121866981-9635#}
Powered by Help Scout
Reply all
Reply to author
Forward
0 new messages