u/Halwin12

Tuya Wi-Fi Devices SmartThings Edge Driver

I'm releasing a SmartThings Edge driver for Tuya Wi-Fi devices.

I personally do not own many Tuya devices. I only tested it with a single Tuya-based light, so there may be many unexpected bugs or unsupported cases. Please keep that in mind. Feedback is highly appreciated, and I’ll do my best to improve stability over time.

Currently Supported Device Types

  • Switches
  • Lights
  • Motorized blinds/covers
  • Thermostats
  • Fans
  • Robot vacuums
  • Measurement sensors
  • Contact sensors
  • Motion sensors
  • Presence sensors
  • Water leak sensors

Invitation Link

https://bestow-regional.api.smartthings.com/invite/r3MyzBgq5z2p

Enroll the hub you want to use, then go to:

Available Drivers -> tuya-edge

Device Setup

When you run a nearby scan, a device called "Tuya Manual Setup" will appear, similar to the screenshot.

https://preview.redd.it/xiiz9qk5jx1h1.jpg?width=1290&format=pjpg&auto=webp&s=ebac5dd04c3c4ab81a74d0201fcd450fdc009c96

If you want to add additional devices later, simply repeat the nearby scan process. The setup device name will increment with numbers like:

  • Tuya Manual Setup
  • Tuya Manual Setup 1
  • Tuya Manual Setup 2

and so on.

Once the device appears in the Devices tab, open it and go to:

Top-right menu (⋮) -> Settings

You will see configuration fields like:

  • Local Key
  • Host
  • Device ID

These fields are required.

If you've used Home Assistant before, the setup flow will probably feel familiar. Otherwise, you may need to look up how to obtain the Tuya local credentials or ask in the community.

Configuration

After entering the required values, the driver will automatically configure the device.

If the automatic configuration is incorrect, you can manually adjust the settings yourself.

You can usually leave the Scan Interval at the default value.

By default, the driver uses push/event-based updates, so device states are reflected almost instantly without polling.

Only enable polling if your device specifically requires it.

https://preview.redd.it/450pr4xdjx1h1.jpg?width=1290&format=pjpg&auto=webp&s=22cf7db3fe3de66ceb76a9578872b56bc71a3e83

https://preview.redd.it/hfwgfeqhjx1h1.jpg?width=1290&format=pjpg&auto=webp&s=274e08a2a5e19b82f89ec336e23cc407a1b13185

https://preview.redd.it/i7zsl7dojx1h1.jpg?width=1290&format=pjpg&auto=webp&s=e53afd057891313be9c2b4bd855ed29896cf11dc

reddit.com
u/Halwin12 — 3 days ago

Development of Tuya wifi device edge driver

I'm developing a Tuya wifi based local edge driver... But there's no Tuya device. lol There's a LED smart light, and it's based on Tuya, so we're testing and developing it. I'm sure there are a lot of people who can help me with the Alpha version..

u/Halwin12 — 5 days ago