Smart lights for my first home automation

QUESTION

I have just begun my self-hosted journey and looking to start introducing home automation. I've got an old PC and so far reinstalled the OS 3 times, so I feel like I am on the right track. Things are still very much work-in-progress and learning a lot as I go.

The wife has been asking me to get a sunrise alarm clock to help her wake up in the morning. I was wondering if I could achieve the same effect with smart light bulbs. I've been given to end of the weekend to sort this out, so to keep my wife happy, I am very keen to utilize the hive mind and get to the end goal (quickly). My wife quickly becomes frustrated with technology and just wants "everything to work".

So I suppose my question is, what equipment/services do I need to use to achieve this?

From my basic understanding of the problem;

Firstly I need to decide if I should get smart light bulbs or a smart light switch. We used to have smart light bulbs but my wife would get frustrated with them because she wanted to be able to use the switch when in a rush and often couldn't. So I guess I need a smart dimmable light switch. Can you recommend a reliable brand? I am UK and my light switches do have a neutral.

Next, I assume I need to look at setting up a routine. I've heard a lot about Home Assistant but not had a chance to have play with this yet. I am guessing this would be the right tool for the job?

And finally, I assume I need to have a method for enabling/configuring times for this routine. I assume this can be done via the Home Assistant app or a smart speaker (eg Nest Mini).

Please let me know if I am on the right track, very interested to hear what everyone is using and how well things work.

TIA.

Posted Jan 25, 2024, 5:09 PM UTC

17
-Avacyn•

I'm a woman who has home automation as a hobby, but the sunrise automation is the one with the biggest Husband Approval Factor in our household. My husband has winter depression and this helps him a lot.

I use home assistant with NodeRed (a code building helper that uses visual blocks), Hue lights, plus Hue switches.

If you go bulb, definitely do get switches. You definitely want a physical/normal way to turn bulbs on/off. I like remotes like the one Hue uses because you can place the switches in a spot that actually makes sense rather than the stereotypical place it usually has on a wall.

Anyway, my automation goes something like this:

Each night, check my husbands phone. If his next alarm (home assistant can read this!) is before 8 am, do the following:

set the virtual button called 'morning wake up?' in home assistant to on and store the alarm time minus 20 minutes to virtual button called 'wake up time'.

When the time of 'wake up time' is reached AND the 'morning wake up? button is on, start the wake up routine. For this I use a built in functionality that can slowly turn the lights on. It does this in the bedroom over the course of 20 minutes. And 1 minute before the alarm goes off, also all the lights in the hallways, kitchen and toilet turns on to full brightness. Finally, turn the 'morning wake up?' button off (if it's needed tomorrow, it will trigger on the next night again).

This way my husband never has to face the darkness in the morning. It helps him kickstart his morning and helps his winter depression issues. It also adjusts to husbands schedule and only turns on when husband needs and not when he wants to sleep it.

3
bigstyleeOP•

This sounds awesome and very much in line with what I want to achieve.

Am I correct in saying Hue switches can only control Hue light bulbs?

1
-Avacyn•

Yes and no. 

Obviously, if you have hue switches, you'd buy them because you are invested in the hue system. It would make sense that you'd set these switches up in the Hue app in such a way that the Hue bridge turns certain lights on or off when pressed.

There is a but...

What you need to realise is that home assistant will be able to read anything from any device. And you can set up automations based on whatever it reads.

In home assistant, if you press a button on a hue switch, it will simply read it is 'button on hue switch was short pressed'. What you do with that info is up to you.

If you already programmed the switch in the hue app to turn on certain lights when you press the switch button, obviously the lights go on (the hue bridge will send that command, not your home assistant!). But nothing stops you from making home assistant also run an automation thay plays Jingle Bells from your smart speaker at full volume when you press that button.

Vice versa, I have a Hue button that I haven't (properly) configured in the Hue app because I exclusively use it for home assistant automations while it does nothing for the lights.

If you don't want Hue switches at all, you could get any other Home Assistant integrated device and have it trigger your lights. Maybe you can find a smart whoopee cushion and tell home assistant to 'turn on Hue lights when whoopee is activated'. Although in that case it just makes sense to use Hue switches because of it being a dedicated system (reliability, speed), which brings me back to the first paragraph of this comment.

1
JeopardE•

Here are the actions from my simulated sunrise automation in Home Assistant. You can trigger at a fixed time every day as you wish.

  - service: light.turn_on
    data:
      brightness_pct: 1
      rgb_color:
        - 251
        - 140
        - 0
    target:
      entity_id:
        - light.kids_bedroom_light
        - light.master_bedroom_lights
  - delay:
      hours: 0
      minutes: 0
      seconds: 1
      milliseconds: 0
  - service: light.turn_on
    data:
      transition: 300
      kelvin: 5000
      brightness_pct: 100
    target:
      entity_id:
        - light.kids_bedroom_light
        - light.master_bedroom_lights
  - delay:
      hours: 0
      minutes: 5
      seconds: 0
      milliseconds: 0
1
bigstyleeOP•

thank you, very helpful

1
AutomateItAllNow•

Are you using home assistant?

1
bigstyleeOP•

I have just installed Home Assistant on my home server, so yes I think this will be the plan.

I am in the UK, and from what I currently understand Lutron Caseta is not compatible.

I am a programmer, so feel right at home with YAML.

1