01-12-2025, 01:48 PM
(03-28-2023, 11:03 AM)admin Wrote: ok, any questions you can leave message at forum is better.
i have a similar issue i cant communicate normally with my board
i tried flashing ESPhome onto it it says succsesfully flashed but its not working i tried to reset but it doesnt help if i plug it into ethernet the lights stay solid on
this is the code in ESPhome
esphome:
name: kc868-a8
platform: ESP32
board: esp32dev
# Wi-Fi Configuration
wifi:
ssid: "IOT1234"
password: "Test1234"
# Optional: Static IP (recommended for stability)
manual_ip:
static_ip: 192.168.1.200
gateway: 192.168.1.1
subnet: 255.255.255.0
# Fallback hotspot (if Wi-Fi is unavailable)
ap:
ssid: "Fallback-Hotspot"
password: "FallbackPassword"
logger:
api:
ota:
platform: esphome
# Relay Configuration
switch:
- platform: gpio
pin: GPIO19
name: "Relay 1"
- platform: gpio
pin: GPIO21
name: "Relay 2"
- platform: gpio
pin: GPIO22
name: "Relay 3"
- platform: gpio
pin: GPIO25
name: "Relay 4"
- platform: gpio
pin: GPIO26
name: "Relay 5"
- platform: gpio
pin: GPIO27
name: "Relay 6"
- platform: gpio
pin: GPIO32
name: "Relay 7"
- platform: gpio
pin: GPIO33
name: "Relay 8"
# Status LED (Optional)
status_led:
pin: GPIO4