Add native api note for Home Assistant users (#171)

This commit is contained in:
Sebastian Muszynski 2024-06-21 07:14:54 +02:00 committed by GitHub
parent 9f104855ba
commit af99b1d586
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
21 changed files with 63 additions and 31 deletions

View File

@ -23,6 +23,8 @@ ota:
logger:
baud_rate: 0
# If you use Home Assistant please remove this `mqtt` section and uncomment the `api` component!
# The native API has many advantages over MQTT: https://esphome.io/components/api.html#advantages-over-mqtt
mqtt:
broker: !secret mqtt_host
username: !secret mqtt_username

View File

@ -21,6 +21,8 @@ ota:
logger:
# If you use Home Assistant please remove this `mqtt` section and uncomment the `api` component!
# The native API has many advantages over MQTT: https://esphome.io/components/api.html#advantages-over-mqtt
mqtt:
broker: !secret mqtt_host
username: !secret mqtt_username

View File

@ -24,10 +24,11 @@ wifi:
ota:
platform: esphome
api:
logger:
api:
reboot_timeout: 0s
uart:
id: uart_0
baud_rate: 19200

View File

@ -21,12 +21,13 @@ wifi:
ota:
platform: esphome
api:
logger:
baud_rate: 0
esp8266_store_log_strings_in_flash: false
api:
reboot_timeout: 0s
uart:
id: uart_0
baud_rate: 19200

View File

@ -23,6 +23,8 @@ logger:
baud_rate: 0
esp8266_store_log_strings_in_flash: false
# If you use Home Assistant please remove this `mqtt` section and uncomment the `api` component!
# The native API has many advantages over MQTT: https://esphome.io/components/api.html#advantages-over-mqtt
mqtt:
broker: !secret mqtt_host
username: !secret mqtt_username

View File

@ -23,6 +23,8 @@ logger:
baud_rate: 0
esp8266_store_log_strings_in_flash: false
# If you use Home Assistant please remove this `mqtt` section and uncomment the `api` component!
# The native API has many advantages over MQTT: https://esphome.io/components/api.html#advantages-over-mqtt
mqtt:
broker: !secret mqtt_host
username: !secret mqtt_username

View File

@ -23,6 +23,8 @@ logger:
baud_rate: 0
esp8266_store_log_strings_in_flash: false
# If you use Home Assistant please remove this `mqtt` section and uncomment the `api` component!
# The native API has many advantages over MQTT: https://esphome.io/components/api.html#advantages-over-mqtt
mqtt:
broker: !secret mqtt_host
username: !secret mqtt_username

View File

@ -23,6 +23,8 @@ logger:
baud_rate: 0
esp8266_store_log_strings_in_flash: false
# If you use Home Assistant please remove this `mqtt` section and uncomment the `api` component!
# The native API has many advantages over MQTT: https://esphome.io/components/api.html#advantages-over-mqtt
mqtt:
broker: !secret mqtt_host
username: !secret mqtt_username

View File

@ -30,23 +30,27 @@ wifi:
captive_portal:
ota:
platform: esphome
logger:
baud_rate: 0
# level: VERY_VERBOSE
esp8266_store_log_strings_in_flash: false
# Enable Home Assistant API
api:
reboot_timeout: 0s
ota:
platform: esphome
# If you use Home Assistant please remove this `mqtt` section and uncomment the `api` component!
# The native API has many advantages over MQTT: https://esphome.io/components/api.html#advantages-over-mqtt
mqtt:
broker: !secret mqtt_host
username: !secret mqtt_username
password: !secret mqtt_password
id: mqtt_client
web_server:
port: 80
time:
- platform: homeassistant
- platform: sntp
uart:
id: uart_bus

View File

@ -25,6 +25,8 @@ logger:
baud_rate: 0
esp8266_store_log_strings_in_flash: false
# If you use Home Assistant please remove this `mqtt` section and uncomment the `api` component!
# The native API has many advantages over MQTT: https://esphome.io/components/api.html#advantages-over-mqtt
mqtt:
broker: !secret mqtt_host
username: !secret mqtt_username

View File

@ -23,6 +23,8 @@ logger:
baud_rate: 0
esp8266_store_log_strings_in_flash: false
# If you use Home Assistant please remove this `mqtt` section and uncomment the `api` component!
# The native API has many advantages over MQTT: https://esphome.io/components/api.html#advantages-over-mqtt
mqtt:
broker: !secret mqtt_host
username: !secret mqtt_username

View File

@ -12,14 +12,15 @@ wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
api:
ota:
platform: esphome
logger:
level: DEBUG
api:
reboot_timeout: 0s
uart:
baud_rate: 19200
tx_pin: ${tx_pin}

View File

@ -12,14 +12,15 @@ wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
api:
ota:
platform: esphome
logger:
level: DEBUG
api:
reboot_timeout: 0s
uart:
baud_rate: 19200
tx_pin: ${tx_pin}

View File

@ -12,14 +12,15 @@ wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
api:
ota:
platform: esphome
logger:
level: DEBUG
api:
reboot_timeout: 0s
uart:
baud_rate: 19200
tx_pin: ${tx_pin}

View File

@ -12,14 +12,15 @@ wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
api:
ota:
platform: esphome
logger:
level: DEBUG
api:
reboot_timeout: 0s
uart:
baud_rate: 19200
tx_pin: ${tx_pin}

View File

@ -12,14 +12,15 @@ wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
api:
ota:
platform: esphome
logger:
level: DEBUG
api:
reboot_timeout: 0s
uart:
baud_rate: 19200
tx_pin: ${tx_pin}

View File

@ -12,14 +12,15 @@ wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
api:
ota:
platform: esphome
logger:
level: DEBUG
api:
reboot_timeout: 0s
uart:
baud_rate: 19200
tx_pin: ${tx_pin}

View File

@ -12,14 +12,15 @@ wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
api:
ota:
platform: esphome
logger:
level: DEBUG
api:
reboot_timeout: 0s
uart:
baud_rate: 19200
tx_pin: ${tx_pin}

View File

@ -12,14 +12,15 @@ wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
api:
ota:
platform: esphome
logger:
level: DEBUG
api:
reboot_timeout: 0s
uart:
baud_rate: 19200
tx_pin: ${tx_pin}

View File

@ -12,14 +12,15 @@ wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
api:
ota:
platform: esphome
logger:
level: DEBUG
api:
reboot_timeout: 0s
uart:
baud_rate: 19200
tx_pin: ${tx_pin}

View File

@ -12,14 +12,15 @@ wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
api:
ota:
platform: esphome
logger:
level: DEBUG
api:
reboot_timeout: 0s
uart:
baud_rate: 19200
tx_pin: ${tx_pin}