This script will create a new Proxmox LXC container with the latest Debian and setup tuya-convert. To create a new LXC container in the local-lvm
storage, run the following in a SSH session or the console from Proxmox interface
bash -c "$(wget -qO - https://raw.githubusercontent.com/whiskerz007/proxmox_tuya-convert_container/master/create_container.sh)" -s local-lvm
During the setup process, you will prompted to select a wireless interface. This interface will be assigned to container. (Note: When the container is running, no other container or VM will have access to the interface.) After the successful completion of the script, start the container identified by the script, then use the login credentials shown to start the tuya-convert script. If you need to stop tuya-convert, press CTRL + C
and it will be halted and you will be brought back to the login prompt. If you login again it will start tuya-convert again.
In order for this script to work appropriately, you must first have the drivers installed and setup correctly for your WiFi adapter in Proxmox. The beginning the of the script will test for valid WLAN interfaces. An error will be produced if one can not be found.
To add custom firmware (not supplied by tuya-convert), connect to the samba share created by the container (details are provided at the login prompt) and add the binary to the tuya-convert/files/
folder. Your binary will listed under the custom firmware menu.