MQTT configuration

This commit is contained in:
Nikolay Vasilchuk
2021-09-21 16:44:53 +03:00
parent 6de8b7559f
commit 96171745c5
2 changed files with 11 additions and 1 deletions

View File

@@ -28,6 +28,12 @@ substitutions:
ap_ssid: "Domofon" ap_ssid: "Domofon"
ap_password: "1234567890" ap_password: "1234567890"
# MQTT credentials
mqtt_host: 10.0.0.1
mqtt_port: 1883
mqtt_username: ""
mqtt_password: ""
# OTA and API # OTA and API
ota_password: "esphome" ota_password: "esphome"
api_password: "esphome" api_password: "esphome"

View File

@@ -1,2 +1,6 @@
mqtt: mqtt:
broker: 10.0.0.1 broker: $mqtt_host
port: $mqtt_port
discovery: false
username: $mqtt_username
password: $mqtt_password