| Post Reply | RetroFed Forum Forum Index » homeassistant |
| Author | Message | ||
|---|---|---|---|
|
eldyaitch
lemmy.zip
eldyaitch@lemmy.zip Joined: 2026-02-01 |
I mostly understand the dilemma, but I want to see if someone has better success with their AI assistant. |
||
| 16 Original | |||
|
betterdeadthanreddit
lemmy.world
betterdeadthanreddit@lemmy.world Joined: 2023-06-06 |
Can't piss on me, can't tell me it's raining. What are these things even useful for? |
||
| 3 | |||
|
Danitos
reddthat.com
Danitos@reddthat.com Joined: 2024-01-17 |
Not in HomeAssistant directly, but I made a flow in n8n where an LLM model can detect I'm asking about weather and call a weather API, parse the response and answer. |
||
| 4 | |||
Dave
lemmy.nz
Dave@lemmy.nzJoined: 2023-06-02 |
Not in HomeAssistant directly, but I made a flow in n8n where an LLM model can detect I'm asking about weather and call a weather API, parse the response and answer.
You can do something similar in Home Assistant. Add an integration to a weather service (there might even be one out of the box). Create an automation trigged by saying a sentence to your voice assistant. Set the automation action to be a conversation response, and set that to whatever entity contains the part of the weather you want it to say (or a template if you want it to say multiple or other fancy things) |
||
| 1 | |||
|
hendrik
palaver.p3x.de
hendrik@palaver.p3x.de Joined: 2021-08-21 |
What I do is use externed_openai_conversation from the HACS to hook into my LLM's OpenAI-compatible API endpoint. That one makes it available via the regular Voice Assistant stuff within Home Assistant. Not sure what's happening here. The Ollama page says it doesn't have all functionality, for example it doesn't have sentence triggers? And weather forecast is a bit of a weird one in Home Assistant. That's not an entity (unless you configure one manually) but a service call to fetch the forecast. Maybe your AI just doesn't have the forecast available, just the current condition and maybe current temperature. Everything else must be specifically requested with a deliberate "weather.get_forecast" call. Maybe that service call and the specific processing is in the official Assistant, but not in the Ollama integration? |
||
| 2 | |||
|
eldyaitch
lemmy.zip
eldyaitch@lemmy.zip Joined: 2026-02-01 |
Nice! These are great suggestions, and I apologize for any incorrect terminology in my post. |
||
| 1 | |||
| Post Reply |
Back to top |