Thread Rating:
  • 1 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Board for window contact sensors
#11
(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!
Reply


Messages In This Thread
Board for window contact sensors - by threadstone - 12-07-2023, 08:53 PM
RE: Board for window contact sensors - by admin - 12-07-2023, 11:45 PM
RE: Board for window contact sensors - by admin - 12-08-2023, 01:11 PM
RE: Board for window contact sensors - by admin - 12-08-2023, 01:18 PM
RE: Board for window contact sensors - by admin - 12-09-2023, 01:36 AM
RE: Board for window contact sensors - by admin - 01-14-2024, 10:55 AM
RE: Board for window contact sensors - by threadstone - 01-20-2024, 10:02 PM
RE: Board for window contact sensors - by admin - 01-20-2024, 11:52 PM
RE: Board for window contact sensors - by admin - 01-27-2024, 12:50 AM
RE: Board for window contact sensors - by admin - 01-29-2024, 10:38 PM

Forum Jump:


Users browsing this thread:
1 Guest(s)