diff --git a/ge1mer/domofon.yaml b/ge1mer/domofon.yaml index 0d1a9a3..6a43aa1 100644 --- a/ge1mer/domofon.yaml +++ b/ge1mer/domofon.yaml @@ -28,6 +28,12 @@ substitutions: ap_ssid: "Domofon" ap_password: "1234567890" + # MQTT credentials + mqtt_host: 10.0.0.1 + mqtt_port: 1883 + mqtt_username: "" + mqtt_password: "" + # OTA and API ota_password: "esphome" api_password: "esphome" diff --git a/ge1mer/domofon_packages/mqtt.yaml b/ge1mer/domofon_packages/mqtt.yaml index f78d638..8529813 100644 --- a/ge1mer/domofon_packages/mqtt.yaml +++ b/ge1mer/domofon_packages/mqtt.yaml @@ -1,2 +1,6 @@ mqtt: - broker: 10.0.0.1 \ No newline at end of file + broker: $mqtt_host + port: $mqtt_port + discovery: false + username: $mqtt_username + password: $mqtt_password \ No newline at end of file