01-20-2024, 10:02 PM
(This post was last modified: 01-20-2024, 10:03 PM by threadstone.)
(01-14-2024, 10:55 AM)admin Wrote: 1. install home assistant on your server.
2. install ESPHome addon on home assistant
3. create controller in ESPHome, just copy our yaml file
4. download firmware by USB-Serial port.
here is video tour for ESPHome beginner: https://www.youtube.com/playlist?list=PL...w6S3y9YM2V
@admin thank you very much for the explaination. Today I have done the installation like you wrote. What should I say - it worked straight away :-)
But I still have two question:
1) I installed it with that code instead of the LAN-Code:
Code:
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Esphome-Web-*****"
password: "***********"
When I want to switch to a connection via LAN, am I right that I have to replace the above code by this one?
Code:
# Example configuration entry
ethernet:
type: LAN8720
mdc_pin: GPIO23
mdio_pin: GPIO18
clk_mode: GPIO17_OUT
phy_addr: 0
# Optional manual IP
manual_ip:
static_ip: 192.168.1.198
gateway: 192.168.1.1
subnet: 255.255.255.0
2) If I decide to leave the connection via Wifi, is it also possible to set a static IP? Can I eventually copy "manual ip" part from the LAN-code to the Wifi-code?
Thank you in advance!