Is it possible to get the device_id as attribute for scripts triggered by the AI in voice commands.
I wanted to make my voice activated phone call system known to the AI. but as far i know of the scripts dont know what device is asking to make a call. (perhaps i can hack room location) that will be one of 3 voip phones or my cell or one of my two laptops.
please add the device id to scripts that are triggered by the AI agent.
Can you clarify what you need? You need the LLM to be able to specify a device_id when invoking a script?
Or you need the script to have access to which assist satellite triggered the script?
Or something else entirely?
Oh, I’m still trying to understand your use case. Unfortunately it’s still not clear what exactly you’re asking (at least to me). Can you describe your exact use case in detail? What are you asking the model? What does the script do, exactly? What are its inputs?
I am assuming that whatever automation or script or button that is calling the script knows the device you want to call. If not I can’t help you. Scripts - Home Assistant.
a other user story.
I have rss news parser scripts.
because the google AI when nuts over that it was life realtime data i made a functional voice automation. instead of scripts.
so that a AI gives news based on live and local rss feeds
I extended this with a more info automation that reads the url of the rss feeds and runs a AI sumary of the text in the page.
this all uses a mysql db that stores blobs for news query for every assist separate.
Back to today the AI of google is aware that scripts can connect to live data so it isnt a problem. I can ask is there football news and football news is given.
But how do i feed the blob database with this with out loosing the multi assist and thus multi user capability of my scripts.
OR hack the hell out of rooms.