j’ai juste ajouter :
esp32:
board: esp32dev
framework:
type: arduino
et
light:
- platform: fastled_clockless
chipset: WS2812B
pin: 27
num_leds: 1
rgb_order: GRB
id: status_led
name: Stack Light
effects:
- random:
- flicker:
- addressable_rainbow:
a ma config .YAML et tester la validiter et c’est passer
je viens de comprendre que ce qui est ecrit dans le config.yaml ( du atom lite ) , ecrase les données récuperer sur le yaml du github.
Pas facile a comprendre ESPHOME pour un gros débutant.
je vais compiler et voir le résultat…
Edit:
Compilation et flash OK
voici ma config final:
substitutions:
name: atom-bluetooth-proxy-ad7a6c
packages:
esphome.bluetooth-proxy: github://esphome/bluetooth-proxies/m5stack-atom-lite.yaml@main
esphome:
name: ${name}
name_add_mac_suffix: false
esp32:
board: esp32dev
framework:
type: arduino
api:
encryption:
key: in4/0FfpPMdp8sPDbjj5aChezJ8BLAmGQpRlq6e2u1k=
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
sensor:
- platform: wifi_signal
name: "WiFi Signal dB"
id: wifi_signal_db
update_interval: 60s
entity_category: "diagnostic"
- platform: copy
source_id: wifi_signal_db
name: "WiFi Signal Percent"
filters:
- lambda: return min(max(2 * (x + 100.0), 0.0), 100.0);
unit_of_measurement: "Signal %"
entity_category: "diagnostic"
- platform: uptime
name: "BLE Proxy Uptime"
- platform: internal_temperature
name: "Internal Temperature"
switch:
- platform: restart
name: "BLE Proxy Restart"
binary_sensor:
- platform: status
name: "BLE Proxy Statut"
light:
- platform: fastled_clockless
chipset: WS2812B
pin: 27
num_leds: 1
rgb_order: GRB
id: status_led
name: Stack Light
effects:
- random:
- flicker:
- addressable_rainbow:
@mycanaletto je suis a 90% du flash , ca craint pas ?
RAM: [== ] 16.1% (used 52748 bytes from 327680 bytes)
Flash: [========= ] 89.5% (used 1642617 bytes from 1835008 bytes)