#Assistant AI current zone

1 messages · Page 1 of 1 (latest)

old rampart
#

Is it possible for the AI to detect what zone the current user is.

I want to use this for a rss feed scanner to check what is going on.

But i want to be able to use it on the road so it uses the (lastest known got that) zone to use the local rss feed.

I surely can hardcode my location but i want to present a multi user solution to the community

sharp gale
#

It should have that information from the satellite user is talking to. Assign satellite to the zone, if you didn't do it before.

old rampart
#

Zones not rooms.

#

For the assist on my phone for example

#

I got a prototype but the zone is coded in the prompt so single user only.

sharp gale
#

Sorry I don't know Dutch.
There's no such thing like "room" in HA. Zones mostly mean rooms (or parts of rooms)...
Discard that, it's areas, sorry.

spring sierra
#

Think he means geolocation zone.

#

Which is also available in ha via person entities or tracker entities

sharp gale
#

The problem with this is logical:

  1. LLM should know which device it was called from. Phone assist does report device ID (phone) to the pipeline. However, i'm not sure if LLM gets it, and if it does, is it capable to use it for tools.
  2. Getting the zone from device. That's easy: just create script and return something like {{ states((device_entities(device_id)| select('match', 'device_tracker*')|list)[0]) }} there. Expose it to Assist. It will return current zone for phone with given device_id.
old rampart