# MQTT NodeRed values

**URL:** <https://community.homey.app/t/mqtt-nodered-values/60459>\
**Category:** Questions & Help\
**Created:** [February 15, 2022, 1:23pm UTC](https://community.homey.app/t/mqtt-nodered-values/60459 "2022-02-15T13:23:23Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [February 16, 2022, 7:44pm UTC](https://community.homey.app/t/mqtt-nodered-values/60459/4 "2022-02-16T19:44:01Z")

</div>

If the topic “text” contains only numbers, you can create a numeric variable from the text variable [message received from]

Example to “Convert” a textvar which holds only numbers, to a numvar:

.  
If numvar changes, set color to the value stored in [numvar]:

Probably this app is interesting to you

> **[Color Tools](https://homey.app/en-us/app/com.sdn.color-tools/Color-Tools/)**
>
> Convert color data to processable values

---

_[View the full topic](https://community.homey.app/t/mqtt-nodered-values/60459)._
