-
Hi, I'm working on a config for a thermostat and starting to have some good success - configuring my devices works, the info shown on the dashboard is mostly correct, and operations like changing HVAC modes and display brightness work beautifully. I say the info shown on the dashboard is mostly correct, because I'm having a little trouble with current temperature & humidity. So currently when I query via Tuya Cloud, the DP is returning APX//wEYAC8AIA== which decodes as 245, 65535, 280, 47, 32. In my device config yaml, I've modelled these under a climate entity with:
But my climate entity is currently showing 2.4 C for current temperature, 4.8 C for weather, and 0% humidity. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
I think your masks are wrong. You say these are two byte values, and your example includes some values larger than 255. But your masks are all extracting only a single byte. |
Beta Was this translation helpful? Give feedback.
-
Ah! Of course. Thanks. |
Beta Was this translation helpful? Give feedback.
I think your masks are wrong. You say these are two byte values, and your example includes some values larger than 255. But your masks are all extracting only a single byte.