# \[APP\]\[Pro\] Tuya Local

**URL:** <https://community.homey.app/t/app-pro-tuya-local/154077>\
**Category:** Apps\
**Created:** [April 21, 2026, 10:24pm UTC](https://community.homey.app/t/app-pro-tuya-local/154077 "2026-04-21T22:24:35Z")\
**Posts on this page:** 20\
**Page:** 15

<div class="post-metadata">

**Author:** ![Haakon\_Unelsrod](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/haakon_unelsrod/32/172374_2.png) [@Haakon\_Unelsrod](https://community.homey.app/u/Haakon_Unelsrod)\
**Post date:** [August 16, 2026, 3:40pm UTC](https://community.homey.app/t/app-pro-tuya-local/154077/286 "2026-08-16T15:40:33Z")

</div>

I’ve managed to get an Elko Smart Termostat (WiFi) connected, but its reporting the temperature using 2 digits for the fraction. Is there any chance you can add 100 as a temperature divisor? The current option is limited to 1 or 10.

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

---

<div class="post-metadata">

**Author:** ![Andi](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/andi/32/160466_2.png) [@Andi](https://community.homey.app/u/Andi)\
**Post date:** [August 16, 2026, 3:44pm UTC](https://community.homey.app/t/app-pro-tuya-local/154077/287 "2026-08-16T15:44:35Z")

</div>

> [@Danny\_Daniels](#):
>
> Hey Andi  
> I have installed the app and added a few lights; it works fine. Do I need to create a static IP address for the Tuya devices?

Hi Danny

Yes — I’d recommend it. The app connects _to_ the device, so it needs the address to stay where it is. If your router hands the device a different IP later, the app keeps knocking at the old one and the device goes unavailable; the log then shows `EHOSTUNREACH` for that address.

The cleanest way is a **DHCP reservation in your router** rather than a static address on the device itself — Tuya devices generally don’t let you set one anyway. On a Fritz!Box it’s the “always assign the same IPv4 address to this device” checkbox in the device’s detail view; other routers call it a static lease or address reservation.

If it does happen, nothing is lost: look up the new address in your router and correct **IP address** in the device’s advanced settings. The local key stays valid — that only changes if you reset or re-pair the device in the Tuya app.

Glad the lights are working

Andi

---

<div class="post-metadata">

**Author:** ![Andi](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/andi/32/160466_2.png) [@Andi](https://community.homey.app/u/Andi)\
**Post date:** [August 16, 2026, 4:01pm UTC](https://community.homey.app/t/app-pro-tuya-local/154077/288 "2026-08-16T16:01:19Z")

</div>

> [@Haakon\_Unelsrod](#):
>
> Is there any chance you can add 100 as a temperature divisor? The current option is limited to 1 or 10.

Please try the newest TEST version and let me know if it works: [Tuya Local | Homey](https://homey.app/a/com.tuyalocal/test/)

Thank you

---

<div class="post-metadata">

**Author:** ![Roberto\_Mario](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/roberto_mario/32/68051_2.png) [@Roberto\_Mario](https://community.homey.app/u/Roberto_Mario)\
**Post date:** [August 16, 2026, 7:56pm UTC](https://community.homey.app/t/app-pro-tuya-local/154077/289 "2026-08-16T19:56:32Z")

</div>

Good evening, when I try to add a thermostat, after setting the IP, device ID, and local key and connecting. I see all the correct data (current temperature, set temperature, status), but when I try to save I get the error  
invalid\_setting\_type  
This is the DP cloud  
Name: studio  
ID:  
Local Key:  
Product: XH-CTW  
Category: wk  
UUID:  
studio  
DP 1 Power bool true  
DP 2 TempSet value 100  
DP 3 TempCurrent value 265  
DP 4 Mode enum Manual  
DP 6 ChildLock bool false  
DP 12 Fault bitmap 0  
DP 101 C\_F bool false  
DP 102 Heating\_state bool false  
DP 103 Ext\_temperature value 890  
DP 104 Days\_Holiday value 1  
DP 105 Settemp\_Holiday value 15  
DP 106 Hightemp\_Protect bool true  
DP 107 LowTemp\_Protect bool true  
DP 108 ext\_temp\_display bool false  
DP 109 room\_temp\_compensate value -10  
DP 110 room\_temp\_zone value 5  
DP 113 low\_temp\_limit value 5  
DP 114 set\_temp\_max value 35  
DP 115 set\_temp\_min value 5  
DP 117 power\_state enum keep  
DP 118 Prog\_Type enum 2days  
DP 119 Prog\_Workday1 raw BgARhwARCwQT  
DP 120 Prog\_Workday2 raw EgATFgARFwAR  
DP 121 Prog\_Restday1 raw BgAPBwATCx4T  
DP 122 Prog\_Restday2 raw DR4TEQATFAAP  
DP — switch Boolean true {}  
DP — temp\_set Integer 100 5–1220 step 1 ℃  
DP — child\_lock Boolean false {}  
DP — temp\_current Integer 265 0–1580 step 1 ℃

---

<div class="post-metadata">

**Author:** ![Andi](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/andi/32/160466_2.png) [@Andi](https://community.homey.app/u/Andi)\
**Post date:** [August 16, 2026, 8:13pm UTC](https://community.homey.app/t/app-pro-tuya-local/154077/290 "2026-08-16T20:13:44Z")

</div>

Hi Roberto

Please try the latest TEST version and let me know if it works now: [Tuya Local | Homey](https://homey.app/a/com.tuyalocal/test/)

Thank you

---

<div class="post-metadata">

**Author:** ![Haakon\_Unelsrod](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/haakon_unelsrod/32/172374_2.png) [@Haakon\_Unelsrod](https://community.homey.app/u/Haakon_Unelsrod)\
**Post date:** [August 17, 2026, 5:29am UTC](https://community.homey.app/t/app-pro-tuya-local/154077/291 "2026-08-17T05:29:47Z")

</div>

Working perfectly. Thank you!

---

<div class="post-metadata">

**Author:** ![Roberto\_Mario](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/roberto_mario/32/68051_2.png) [@Roberto\_Mario](https://community.homey.app/u/Roberto_Mario)\
**Post date:** [August 17, 2026, 3:15pm UTC](https://community.homey.app/t/app-pro-tuya-local/154077/292 "2026-08-17T15:15:53Z")

</div>

I had some problems connecting to the thermostats. Out of six, I managed to connect four without any problems; the other two took a bit of trial and error.  
Everything works now.  
I even managed to find the dual switch, which, for some strange reason, advertises a MAC address, but uses a different one online.  
Overall, it’s a bit of a challenge, but I hope this is the end of the thousand attempts with apps that use cloud computing.

---

<div class="post-metadata">

**Author:** ![Roberto\_Mario](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/roberto_mario/32/68051_2.png) [@Roberto\_Mario](https://community.homey.app/u/Roberto_Mario)\
**Post date:** [August 18, 2026, 5:36am UTC](https://community.homey.app/t/app-pro-tuya-local/154077/293 "2026-08-18T05:36:01Z")

</div>

I noticed a small issue with the app. My router and access points reset overnight. I assigned all DHCP reservations to ensure the same ones, but the app doesn’t automatically reconnect to the devices when the network comes back up. In the morning, I restart the app and everything works again.

---

<div class="post-metadata">

**Author:** ![Guus\_Dijkstra](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/guus_dijkstra/32/121124_2.png) [@Guus\_Dijkstra](https://community.homey.app/u/Guus_Dijkstra)\
**Post date:** [August 18, 2026, 1:58pm UTC](https://community.homey.app/t/app-pro-tuya-local/154077/294 "2026-08-18T13:58:08Z")

</div>

Weather station WIFIWEST500WT

I am trying to get this weatherstation working in my homey Pro. I have come a long way but i can’t get the datapoint mapping right.

This are the available datapoints  
**DP**  
**Function / Name**  
**Debug Value**  
**Type**  
**Scale (scale)**  
**101**  
Indoor Temperature  
251  
number  
0.1  
**102**  
Indoor Humidity  
520  
number  
0.1  
**103**  
Outdoor Temperature  
190  
number  
0.1  
**104**  
Outdoor Humidity  
810  
number  
0.1  
**109**  
Atmospheric Pressure  
10130  
number  
0.1  
**110**  
UV Index / Sun Power  
0  
number  
1 (none)  
**111**  
Wind Speed  
0  
number  
0.1  
**112**  
Wind Direction  
“SW”  
string  
N/A (String)  
**113**  
Rainfall  
0  
number  
0.1  
**114**  
Wind Gust / Extra  
0  
number  
1 / 0.1  
**126**  
Comfort Status  
“comfortable”  
string  
N/A (String)

This is the current data in the Tuya local app.

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

Most values look ok

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/1/01afe98c920479577e727cdc3409875273c93e9b.jpeg)

**The issue is that in homey the DP’s 112 and 126 are not showing a value. .**

What would be the correct JSON setting to show these values in the correct way? That is een textstring.  
For DP 112

:

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/6/865bcc209330aa6c276a6c05100fadbf70a77209.png)

For DP 126:

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/2/129f433d374d139b3da3a498ff7906637581e68d.png)

---

<div class="post-metadata">

**Author:** ![Guus\_Dijkstra](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/guus_dijkstra/32/121124_2.png) [@Guus\_Dijkstra](https://community.homey.app/u/Guus_Dijkstra)\
**Post date:** [August 18, 2026, 2:00pm UTC](https://community.homey.app/t/app-pro-tuya-local/154077/295 "2026-08-18T14:00:11Z")

</div>

Sorry the table was not copied correctly

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

---

<div class="post-metadata">

**Author:** ![Andi](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/andi/32/160466_2.png) [@Andi](https://community.homey.app/u/Andi)\
**Post date:** [August 18, 2026, 7:00pm UTC](https://community.homey.app/t/app-pro-tuya-local/154077/296 "2026-08-18T19:00:57Z")

</div>

Hi Roberto

when the network returns, the app opens a connection to each device again. For devices on protocol 3.4 or 3.5 there is a key exchange right after the connection opens, and if the device doesn’t answer it — common while it is still starting up after a power cut — the app waited for a reply that never came. No timeout, no retry, and nothing written to the log. A device on 3.3 can end up in the same place: after several failed attempts the app tries the other protocol versions, and if the network comes back while it happens to be on 3.4 or 3.5, it gets stuck the same way. Restarting resets it to the configured version, which is why your mornings worked.

There was a second half to it: the stalled connection was left open, and these devices accept exactly one connection at a time — so it kept the device unreachable even for later attempts.

Both are fixed in **1.0.177**. The connection attempt now has its own time limit, and a handshake that goes unanswered is closed and retried like any other failure. Timeouts also get a proper explanation in the log now instead of a bare error line.

I also added a flow action, **Reconnect devices** , which reconnects everything at once instead of needing one flow per device. You don’t need it for this bug any more, but it is handy on a schedule or a button after the network has misbehaved. The default, “offline devices only”, leaves working devices alone, so it is safe to run repeatedly.

Please check new TEST version if it works for you: [Tuya Local | Homey](https://homey.app/a/com.tuyalocal/test/)

Andi

---

<div class="post-metadata">

**Author:** ![Andi](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/andi/32/160466_2.png) [@Andi](https://community.homey.app/u/Andi)\
**Post date:** [August 18, 2026, 7:02pm UTC](https://community.homey.app/t/app-pro-tuya-local/154077/297 "2026-08-18T19:02:35Z")

</div>

Hi Guus

Could you please provide the Cloud Lookup Table?

Thank you  
Andi

---

<div class="post-metadata">

**Author:** ![Roberto\_Mario](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/roberto_mario/32/68051_2.png) [@Roberto\_Mario](https://community.homey.app/u/Roberto_Mario)\
**Post date:** [August 19, 2026, 2:32pm UTC](https://community.homey.app/t/app-pro-tuya-local/154077/298 "2026-08-19T14:32:47Z")

</div>

Thanks,  
I tried the suggested version, disabling the reset flows I had created. Last night, everything worked properly. I’ll keep monitoring the situation over the next few days.  
I’d like to ask something about the heating systems: I can’t control the oscillation and power level from the flow, even though both exist in the local and cloud DPs.

---

<div class="post-metadata">

**Author:** ![Andi](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/andi/32/160466_2.png) [@Andi](https://community.homey.app/u/Andi)\
**Post date:** [August 19, 2026, 9:43pm UTC](https://community.homey.app/t/app-pro-tuya-local/154077/299 "2026-08-19T21:43:21Z")

</div>

Hi Roberto

Could you please provide the Cloud DP Table of the Heater?

Thank you

---

<div class="post-metadata">

**Author:** ![Roberto\_Mario](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/roberto_mario/32/68051_2.png) [@Roberto\_Mario](https://community.homey.app/u/Roberto_Mario)\
**Post date:** [August 20, 2026, 5:14am UTC](https://community.homey.app/t/app-pro-tuya-local/154077/300 "2026-08-20T05:14:46Z")

</div>

stufa bagno

DP 1 switch Boolean false {}

DP 2 temp\_set Integer 30 18–45 step 1 ℃

DP 3 temp\_current value 28 -9–79 step 1 ℃

DP 5 level Enum level\_1 1, 2, 3

DP 8 shake Boolean false {}

DP 19 countdown\_set Enum cancel cancel, 1h, 2h, 3h, 4h, 5h, 6h

DP 101 fenestration bool false

As said before the problem is in the flow that it is not possible to set it

---

<div class="post-metadata">

**Author:** ![Guus\_Dijkstra](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/guus_dijkstra/32/121124_2.png) [@Guus\_Dijkstra](https://community.homey.app/u/Guus_Dijkstra)\
**Post date:** [August 20, 2026, 1:17pm UTC](https://community.homey.app/t/app-pro-tuya-local/154077/301 "2026-08-20T13:17:43Z")

</div>

Hi Andi, is this what you need?

Weerstation Guus in Tuya  
DP 1 temp\_current value -200 -200–600 step 1 ℃  
DP 101 intemp Integer 244 -90–500 step 1 c  
DP 102 inhum Integer 560 200–950 step 1 %  
DP 103 ch1temp Integer 220 -400–600 step 1 C  
DP 104 ch1hum Integer 700 200–950 step 1 %  
DP 109 pressure Integer 10040 300–12000 step 1 hPa  
DP 110 windspeed Integer 4 0–2500 step 1 kph  
DP 111 gustwind Integer 5 0–2500 step 1 kph  
DP 112 wd Enum W N, NNE, NE, ENE, E, ESE, SE, SSE, S, SSW, SW, WSW, W, WNW, NW, NNW  
DP 113 rain\_1h Integer 0 0–60000 step 1 mm  
DP 114 rain\_24h Integer 310 0–60000 step 1 mm  
DP 126 com enum comfortable moist, dry, comfortable, na  
DP 127 alarm Raw AX8AAAYAAn8AAAgA maxlen 128  
DP 128 alert Raw ZQADAfT/pmYAAwMgAMhnAAMCWP5waAADAyAAyA== maxlen 128  
DP 129 unit Raw AQACAAMABAA= maxlen 128  
DP 130 battery Raw AAQBBAL/A/8= maxlen 128  
DP 131 basic Raw fwIHAACABGVmZ2iBLw== maxlen 128  
DP 132 alertup bitmap 0 maxlen 11  
DP 133 datadisplay Raw ZQBmAGcAaABpA2oDawNsAw== maxlen 128  
DP 134 rain Integer 0 0–10000 step 1 mm

Regards, Guus

---

<div class="post-metadata">

**Author:** ![Andi](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/andi/32/160466_2.png) [@Andi](https://community.homey.app/u/Andi)\
**Post date:** [August 20, 2026, 4:43pm UTC](https://community.homey.app/t/app-pro-tuya-local/154077/302 "2026-08-20T16:43:45Z")

</div>

Hi Roberto

Please check the newest TEST version: [Tuya Local | Homey](https://homey.app/a/com.tuyalocal/test/)

Andi

---

<div class="post-metadata">

**Author:** ![Roberto\_Mario](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/roberto_mario/32/68051_2.png) [@Roberto\_Mario](https://community.homey.app/u/Roberto_Mario)\
**Post date:** [August 20, 2026, 7:24pm UTC](https://community.homey.app/t/app-pro-tuya-local/154077/303 "2026-08-20T19:24:48Z")

</div>

Hi,  
I tried the new version.  
The level is indeed present, but changing it doesn’t change the object’s behavior.  
I tried to see how the cloud database changes when it’s changed from the SmartLife app.  
The enumerator changes between  
level\_1  
level\_2  
level\_3  
I wrote a flow that allows me to set only the level, but it never changes even though no errors are shown in the log.  
I don’t know if this can be helpful, but on Tuya Developer Platform - Device Debug, the level has the following structure:

level Enum

{  
“range”: [  
“1”,  
“2”,  
“3”  
]  
}

---

<div class="post-metadata">

**Author:** ![Andi](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/andi/32/160466_2.png) [@Andi](https://community.homey.app/u/Andi)\
**Post date:** [August 20, 2026, 7:26pm UTC](https://community.homey.app/t/app-pro-tuya-local/154077/304 "2026-08-20T19:26:26Z")

</div>

Hi Guus

Please install the latest TEST version and try the new Driver: [Tuya Local | Homey](https://homey.app/a/com.tuyalocal/test/)

Andi

---

<div class="post-metadata">

**Author:** ![Andi](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/andi/32/160466_2.png) [@Andi](https://community.homey.app/u/Andi)\
**Post date:** [August 20, 2026, 7:37pm UTC](https://community.homey.app/t/app-pro-tuya-local/154077/305 "2026-08-20T19:37:51Z")

</div>

Hi Roberto

Is the Heater on while you change the values?

Please check again with the new version: [Tuya Local | Homey](https://homey.app/a/com.tuyalocal/test/)  
Andi

[Previous page](https://community.homey.app/t/app-pro-tuya-local/154077.md?page=14)

[Next page](https://community.homey.app/t/app-pro-tuya-local/154077.md?page=16)
