There is multiple ways to configure your ESPHome nodes and to update them. From the command line, Tasmotizer and the other options, the most user-friendly is certainly the ESPHome Add-On (At least if you’re using Home Assistant). So here is how to get started with ESPHome Add-On.
Since few versions, ESPHome is now in the official Home Assistant Add-On’s repository. This means that, to install it, you only have to go in the Add-on store, find ESPHome and install it.
From there, you can directly click on install. This Add-On doesn’t really have specific parameters. You can configure your SSL certificate but most of the time, the default parameters will be enough.
Create your first IOT device
Now that it’s running, we can start the interesting stuff. The Add-On lets us create a node through a small form.
Tell it your Secrets
If you want to share your ESPHome configurations or want to centralize some generic or sensible variables, the Add-on has a clean way to do it. This is one of the features I really like about this thing.
Upload your configuration
Once the configuration is done, we can compile and upload the firmware to our IOT device. For this, there is 3 available ways : from the server’s serial port, Over-the-Air (OTA) or from another computer by download the firmware.
If it’s the first time that you flash the device, you’ll probably do it with the serial port, just like we did when we flashed a Sonoff 4ch (Click for more details).
If you want to use the serial port of your Home Assistant server, just select it in the drop down. If it doesn’t appear, just restart the Add-On.
Once selected, click on Upload to begin the process.
Over-the-Air ( OTA )
If your node was already flashed once and is online, you can also use the OTA method ( if you enabled it previously in your configuration. For this, only need to choose OTA (Over-The-Air) in the drop down and upload the right config.
If both previous options doesn’t match with your requirements, you can still compile and download the firmware right from the add-on. Once you have it, you can upload it from your computer using the ESPHome Python package, Tasmotizer or similar.
I hope this helped you to get started with ESPHome Add-on and its different features ! If there is other nice functionalities to share, just comment below !