# Get more values from Tuya devices

**URL:** <https://community.homey.app/t/get-more-values-from-tuya-devices/151625>\
**Category:** Devices\
**Created:** [February 24, 2026, 11:51am UTC](https://community.homey.app/t/get-more-values-from-tuya-devices/151625 "2026-02-24T11:51:50Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![philthynz](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/philthynz/32/122218_2.png) [@philthynz](https://community.homey.app/u/philthynz)\
**Post date:** [February 24, 2026, 11:51am UTC](https://community.homey.app/t/get-more-values-from-tuya-devices/151625/1 "2026-02-24T11:51:50Z")

</div>

Hello community.

I am wondering if we can do anything about adding more sensors from Tuya devices.

I’m using the official Tuya app, v1.2.6.

I have a Rinnai Hot water heat pump.

In smart life, I can see more sensors compared to homey. In particular I would like to know if the HWHP compressor has turned on. There is a sensor for device turn on. But not the fan or compressor.

There is a card in a flow to get any value from json. But I am unable to edit the json query.

 ![1000026008](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/c/1ce377cb6e7174d4a85fa6902925a7a3746c96c6.jpeg)

How do we get any value from th device?

---

<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 24, 2026, 1:03pm UTC](https://community.homey.app/t/get-more-values-from-tuya-devices/151625/2 "2026-02-24T13:03:52Z")

</div>

You should choose the “Code” option and choose the endpoint. You can then use a Logic card in the AND-section to perform checks on the JSON query (e.g. tag Value equals …)

---

<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 24, 2026, 10:13pm UTC](https://community.homey.app/t/get-more-values-from-tuya-devices/151625/3 "2026-02-24T22:13:13Z")

</div>

> [@philthynz](#):
>
> I would like to know if the HWHP compressor has turned on.

For a switch you need a Boolean (= 0 or 1) “When” card;  
When you click into the [code] field,

 ![Screenshot from 2026-02-24 22-56-26](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/5/f/5f91ecd07f4aa1e4f1b14ef414acdf322ca39f1e.png)  
the available switches of that device gets listed;  
Pick one and test to see if you picked the right one:  
 ![Screenshot from 2026-02-24 22-59-55](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/1/e127d22b905dcf8b88eee9e5ce5a3eb8deb9fe0a.png)

In case it is a text trigger (like, some PIR sensors send the word `PIR` instead of true/false), just add a String (text) type “Then” card to see what’s gets listed

 ![Screenshot from 2026-02-24 22-57-17](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/2/f292e944fe7643d352e4ef69b8d68965d518560f.png)

Or when you think it is a numeric trigger, just add a Number type “Then” card to see what’s gets listed

 ![Screenshot from 2026-02-24 22-56-55](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/2/f271858527c76a22bd41aaa9aefa84c7a75d68bc.png)

If you’re unsure what type to use, just try all 3 types…

The same principle applies to “Then” cards, for example when you want to turn on a Tuya device:

 ![Screenshot from 2026-02-24 23-10-16](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/c/e/ceb8ac1fad321b0797bfee8eaab30f8b3b584f24.png)

---

<div class="post-metadata">

**Author:** ![philthynz](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/philthynz/32/122218_2.png) [@philthynz](https://community.homey.app/u/philthynz)\
**Post date:** [February 25, 2026, 4:57am UTC](https://community.homey.app/t/get-more-values-from-tuya-devices/151625/4 "2026-02-25T04:57:04Z")

</div>

So I think my issue is that the value I want isn’t there. But I see it in SmartLife app.

From SmartLife, I want to know if the compressor turns on.

But in Homey I don’t see it. Using the “Status code, gets a new string’ value” card. It’s not there.

 ![1000026034](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/0/90934b3ed1e4bee9220120ab9b8901bc9cae042f.jpeg)

Is there a way I can get a custom value? It says any value from the API can be used, but the search doesn’t show the value I need.

---

<div class="post-metadata">

**Author:** ![philthynz](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/philthynz/32/122218_2.png) [@philthynz](https://community.homey.app/u/philthynz)\
**Post date:** [February 25, 2026, 8:29am UTC](https://community.homey.app/t/get-more-values-from-tuya-devices/151625/5 "2026-02-25T08:29:15Z")

</div>

In the Web app, not mobile I can see a value that I can work with. Under device settings:

 ![1000026037](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/c/9/c9bcdc31fb15ce858a804223ed0dcbc7dfd1cddf.jpeg)

---

<div class="post-metadata">

**Author:** ![philthynz](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/philthynz/32/122218_2.png) [@philthynz](https://community.homey.app/u/philthynz)\
**Post date:** [February 25, 2026, 8:31am UTC](https://community.homey.app/t/get-more-values-from-tuya-devices/151625/6 "2026-02-25T08:31:12Z")

</div>

I will try a flow like this, just to see if the value is accurate. I’ll have to wait until the heat pump turns on.

 ![1000026039](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/e/9e0f2a20c4f87394fbbc05773a67a6a7c0d62bf2.jpeg)

---

<div class="post-metadata">

**Author:** ![philthynz](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/philthynz/32/122218_2.png) [@philthynz](https://community.homey.app/u/philthynz)\
**Post date:** [February 26, 2026, 5:56am UTC](https://community.homey.app/t/get-more-values-from-tuya-devices/151625/7 "2026-02-26T05:56:21Z")

</div>

Yea that did. Thanks all. I’ll use the logic flow cards for that value.

 ![1000026059](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/4/f4518b63cddd6af8fe18ac9420fa0d8a9ff29ba7.jpeg)
