Commands to Flash with Tasmota
You need to get a copy of esptool for your distribution
Backup the image on the device
Erase the flash memory
esptool.py --port /dev/ttyUSB0 erase_flash
Write with Tasmota
esptool.py --port /dev/ttyUSB0 write_flash -fs 1MB -fm dout 0x0 tasmota.bin
The next part involves configuring Tasmota on the device.
Set the Name of the Device
Friendly Name 1
Set-up IP4 on the Device
Configure the functionality for the device
I configured the device to use MQTT and in Domoticz.
MQTT is brilliant. I use it extensively with my Boiler Radiator controller system
Then using HABridge, I was able to expose it to Amazon Alexa and use via Voice
This is the end product
A switch connected to a double socket controlled over WiFi.
I am going to use it to control my Soldering Iron
and Fume Extracting Fan