#Which direction should I go

1 messages · Page 1 of 1 (latest)

devout oxide
#

I am slowly but surely getting though HA.
I have a morning automation i use in google home that I would like to transfer over to HA, but wondering if I should keep it as an automation or if I need to add parts as a script or scene?

green epoch
# devout oxide I am slowly but surely getting though HA. I have a morning automation i use in ...

You’d have to provide more information if you want something more than a generic answer. So, here is a generic answer:

Scripts are just automations that don’t have triggers. So you can call them on demand from anywhere (dashboard button, automation, voice assistant, a helper, etc.)

A scene is useful if you want to save the states of devices and then restore it.

If you have some actions or logic that you would like to either re-use in multiple automations, or execute on demand, then you want to use a script. If you also want to trigger those actions by some specific trigger, you can create an automation who action is to execute the script.

If you have no need to resuee those actions elsewhere and no need to execute those actions on demand, then just make an automation and list the actions inside of it.

devout oxide
#

So my morning Google home routine:
5am- chime, tell time, announce "time to take meds" and then play music on bedroom speaker.
At same time 5 am on Spare room speaker chime, tell time.

530 am chime, tell time on both bedroom speakers. Turn on lamp in spare room. Turn on vanity lights, dim to 20%, turn light blue. Turn on kitchen light.
6am: chime to entire house, tell time and start playing music on all speakers in home. Turn daughters light on at 50%, color purple. Turn bedroom lights on to 20%, light blue.

From this point on every 30 minutes it is chime, announce time, tell weather and make announcements like "time to brush teeth." Or "you need to leave in 15 minutes"...

I also have a similar night time routine I would need to set up. Just this time turning off TV's and lights and playing sleep music.

devout oxide
#

@green epoch could you explain scene a little bit more? I understand the state of the device like my tv being on, off or idle. What do you mean by restore?
An issue I have been having is a TV randomly disconnecting from the Android Remote Integration. I thought at first it was because of turning the TV off with a physical remote, but that doesn't seem to be the case.

green epoch
#

Scenes are most often used for lighting, you can set a bunch of lights to the color and brightness you want and then save that scene. Then you simply need to apply the scene and every light will go to the settings you saved. Scenes can also be created on-the-fly, so that you can save the current settings of your light(s) which is useful if you want to do something like change a light to max brightness when a motion sensor detects motion, but then return the light to its previous state or brightness when motion is cleared