Flashing Tasmota compatible devices

This is the easiest way to replace the cloud-based firmware with the open source Tasmota one is though tuya convert.:

ssh festivalgrid@festivalgrid
git clone https://github.com/ct-Open-Source/tuya-convert.git
cd tuya-convert
docker build -t tuya:latest .
mkdir docker-compose && cd docker-compose
cp ../docker/docker-compose.sample.yml docker-compose.yml

You need to edit docker-compose.yml if your wlan interface is not named “wlan0”:

ip a
nano docker-compose.yml

Make sure your wireless device is not soft-blocked:

rfkill list all
sudo rfkill unblock all

Start tuya convert:

docker-compose up -d
docker-compose exec tuya start

Tuya convert will open a Wifi AP you need to connect to with our smartphone or any other wlan device before you attempt to flash your device.

When you’re done, stop the container:

docker-compose down