nie nie miałem o tym pojęcia …
Edit:
@szopen nadal nic wrzucam swój plik .yaml
esphome:
name: esp32-wroom-doit-1
compile_process_limit: 1
esp32:
board: esp32doit-devkit-v1
framework:
type: arduino
# Enable logging
logger:
# Enable Home Assistant API
api:
encryption:
key: "n0J1eOUyrvmMEGSOXiKlQywrMNu/B66lXaFZwTEYO+I="
ota:
password: "5afee6d37dba91f8a1f860d180e623c5"
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Esp32-Wroom-Doit-1"
password: "8Eq3upJysggu"
captive_portal:
oraz validate
INFO Reading configuration /config/esphome/esp32-wroom-doit-1.yaml...
INFO Configuration is valid!
esphome:
name: esp32-wroom-doit-1
compile_process_limit: 1
build_path: .esphome/build/esp32-wroom-doit-1
platformio_options: {}
includes: []
libraries: []
name_add_mac_suffix: false
min_version: 2022.12.3
esp32:
board: esp32doit-devkit-v1
framework:
version: 2.0.5
source: ~3.20005.0
platform_version: platformio/espressif32 @ 5.2.0
type: arduino
variant: ESP32
logger:
baud_rate: 115200
tx_buffer_size: 512
deassert_rts_dtr: false
hardware_uart: UART0
level: DEBUG
logs: {}
api:
encryption:
key: n0J1eOUyrvmMEGSOXiKlQywrMNu/B66lXaFZwTEYO+I=
port: 6053
password: ''
reboot_timeout: 15min
ota:
password: 5afee6d37dba91f8a1f860d180e623c5
safe_mode: true
port: 3232
reboot_timeout: 5min
num_attempts: 10
wifi:
ap:
ssid: Esp32-Wroom-Doit-1
password: 8Eq3upJysggu
ap_timeout: 1min
domain: .local
reboot_timeout: 15min
power_save_mode: LIGHT
fast_connect: false
networks:
- ssid: !secret 'wifi_ssid'
password: !secret 'wifi_password'
priority: 0.0
use_address: esp32-wroom-doit-1.local
captive_portal: {}
nie wiem jak to dalej ugryść … próbowałem też
wtedy yaml wygląda tak
esphome:
name: esp
esp32:
board: esp32doit-devkit-v1
framework:
type: esp-idf
version: recommended
# Enable logging
logger:
# Enable Home Assistant API
api:
encryption:
key: "oXxj5sYO0/p9sEsRN+ea2ohmcQLk68ss5crlNnNZcq8="
ota:
password: "6a276f1f48ad09e88fc6436f800d6dca"
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Esp Fallback Hotspot"
password: "PJIZG66S8nJL"
captive_portal:
lecz przy validacji wyskakuje
INFO Reading configuration /config/esphome/esp.yaml...
Failed config
captive_portal: [source /config/esphome/esp.yaml:30]
This feature is only available with frameworks ['arduino'].
{}
async_tcp: None
{}
This feature is only available with frameworks ['arduino']
ręce mi opadają …
P.S.
wrzucam jeszcze logi po wejściu do esp przez https://web.esphome.io/
ts Jul 29 2019 12:21:46
rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0018,len:4
load:0x3fff001c,len:1044
load:0x40078000,len:10124
load:0x40080400,len:5828
entry 0x400806a8
[I][logger:214]: Log initialized
[C][ota:461]: There have been 8 suspected unsuccessful boot attempts.
[D][esp32.preferences:114]: Saving preferences to flash...
[I][app:029]: Running through setup()...
[C][esp32_ble:026]: Setting up BLE...
[D][esp32_ble:040]: BLE setup complete
[D][esp32_ble_server:033]: Setting up BLE Server...
[D][esp32_ble_server:070]: BLE server setup successfully
[C][wifi:037]: Setting up WiFi...
[C][wifi:201]: Setting up AP...
[C][wifi:203]: AP SSID: 'esphome-web-812a94'
[C][wifi:204]: AP Password: ''
[C][wifi:213]: IP Address: 192.168.4.1
[D][esp32_improv.component:200]: Setting Improv to start
[C][web_server:095]: Setting up web server...
[C][ota:085]: Over-The-Air Updates:
[C][ota:086]: Address: esphome-web.local:3232
[W][ota:095]: Last Boot was an unhandled reset, will proceed to safe mode in 2 restarts
[C][api:025]: Setting up Home Assistant API server...
[D][wifi:373]: Starting scan...
[I][app:062]: setup() finished successfully!
[I][app:102]: ESPHome version 2022.3.0 compiled on Mar 24 2022, 01:01:34
[I][app:104]: Project esphome.web version 1.0
[C][logger:233]: Logger:
[C][logger:234]: Level: DEBUG
[C][logger:235]: Log Baud Rate: 115200
[C][logger:236]: Hardware UART: UART0
[C][esp32_ble:206]: ESP32 BLE:
[C][esp32_ble_server:160]: ESP32 BLE Server:
[C][esp32_improv.component:214]: ESP32 Improv:
[C][esp32_improv.component:216]: Status Indicator: 'NO'
[C][captive_portal:088]: Captive Portal:
[C][wifi:491]: WiFi:
[C][wifi:353]: Local MAC: 08:B6:1F:81:2A:94
[C][wifi:354]: SSID: [redacted]
[C][wifi:355]: IP Address: 0.0.0.0
[C][wifi:357]: BSSID: [redacted]
[C][wifi:358]: Hostname: 'esphome-web-812a94'
[C][wifi:360]: Signal strength: 0 dB ▂▄▆█
[C][wifi:364]: Channel: 1
[C][wifi:365]: Subnet: 0.0.0.0
[C][wifi:366]: Gateway: 0.0.0.0
[C][wifi:367]: DNS1: 0.0.0.0
[C][wifi:368]: DNS2: 0.0.0.0
[C][web_server:207]: Web Server:
[C][web_server:208]: Address: esphome-web.local:80
[C][mdns:084]: mDNS:
[C][mdns:085]: Hostname: esphome-web-812a94
[C][ota:085]: Over-The-Air Updates:
[C][ota:086]: Address: esphome-web.local:3232
[W][ota:095]: Last Boot was an unhandled reset, will proceed to safe mode in 2 restarts
[D][esp32_improv.component:076]: Service started!
[C][api:138]: API Server:
[C][api:139]: Address: esphome-web.local:6053
[C][api:143]: Using noise encryption: NO
[C][improv_serial:032]: Improv Serial:
nawet jak bym chciał pójść tą drogą to niewiem jak skompilowac plik bin aby zrobić instalacje tą drogą, jestem początkujący w tym temacie