Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Retain Switch status ESPHome after reboot and update / Ethernet setup
#1
Information 
Hi  

if i update the boards A64 / A128 the outputs does not retain their status so if i have switch-1 on and reboot the switch-1 goes off




i run ESPHome true Home Assistant and run the automations true node-red is there a possibility to have it retain the previous state before reboot or update



Also i want to use my ethernet but it wont connect 


Code:
esphome:
  name: kincony-kc868-a64-rk
  friendly_name: Kincony KC868-A64-RK

esp32:
  board: esp32dev
  framework:
    type: arduino

# Enable logging
logger:

# Enable Home Assistant API
api:
  encryption:
    key: "xxxx"

ota:
  password: "xxx"
  platform: esphome

#wifi:
#  ssid: !secret wifi_ssid
#  password: !secret wifi_password

#  # Enable fallback hotspot (captive portal) in case wifi connection fails
#  ap:
#    ssid: "Kincony-Kc868-A64-Rk"
#    password: !secret wifi_ap

#captive_portal:




# Example configuration entry
i2c:
  - id: bus_a
    sda: 5
    scl: 16
    scan: true
    frequency: 400kHz
  - id: bus_b
    sda: 15
    scl: 4
    scan: true
    frequency: 400kHz
   

# 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: 20.20.20.192
    gateway: 20.20.20.1
    subnet: 255.255.255.0



Thanks in advance
Sijmen
Reply


Messages In This Thread
Retain Switch status ESPHome after reboot and update / Ethernet setup - by S.Krans - 10-13-2024, 10:15 AM

Forum Jump:


Users browsing this thread:
1 Guest(s)