a month ago - last edited a month ago
Hello, I'm trying to setup short routines in Google Automation Scripts where I can just say a quick word to display the camera.
Currently the syntax I have to use to display a camera requires a whole phrase "Show Deck Camera on Office Display" where Office Display is my Nest Hub (2nd Gen).
I created the following in the Script Editor, it validates and saves without issue. However when I say "Hey Google, deck" nothing happens. I have added a second action to broadcast "This is a test" and that part does happen so I know the Starter is triggered but it just won't display the camera without me saying the whole phrase "Show Deck Camera on Office Display". I have to do that phrase for each camera I want to quickly see.
metadata:
name: Camera Shortcuts for Office Display
description: Quick commands to show the cameras on the Office Display
automations:
starters:
- type: assistant.event.OkGoogle
eventData: query
is: deck
# This doesn't work, nothing happens. No error, it just flashes and nothing triggers. If I add a second action such as announcement that does happen...
actions:
- type: assistant.command.OkGoogle
okGoogle: Show Deck Camera on Office Display
devices: Office display - Office
4 weeks ago - last edited 3 weeks ago
Hi TheCrowing,
Thanks for posting in the community and sharing your script details. I understand you're trying to set up a short routine in the script editor where you can just say "Hey Google, deck" instead of the full phrase "Show deck camera on office display." I appreciate you confirming that the starter works by including a broadcast message, "This is a test." However, the action only works if you use the longer command. I'm here to help!
To find the best solution, I have some questions for you:
Please keep me updated; I look forward to hearing from you.
Sincerely,
Juan
3 weeks ago
Hello Juan,
Thanks for looking into this.
3 weeks ago - last edited 3 weeks ago
Hi TheCrowing,
Thanks for getting back to me! I've reviewed the information you provided earlier. To keep working on this, I just need to ask a few more questions:
Please let me know if you have any other information; it would be helpful.
Best regards,
Juan
3 weeks ago
Hello Juan
I can't think of any other information other than what I mentioned where the event does trigger but the camera just doesn't show unless I say the entire phrase.
3 weeks ago - last edited 3 weeks ago
Hi TheCrowing,
Thank you for your continued responses. I understand that saying the entire phrase is currently needed to bring up the camera view after the starter triggers.
We're always finding ways to improve, and we'd appreciate it if you could share your feedback about the scripts editor on our feedback form.
If you have any other questions, please don't hesitate to post them on this forum.
Sincerely,
Juan
3 weeks ago
Hello Juan,
I'll submit my feedback there.
Thanks