TuyaHubitat

Currently functional Hubitat device handler and node.js script for TuyAPI supported devices.

Requires

  1. codetheweb/tuyapi

    • npm install codetheweb/tuyapi
  2. DevID and localKey

    • see one of the links below in order to find your specific keys. I used Android ADB to find the localkey(no root required)

Device Handler and Node script hacked together using DaveGut's TPLink script as a starting point.

Credits

Tuya/Smart Life

https://github.com/codetheweb/tuyapi

https://github.com/Marcus-L/m4rcus.TuyaCore

https://github.com/clach04/python-tuya

TPLink-used as a starting point for the DH/node.js scripts

https://github.com/DaveGut/Hub-Based_TP-Link-to-SmartThings-Integration