Tuya Convert OS is a customized Raspbian OS image that runs Tuya Convert with a friendly user interface.
This tool will help you flash custom firmware on ESP8266/ESP8285-based devices that run Tuya firmware.
Check out these screenshots if you want to see it in action.
Optionally, the presence of a secondary Wi-Fi USB adapter will fix some cases where a 3rd Wi-Fi device has to be connected to the temporary access point.
Download Tuya Convert OS from the releases page.
Extract the compressed image.
Follow these instructions to write the OS image on your SD card.
Connect the Raspberry Pi to your local network, using an ethernet cable.
Boot your Raspberry Pi with the freshly written SD card. Find its IP address using one of the following methods (the
hostname you should be looking for is tuya-convert):
tuya-convert.local may work on your local networkPoint your favorite browser to http://ipaddress (http://tuya-convert.local may also work). You should see a
web page that will walk you through the entire conversion process.
You can login remotely using SSH/Putty and use default Raspbian credentials (username pi, password raspberry).
The frontend is provided by a service called tcfrontend. It is also responsible for spawning tuya-convert scripts in
the background. You can read its log using journactl:
journalctl -u tcfrontend -f
If you want to rebuild the OS image from scratch, you'll need to:
git, curl, rsync, zip, unzip, losetup, fdisk, qemu-system-armThen simply run:
git clone https://github.com/qtoggle/tuya-convert-os.git
cd tuya-convert-os
sudo ./build.sh
At the end of a successful build, you should have a tuya-convert-os.img and a compressed tuya-convert-os.zip.