# \[APP\]\[Pro\] Ollama - Use Local LLMs in your Flows

**URL:** <https://community.homey.app/t/app-pro-ollama-use-local-llms-in-your-flows/143768>\
**Category:** Apps\
**Tags:** app, homey-pro, ai\
**Created:** [October 4, 2025, 11:37pm UTC](https://community.homey.app/t/app-pro-ollama-use-local-llms-in-your-flows/143768 "2025-10-04T23:37:31Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![Nlesdain](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/nlesdain/32/101557_2.png) [@Nlesdain](https://community.homey.app/u/Nlesdain)\
**Post date:** [November 19, 2025, 10:45am UTC](https://community.homey.app/t/app-pro-ollama-use-local-llms-in-your-flows/143768/22 "2025-11-19T10:45:37Z")

</div>

I just discovered your app !  
That looks great, and could replace what I do today :  
I have a Ollama with local models, and I use them in Homey Flows with a HomeyScript card…

I tried to set up the Ollama App, but I have an error when trying to set up the model :

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/d/d/dd938095b7e9bf9ebfd7708425e75e380dbfeef3.png)

In the app settings, I have this :

- IP Adress : [http://0.0.0.0](http://0.0.0.0) (not the real address !)
- Port : 11434

have I done something wrong ?

For reference, here is the HomeyScript I Use in the HomeyScript card, and works well (I am not a developper… code might be ugly ! 🙂 )  
(I changed the IP address ! 😉 )

```javascript
const input = args[0] !== undefined ? args[0] : "Bonjour le monde";
const prompt = ` '${input}'.`;

const response = await fetch("http://0.0.0.0:11434/api/generate", {
  method: 'POST',
  headers: {'content-type' : 'application/json'},
  body: JSON.stringify({ 
    model: "Lumen",
    prompt: prompt,
    stream: false
  })
});

const json = await response.json();
const output = json.response;
return output.substring(0, output.length - 1).substring(1);

```

---

<div class="post-metadata">

**Author:** ![smarthomesven](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/smarthomesven/32/79712_2.png) [@smarthomesven](https://community.homey.app/u/smarthomesven)\
**Post date:** [November 19, 2025, 10:48am UTC](https://community.homey.app/t/app-pro-ollama-use-local-llms-in-your-flows/143768/23 "2025-11-19T10:48:19Z")

</div>

My app uses the /api/tags endpoint to get the models. Is the app configured with the correct details, and is your Ollama instance up to date?

My app uses the same /api/generate endpoint for generating responses, but your issue seems to be related to the autocomplete which uses /api/tags

---

<div class="post-metadata">

**Author:** ![Nlesdain](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/nlesdain/32/101557_2.png) [@Nlesdain](https://community.homey.app/u/Nlesdain)\
**Post date:** [November 20, 2025, 4:42pm UTC](https://community.homey.app/t/app-pro-ollama-use-local-llms-in-your-flows/143768/24 "2025-11-20T16:42:36Z")

</div>

Thanks for your help…

when i do curl [http://localhost:11434/api/tags](http://localhost:11434/api/tags) in a terminal (MacOS), I do get the installed models…  
Also, the “expose Ollama to the network” is on…

If I connect on a phone using Reins, I can list models, and use them as long I am on the same network. So the Ollama instance seems up and running.

Any ideas ?

---

<div class="post-metadata">

**Author:** ![smarthomesven](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/smarthomesven/32/79712_2.png) [@smarthomesven](https://community.homey.app/u/smarthomesven)\
**Post date:** [November 20, 2025, 5:20pm UTC](https://community.homey.app/t/app-pro-ollama-use-local-llms-in-your-flows/143768/25 "2025-11-20T17:20:27Z")

</div>

Maybe your firewall is blocking communications between Homey and your Ollama instance. Is Homey on another VLAN?

---

<div class="post-metadata">

**Author:** ![smarthomesven](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/smarthomesven/32/79712_2.png) [@smarthomesven](https://community.homey.app/u/smarthomesven)\
**Post date:** [November 20, 2025, 6:04pm UTC](https://community.homey.app/t/app-pro-ollama-use-local-llms-in-your-flows/143768/26 "2025-11-20T18:04:37Z")

</div>

> [@Nlesdain](#):
>
> IP Adress : [http://0.0.0.0](http://0.0.0.0) (not the real address !)

Oh I forgot to mention: Do NOT put “http://“ in front of the IP, that’s not needed. The app will place that there automatically.

---

<div class="post-metadata">

**Author:** ![Nlesdain](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/nlesdain/32/101557_2.png) [@Nlesdain](https://community.homey.app/u/Nlesdain)\
**Post date:** [November 20, 2025, 6:32pm UTC](https://community.homey.app/t/app-pro-ollama-use-local-llms-in-your-flows/143768/27 "2025-11-20T18:32:54Z")

</div>

I removed the http:// and it worked !

Thank you ! 🤩

---

<div class="post-metadata">

**Author:** ![Nlesdain](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/nlesdain/32/101557_2.png) [@Nlesdain](https://community.homey.app/u/Nlesdain)\
**Post date:** [November 22, 2025, 2:14pm UTC](https://community.homey.app/t/app-pro-ollama-use-local-llms-in-your-flows/143768/28 "2025-11-22T14:14:43Z")

</div>

I tried to play along with the app…

It is great, and I like it very much !

Could it be possible to change other parameters like temperature, num predict, top\_p, repeat\_penalty…

Also, it could be great to be able to set up some kind of agent with a dedicated system prompt and parameters, and then be able to use them in flows without having to change the system prompt each time…

Great work anyway !

---

<div class="post-metadata">

**Author:** ![smarthomesven](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/smarthomesven/32/79712_2.png) [@smarthomesven](https://community.homey.app/u/smarthomesven)\
**Post date:** [November 22, 2025, 11:41pm UTC](https://community.homey.app/t/app-pro-ollama-use-local-llms-in-your-flows/143768/29 "2025-11-22T23:41:05Z")

</div>

I left out the extra parameters, because the Homey App Store doesn’t allow too many arguments

![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/d/9de018f4052a146b4f4623ac35614b80888a7925.png)

It might be possible to add the parameters as options like the system prompt (which you can set in the settings and also set using a different Flow card), I will add that feature to the app soon

What do you mean by an agent with a dedicated system prompt? Like presets of all the parameters? I can build that too if that’s what you mean

---

<div class="post-metadata">

**Author:** ![Nlesdain](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/nlesdain/32/101557_2.png) [@Nlesdain](https://community.homey.app/u/Nlesdain)\
**Post date:** [November 23, 2025, 9:45am UTC](https://community.homey.app/t/app-pro-ollama-use-local-llms-in-your-flows/143768/30 "2025-11-23T09:45:52Z")

</div>

Yes exactly !

I mean presets that can be used for different kind of tasks !

Thanks again !

---

<div class="post-metadata">

**Author:** ![smarthomesven](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/smarthomesven/32/79712_2.png) [@smarthomesven](https://community.homey.app/u/smarthomesven)\
**Post date:** [February 2, 2026, 5:55pm UTC](https://community.homey.app/t/app-pro-ollama-use-local-llms-in-your-flows/143768/31 "2026-02-02T17:55:50Z")

</div>

# Version 1.1.5

- Update dependencies

---

<div class="post-metadata">

**Author:** ![smarthomesven](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/smarthomesven/32/79712_2.png) [@smarthomesven](https://community.homey.app/u/smarthomesven)\
**Post date:** [February 15, 2026, 3:00pm UTC](https://community.homey.app/t/app-pro-ollama-use-local-llms-in-your-flows/143768/32 "2026-02-15T15:00:04Z")

</div>

# Version 1.1.6

- Update dependencies

---

<div class="post-metadata">

**Author:** ![smarthomesven](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/smarthomesven/32/79712_2.png) [@smarthomesven](https://community.homey.app/u/smarthomesven)\
**Post date:** [February 27, 2026, 6:14pm UTC](https://community.homey.app/t/app-pro-ollama-use-local-llms-in-your-flows/143768/33 "2026-02-27T18:14:31Z")

</div>

# Version 1.1.7

- Update dependencies

---

<div class="post-metadata">

**Author:** ![smarthomesven](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/smarthomesven/32/79712_2.png) [@smarthomesven](https://community.homey.app/u/smarthomesven)\
**Post date:** [March 19, 2026, 7:00am UTC](https://community.homey.app/t/app-pro-ollama-use-local-llms-in-your-flows/143768/34 "2026-03-19T07:00:41Z")

</div>

# Version 1.1.8

- Added telemetry

---

<div class="post-metadata">

**Author:** ![smarthomesven](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/smarthomesven/32/79712_2.png) [@smarthomesven](https://community.homey.app/u/smarthomesven)\
**Post date:** [March 22, 2026, 3:02pm UTC](https://community.homey.app/t/app-pro-ollama-use-local-llms-in-your-flows/143768/35 "2026-03-22T15:02:43Z")

</div>

# Version 1.1.9

- Improved settings page

---

<div class="post-metadata">

**Author:** ![smarthomesven](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/smarthomesven/32/79712_2.png) [@smarthomesven](https://community.homey.app/u/smarthomesven)\
**Post date:** [March 27, 2026, 7:34pm UTC](https://community.homey.app/t/app-pro-ollama-use-local-llms-in-your-flows/143768/36 "2026-03-27T19:34:01Z")

</div>

# Version 1.1.10

- Update dependencies

---

<div class="post-metadata">

**Author:** ![smarthomesven](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/smarthomesven/32/79712_2.png) [@smarthomesven](https://community.homey.app/u/smarthomesven)\
**Post date:** [April 22, 2026, 6:48pm UTC](https://community.homey.app/t/app-pro-ollama-use-local-llms-in-your-flows/143768/37 "2026-04-22T18:48:30Z")

</div>

# Version 1.1.11

- Update dependencies

---

<div class="post-metadata">

**Author:** ![smarthomesven](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/smarthomesven/32/79712_2.png) [@smarthomesven](https://community.homey.app/u/smarthomesven)\
**Post date:** [May 4, 2026, 1:57am UTC](https://community.homey.app/t/app-pro-ollama-use-local-llms-in-your-flows/143768/38 "2026-05-04T01:57:56Z")

</div>

# Version 1.1.12

- Update dependencies

---

<div class="post-metadata">

**Author:** ![smarthomesven](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/smarthomesven/32/79712_2.png) [@smarthomesven](https://community.homey.app/u/smarthomesven)\
**Post date:** [May 14, 2026, 12:44am UTC](https://community.homey.app/t/app-pro-ollama-use-local-llms-in-your-flows/143768/39 "2026-05-14T00:44:04Z")

</div>

# Version 1.1.13

- Update dependencies

---

<div class="post-metadata">

**Author:** ![smarthomesven](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/smarthomesven/32/79712_2.png) [@smarthomesven](https://community.homey.app/u/smarthomesven)\
**Post date:** [June 1, 2026, 9:50pm UTC](https://community.homey.app/t/app-pro-ollama-use-local-llms-in-your-flows/143768/40 "2026-06-01T21:50:22Z")

</div>

# Version 1.1.14

- Translation cleanup

---

<div class="post-metadata">

**Author:** ![smarthomesven](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/smarthomesven/32/79712_2.png) [@smarthomesven](https://community.homey.app/u/smarthomesven)\
**Post date:** [June 5, 2026, 12:23pm UTC](https://community.homey.app/t/app-pro-ollama-use-local-llms-in-your-flows/143768/41 "2026-06-05T12:23:41Z")

</div>

# Version 1.1.15

- Update dependencies

[Previous page](https://community.homey.app/t/app-pro-ollama-use-local-llms-in-your-flows/143768.md?page=1)

[Next page](https://community.homey.app/t/app-pro-ollama-use-local-llms-in-your-flows/143768.md?page=3)
