mirror of
https://github.com/KinDR007/VictronMPPT-ESPHOME.git
synced 2024-10-21 07:09:27 +00:00
Add native api
note for Home Assistant users (#171)
This commit is contained in:
parent
9f104855ba
commit
af99b1d586
@ -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
|
||||
|
@ -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
|
||||
|
@ -24,10 +24,11 @@ wifi:
|
||||
ota:
|
||||
platform: esphome
|
||||
|
||||
api:
|
||||
|
||||
logger:
|
||||
|
||||
api:
|
||||
reboot_timeout: 0s
|
||||
|
||||
uart:
|
||||
id: uart_0
|
||||
baud_rate: 19200
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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}
|
||||
|
@ -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}
|
||||
|
@ -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}
|
||||
|
@ -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}
|
||||
|
@ -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}
|
||||
|
@ -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}
|
||||
|
@ -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}
|
||||
|
@ -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}
|
||||
|
@ -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}
|
||||
|
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user