Xenomes / Domoticz-TinyTUYA-Local-Plugin

MIT License
2 stars 2 forks source link

NOT YET READY FOR LIVE SYSTEMS

Domoticz-TinyTUYA-Local-Plugin

TUYA Plugin for Domoticz home automation

Controls TUYA devices on your local network.

Installation

The plugin make use of the project Tinytuya there for is a IoT Cloud Platform account needed, for setup up see https://github.com/jasonacox/tinytuya step 3 or see PDF https://github.com/jasonacox/tinytuya/files/12836816/Tuya.IoT.API.Setup.v2.pdf for the best compatibility, set your devices to 'DP instruction' in the device settings under iot.tuya.com.

Python version 3.8 or higher required & Domoticz version 2024.1 or greater.

To install:

Updating

To update:

Subscription expired

Is your subscription to cloud development plan expired, you can extend it HERE

Configuration

There is no extra information need, the info is readout of file 'devices.json' located in the plugin folder, keep the setting 'Data Timeout' at the plug-in disabled. For the best performed it is advised to give the tuya devices a static ip, see your router manufacturer manual to setup static ip's.

Usage

In the web UI, navigate to the Hardware page. In the hardware dropdown there will be an entry called "TinyTUYA (Local Control)" add the hardware.

Test device

I only had an RGBWW light to fully test the script. If there is a device missing in the plugin, you can provide the JSON file by creating a post in issues on GitHub. Don't forget to obfuscate the 'Key' in the JSON.

Change log

Version Information
0.1 Initial upload version
0.2 Add unit detection devices
0.3 Add True and False statment

"Buy Me A Coffee"