rust-tuya-mqtt

Build Status

Rust program that enables controlling of Tuya/Smart Life devices via MQTT. It uses the rust-tuyapi library to talk to the devices.

Prerequisit

You need to know the key and id of the Tuya device. According to me the easiest way to find these is explained at: Step by Step for adding Tuya-bulbs.

The topic should look like 'tuya/ver3.[1|3]/\/\/\/command'. Command can be ON/OFF or 1/0.