# HomeyScript & Advanced Flow (Paramters, Return Value) Basics

**URL:** <https://community.homey.app/t/homeyscript-advanced-flow-paramters-return-value-basics/145835>\
**Category:** Apps\
**Tags:** homeyscript, advancedflow\
**Created:** [November 24, 2025, 11:52am UTC](https://community.homey.app/t/homeyscript-advanced-flow-paramters-return-value-basics/145835 "2025-11-24T11:52:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gerri3d](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gerri3d/32/121004_2.png) [@Gerri3d](https://community.homey.app/u/Gerri3d)\
**Post date:** [November 24, 2025, 11:52am UTC](https://community.homey.app/t/homeyscript-advanced-flow-paramters-return-value-basics/145835/1 "2025-11-24T11:52:01Z")

</div>

Hi, I use homey pro 2019. I will read 3 Args from the Advanced-Flow (temp, hum), clac somethin and return a setpoint value back to the adnavced flow. has anybody an example how to do this?

---

<div class="post-metadata">

**Author:** ![Paul\_van\_Ulft](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/paul_van_ulft/32/56539_2.png) [@Paul\_van\_Ulft](https://community.homey.app/u/Paul_van_Ulft)\
**Post date:** [November 24, 2025, 5:13pm UTC](https://community.homey.app/t/homeyscript-advanced-flow-paramters-return-value-basics/145835/2 "2025-11-24T17:13:50Z")

</div>

use the logic card Calculate. What do you want to calculate?

---

<div class="post-metadata">

**Author:** ![Gerri3d](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gerri3d/32/121004_2.png) [@Gerri3d](https://community.homey.app/u/Gerri3d)\
**Post date:** [November 26, 2025, 12:10pm UTC](https://community.homey.app/t/homeyscript-advanced-flow-paramters-return-value-basics/145835/3 "2025-11-26T12:10:11Z")

</div>

I want exactly that way for diffe kinds if applications in tje futur.

Actually i want to get values to the script and back to a tag via argumants and return values.
