Alright here we go, Mine name is Remy, 29 years old i had the broadlink device. This was terrible so decided to begin a new with the raspberry pi, (never used it before)
so id get a raspberry from mine dad a raspberry 2, and after a couple hours got the hassbian working on it, configured ikea tradfri on it and google home, Thnx to youtube tutorial(thank god). Now i want tot use IFTTT to make a scene for lets say phrase goodnight->action-> turn all light off, and start charger phone.
And this is were iam at a dead end. i have seen tutorials on youtube i have read the manual on ha site. But i have no idea were to begin. I did the intergration on HA iam connected with IFTTT and webhooks. but after the THIS-> i got to THAT and need to do things. mine questions are: were to find the url i need to put in? do i need to make scripts or just input it in IFTTT? is the way iam going in any good directon or am i totaly wrong?
hi guys thnx for the fast advice, oke mine setup:
Google home with a smart speaker from google home is mine go to talking point. ikea tradfri gateway and app has no scenes to make and isnt compaitble with IFTTT. So i want to say to google Goodnight then with IFTTT will make contact with HA and activate the scene if that is possible?!
This here, it says put these lines in the configuration.yaml, Can i just put it somewere?
# Replace google_say with <platform>_say when you use a different platform.
service: tts.google_say
entity_id: "all"
data:
message: 'May the Force be with you.'
i mean, is there a rule were it has to be put scripts like that, not persee this one, commands like that do you have to put them same were specific or just put them on the bottom?
thnx will do right now, but we were going off topic mine question was what to put in at url with the IFTTT Pallet, how to make it work like:
hey google, /⌠goodnight-> goodnight Remy->action: 4 lights off one switch on.?
so i have google assistant already intergrated trough the home assistant cloud, But next thing is how to make a scene, like say good night and things happen, Do also do that in the YAML?
if yes: is there a explaination how to make a script like that
sorry for being a noob
That would be my approach. Write a script to do what you want (turn off lights, turn on charger) and then âturn onâ that script with google assitant.
Someone with a google home can help you through the setup of that side, read the script docs and if you need help setting it up post the entity IDs of your lights and I can assist.
If you just have a scene/routine you want to activate with a shortcut phrase to Google Home, you can do that in the Google Home app, since you already have your devices linked to Google Home through Home Assistant Cloud:
Ahh, then yes, Iâd follow @silvrrâs advice. Create a script called âgood nightâ for example, link it to your Google Home, and then you can say âOk google, turn on good nightâ and it should run the script for you.
automation:
trigger:
platform: state
entity_id: light.woonkamer
from: âoffâ
to: âonâ
action:
service: script.notify_pushover
data:
title: âState changeâ
message: 'The light is on
platform means?
I know state means that the state of the device changes
the trigger is ?
So how does he send me a message, and were do i speak this ti HA or GH
First off, when posting config make sure it retains the proper formatting by following the below image. Formatting is so important in yaml and it can be reviewed if not posted correctlyâŚ