In order to change default setting for ESP-HOME firmware, please follow next guides.
Choose from 2 optional avalaible at the moment:
For both cases is required to download .yaml for your PCB
For example you want to change gateway hostname, friendly name in HA, your API and OTA passwords.
In this case edit just next items,at the beggining of .yaml file:
In order to make your device have the same IP each time after reboot, you have 2 ways to achieve this:
- setup static ip in your router config
- modify .yaml file.
Generate and install updated firmware¶
Any error in ip configuration could cause the gw to not connect and require to be flashed with Serial to USB converter( applies to Wifi Gateway)
After changing IP parameters, OTA update it's not gonna work,until firmware is flashed to ESP module,using Manual Download.
If you made changes only in subtitutions section,then just press Install button in ESP-HOME interface,followed by Wirelessly.
After changing IP parameters, OTA update it's not gonna work,until firmware is flashed to ESP module manually.
Press Manual Download
Debug console confirm that firmware was built and Download button appear in righ bottom corner.
Open your gateway address in browser and update firmware: