From d5ff278168cbfe76609f3c43cec2147f611c15c8 Mon Sep 17 00:00:00 2001 From: Sebastian Muszynski Date: Wed, 2 Mar 2022 19:36:02 +0100 Subject: [PATCH] Simplify yaml config --- esp32-example.yaml | 15 +++++++++------ esp8266-example.yaml | 16 +++++++++------- 2 files changed, 18 insertions(+), 13 deletions(-) diff --git a/esp32-example.yaml b/esp32-example.yaml index aa2f1357..875a23a7 100644 --- a/esp32-example.yaml +++ b/esp32-example.yaml @@ -17,14 +17,15 @@ wifi: ssid: !secret wifi_ssid password: !secret wifi_password +api: ota: logger: - -mqtt: - broker: !secret mqtt_host - username: !secret mqtt_username - password: !secret mqtt_password - id: mqtt_client + level: DEBUG + logs: + api.service: WARN + ota: WARN + wifi: WARN + sensor: DEBUG uart: id: uart0 @@ -32,6 +33,8 @@ uart: rx_buffer_size: 384 tx_pin: ${tx_pin} rx_pin: ${rx_pin} + debug: + direction: BOTH jk_modbus: id: modbus0 diff --git a/esp8266-example.yaml b/esp8266-example.yaml index f244a42d..411193b0 100644 --- a/esp8266-example.yaml +++ b/esp8266-example.yaml @@ -17,16 +17,16 @@ wifi: ssid: !secret wifi_ssid password: !secret wifi_password +api: ota: logger: - level: INFO baud_rate: 0 - -mqtt: - broker: !secret mqtt_host - username: !secret mqtt_username - password: !secret mqtt_password - id: mqtt_client + level: DEBUG + logs: + api.service: WARN + ota: WARN + wifi: WARN + sensor: DEBUG uart: id: uart0 @@ -34,6 +34,8 @@ uart: rx_buffer_size: 384 tx_pin: ${tx_pin} rx_pin: ${rx_pin} + debug: + direction: BOTH jk_modbus: id: modbus0