[APP][Pro] Tuya Local

I’ve added several new device types to the Tuya Local integration — each with full auto‑detection of DPs during pairing, repair flow, and complete flow card support (triggers, conditions, actions):

  • Fan — speed slider, enum speed, oscillation, and mode
  • Humidifier — humidity sensor, target humidity, and water‑empty alarm
  • Heater — target/current temperature, mode, and fault alarm
  • Light — brightness, color temperature, and HSV color control

All drivers are ready for hands‑on testing. If you have compatible devices, please give them a try and share your feedback — it helps refine detection and flow behavior for everyone.

Hi Andi,

I’m testing Tuya Local with a Tuya ceiling fan, and the basic local control works well.

The device was detected successfully and I was able to add it to Homey with these DPs:

  • DP 60: On/Off

  • DP 62: Fan speed

  • DP 64: Timer/countdown

However, the fan also supports reverse direction, but I don’t see a way to map this in the current Fan device template.

In the Tuya Developer Platform, the device exposes this standard instruction:

Code: fan_direction
Type: Enum
Values: forward, reverse

In the Tuya Local pairing screen, this appears in the detected DPs as:

  • DP 63: forward

So it looks like DP 63 is the fan direction / reverse mode DP.

Would it be possible to add support for a “Fan Direction” or “Reverse Mode” capability for ceiling fans, using an enum DP with values forward and reverse?

I’m happy to test this if needed. :slightly_smiling_face:

Thx

Hi, thanks for the detailed report — that’s exactly the info needed to add this cleanly!

Fan Direction (forward / reverse) is implemented in v1.0.32 (as soon as I can publish the version / right now Athom seem to have issues…):

  • A new Fan Direction capability (picker: Forward / Reverse) appears on the device tile once enabled

  • In Device Settings → Data Points, set Fan Direction DP to 63 (or whatever your device reports)

  • At pairing time, the DP is auto-detected — if the detected snapshot contains a value of forward or reverse, the DP number is filled in automatically

  • Three new Flow cards: Fan direction changed (trigger with direction + previous direction tokens), Fan direction is/is not (condition), Set fan direction (action)

The capability is optional — it stays hidden until you set a non-zero DP number, so it won’t clutter devices that don’t support it.

If you’d like to test it: update to v1.0.32, open your fan’s device settings, and enter 63 in the Fan Direction DP field. Let me know how it goes! :slightly_smiling_face:

@Gabriel_Laguna edit: now it’s available for testing: Tuya Local | Homey

Please let me know if/how it works.

Hi! I’ve just installed the test version and it works perfectly. Thank you so much for the quick response and for all your hard work on this amazing new app! :raising_hands: