====== HOWTO Install ESPhome onto Shelly Dimmer 2 ====== ===== Step 0: Unpack & wire up the dimmer ===== Unpack your dimmer and connect at least one of the L terminals and the N terminal to your mains. If you are unsure about dealing with **mains voltage (danger beware)**, you can follow me on video here or ask someone who knows more about it. ===== Step1: Connect to OG Mongoose WebUI on the shelly ===== * Use your phone or computer as wifi client and connect to the AP provided by the original shelly Mongoose OS firmware. * open http://192.168.33.1/ in your browser * Go to Wifi Settings and change mode to Client, give it your local (internet connected) SSID and PSK and let it connect. (You will lose your wifi connection on your client here). ===== Step2: Install Tasmote over MongooseOS via OTA ===== * Find the IP of the shelly dimmer 2 in your routers dhcp table (my example: 10.1.10.170) * Next, since the shelly has internet now and you can reach it in your own wifi/lan, open a browser, copy the below URL, paste it into your browser and substitute **SHELLYIP** with the one you found and press enter. http://SHELLYIP/ota?url=http://ota.tasmota.com/tasmota/shelly/mg2tasmota-ShellyDimmer2.zip In this example my URL would look like: http://10.1.10.170/ota?url=http://ota.tasmota.com/tasmota/shelly/mg2tasmota-ShellyDimmer2.zip ===== Step3: Set up Tasmota to join the network ===== ===== Step4: Connect and prepare Tasmota Update ===== ===== Step5: Compile a minimal firmware in ESPhome===== ===== Step6: Download and zip minimal firmware ===== ===== Step6: Upload minimal firmware to Tasmota ===== ===== Step7: Upload intended firmware via OTA =====