# How to send variable to mobile phone as message in gen 2 app

**URL:** <https://community.homey.app/t/how-to-send-variable-to-mobile-phone-as-message-in-gen-2-app/5390>\
**Category:** Questions & Help\
**Created:** [December 12, 2018, 10:58pm UTC](https://community.homey.app/t/how-to-send-variable-to-mobile-phone-as-message-in-gen-2-app/5390 "2018-12-12T22:58:35Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dusan\_Debeljak](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dusan_debeljak/32/9650_2.png) [@Dusan\_Debeljak](https://community.homey.app/u/Dusan_Debeljak)\
**Post date:** [December 12, 2018, 10:58pm UTC](https://community.homey.app/t/how-to-send-variable-to-mobile-phone-as-message-in-gen-2-app/5390/1 "2018-12-12T22:58:35Z")

</div>

Hi,

can anyone help with this flow issue?  
Before the update I could send message stored in variable( **varMessage** ) to a mobile phone as push message. Now in gen 2 app I only see this when I look at the Mobile send push notification card:

> [[homey:manager:logic|varMessage]]

and it doesn’t work. If I write just some message it works no problem.

Error is:

> flowtoken\_not\_found

br,  
Dusan

---

<div class="post-metadata">

**Author:** ![Caseda](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/caseda/32/138695_2.png) [@Caseda](https://community.homey.app/u/Caseda)\
**Post date:** [December 13, 2018, 6:59am UTC](https://community.homey.app/t/how-to-send-variable-to-mobile-phone-as-message-in-gen-2-app/5390/2 "2018-12-13T06:59:00Z")

</div>

Homey build in logic uses an ID now as identifier instead of the name for variables, making it possible to rename the variable without having to fix anything.

So untill tokens are implemented into text inputs natively (🔜) it needs to be insterted manually.  
To find the id of (all) a logic variable you can use this code in the developer tools’ playground:  
`Homey.logic.getVariables();`

---

<div class="post-metadata">

**Author:** ![Stefan\_8182](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/stefan_8182/32/10471_2.png) [@Stefan\_8182](https://community.homey.app/u/Stefan_8182)\
**Post date:** [December 13, 2018, 2:53pm UTC](https://community.homey.app/t/how-to-send-variable-to-mobile-phone-as-message-in-gen-2-app/5390/3 "2018-12-13T14:53:42Z")

</div>

> [@Dusan\_Debeljak](#):
>
> [[homey:manager:logic|varMessage]]

After you get the id for the token I still can’t get it to work.  
It says Tags are not yet supported here. Is there a workaround for this yet?

---

<div class="post-metadata">

**Author:** ![Dusan\_Debeljak](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dusan_debeljak/32/9650_2.png) [@Dusan\_Debeljak](https://community.homey.app/u/Dusan_Debeljak)\
**Post date:** [December 13, 2018, 9:23pm UTC](https://community.homey.app/t/how-to-send-variable-to-mobile-phone-as-message-in-gen-2-app/5390/4 "2018-12-13T21:23:19Z")

</div>

Thanks. It works like a charm 😁 just replace variable with ID

> [[homey:manager:logic|3d963c1c-231d-4c40-916b-f5c5afb0c87c]]

---

<div class="post-metadata">

**Author:** ![Stefan\_8182](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/stefan_8182/32/10471_2.png) [@Stefan\_8182](https://community.homey.app/u/Stefan_8182)\
**Post date:** [December 14, 2018, 7:19am UTC](https://community.homey.app/t/how-to-send-variable-to-mobile-phone-as-message-in-gen-2-app/5390/5 "2018-12-14T07:19:55Z")

</div>

The problem was that push notifications was broken in RC3.

---

<div class="post-metadata">

**Author:** ![Robin\_van\_Kekem](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robin_van_kekem/32/8187_2.png) [@Robin\_van\_Kekem](https://community.homey.app/u/Robin_van_Kekem)\
**Post date:** [December 14, 2018, 7:32am UTC](https://community.homey.app/t/how-to-send-variable-to-mobile-phone-as-message-in-gen-2-app/5390/6 "2018-12-14T07:32:39Z")

</div>

Weird, never stopt working on both RC2 and RC3

---

<div class="post-metadata">

**Author:** ![Stefan\_8182](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/stefan_8182/32/10471_2.png) [@Stefan\_8182](https://community.homey.app/u/Stefan_8182)\
**Post date:** [December 14, 2018, 7:39am UTC](https://community.homey.app/t/how-to-send-variable-to-mobile-phone-as-message-in-gen-2-app/5390/7 "2018-12-14T07:39:37Z")

</div>

I saw it here: [Xiaomi / Aqara Smart Home - Zigbee App (v0.4.3)](https://community.homey.app/t/xiaomi-aqara-smart-home-zigbee-app-v0-4-3/156/308?u=stefan_8182)

---

<div class="post-metadata">

**Author:** ![Dusan\_Debeljak](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dusan_debeljak/32/9650_2.png) [@Dusan\_Debeljak](https://community.homey.app/u/Dusan_Debeljak)\
**Post date:** [December 14, 2018, 7:53am UTC](https://community.homey.app/t/how-to-send-variable-to-mobile-phone-as-message-in-gen-2-app/5390/8 "2018-12-14T07:53:34Z")

</div>

I have rc3 and it works with ID…

---

<div class="post-metadata">

**Author:** ![Stefan\_8182](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/stefan_8182/32/10471_2.png) [@Stefan\_8182](https://community.homey.app/u/Stefan_8182)\
**Post date:** [December 14, 2018, 2:37pm UTC](https://community.homey.app/t/how-to-send-variable-to-mobile-phone-as-message-in-gen-2-app/5390/9 "2018-12-14T14:37:53Z")

</div>

Installed the new Testflite app Homey (Gen. 2) 0.17.0 (234) and now it works again

---

<div class="post-metadata">

**Author:** ![TedTolboom](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tedtolboom/32/12081_2.png) [@TedTolboom](https://community.homey.app/u/TedTolboom)\
**Post date:** [December 14, 2018, 3:09pm UTC](https://community.homey.app/t/how-to-send-variable-to-mobile-phone-as-message-in-gen-2-app/5390/10 "2018-12-14T15:09:48Z")

</div>

> [@Stefan\_8182](#):
>
> Installed the new Testflite app Homey (Gen. 2) 0.17.0 (234) and now it works again

Indeed, now it is working again
