diff --git a/base.yaml b/base.yaml index 21eace0..ddf6272 100644 --- a/base.yaml +++ b/base.yaml @@ -9,6 +9,10 @@ external_components: preferences: flash_write_interval: 1min +text_sensor: + - platform: version + name: "Firmware Version" + ratgdo: id: ${id_prefix} input_gdo_pin: ${uart_rx_pin} diff --git a/base_secplusv1.yaml b/base_secplusv1.yaml index be34dad..867b542 100644 --- a/base_secplusv1.yaml +++ b/base_secplusv1.yaml @@ -9,6 +9,10 @@ external_components: preferences: flash_write_interval: 1min +text_sensor: + - platform: version + name: "Firmware Version" + ratgdo: id: ${id_prefix} input_gdo_pin: ${uart_rx_pin} diff --git a/components/ratgdo/ratgdo.cpp b/components/ratgdo/ratgdo.cpp index 19a485b..a9f49c8 100644 --- a/components/ratgdo/ratgdo.cpp +++ b/components/ratgdo/ratgdo.cpp @@ -52,6 +52,11 @@ namespace ratgdo { // many things happening at startup, use some delay for sync set_timeout(SYNC_DELAY, [=] { this->sync(); }); + ESP_LOGD(TAG, " _____ _____ _____ _____ ____ _____ "); + ESP_LOGD(TAG, "| __ | _ |_ _| __| \\| |"); + ESP_LOGD(TAG, "| -| | | | | | | | | | |"); + ESP_LOGD(TAG, "|__|__|__|__| |_| |_____|____/|_____|"); + ESP_LOGD(TAG, "https://paulwieland.github.io/ratgdo/"); } // initializing protocol, this gets called before setup() because diff --git a/static/v25board_esp8266_d1_mini_secplusv1.yaml b/static/v25board_esp8266_d1_mini_secplusv1.yaml index 0ac92e8..7efcbe8 100644 --- a/static/v25board_esp8266_d1_mini_secplusv1.yaml +++ b/static/v25board_esp8266_d1_mini_secplusv1.yaml @@ -22,7 +22,7 @@ esphome: version: "2.5" esp8266: - board: d1_mini_lite + board: d1_mini restore_from_flash: true dashboard_import: