Home-AssistantConfig
Home-AssistantConfig copied to clipboard
Build QR system for TTS
Print QR codes that trigger Cloud/WebHooks that trigger TTS notifications.
What will this be used for?
So my super early thoughts on it are, QR codes around various things in the house that when scanned, trigger a TTS notification.
QR code the TV Remote, get verbal instructions in the living room on how to use it. QR code the garbage can, trigger the responsibility routine which announces who's day it is for chores and if it's garbage day.
Some things like that using webhooks..
This would be your trigger
trigger:
platform: webhook
webhook_id: some_hook_id
but you need to figure out how to make a POST request to this URL
https://ha.ip/api/webhook/some_hook_id?token=LongLivedToken
I don't think you can do this in the web browser and a Siri Shortcut would work but guests in your home would have to download the Shortcuts app and install a shortcut
#426 will have to be done as well.
yup
Just for fun I created some example HTML code (I am not a coder, I just used examples from the web) for a web page that when visited makes a POST request so you can put that web page in a QR code and it should work to make the webhook request to home assistant: https://github.com/ikifar2012/Browser-HTTP-POST