From 6782c8e777d5edeaff330258a0f15a27a1ebe0d9 Mon Sep 17 00:00:00 2001 From: Nate Clark Date: Fri, 5 Jul 2024 16:47:59 -0400 Subject: [PATCH] add additional logging for Reboot Reason, Heap Free, and Web Server requests; Reset rolling code to 0 when ClientId is reset --- garage-door-GDOv2-Q.yaml | 27 ++++++++++++++++----------- packages/secplus-gdo.yaml | 4 +++- 2 files changed, 19 insertions(+), 12 deletions(-) diff --git a/garage-door-GDOv2-Q.yaml b/garage-door-GDOv2-Q.yaml index c1805c6..2fd6cd5 100644 --- a/garage-door-GDOv2-Q.yaml +++ b/garage-door-GDOv2-Q.yaml @@ -57,7 +57,7 @@ substitutions: name: konnected friendly_name: GDO blaQ project_name: konnected.garage-door-gdov2-q - project_version: "1.2.4" + project_version: "1.2.5" garage_door_cover_name: Garage Door garage_light_name: Garage Light garage_openings_name: Garage Openings @@ -143,11 +143,7 @@ packages: # SECPLUS GDO # The logic and capabilities of the GDO communication - packages/secplus-gdo.yaml - - #### - # SELF-TEST - # Self test script used to validate the hardware post-assembly - # - packages/gdo-self-test.yaml + - packages/debug.yaml #### # DASHBOARD IMPORT @@ -161,13 +157,22 @@ dashboard_import: # LOGGER # more: https://esphome.io/components/logger.html logger: - level: VERBOSE - # hardware_uart: UART0 -- uncomment on batch 2403; not needed on batch 2404 and newer + level: VERY_VERBOSE + # hardware_uart: UART0 # -- uncomment on batch 2403; not needed on batch 2404 and newer logs: + esp-idf: VERBOSE + api: VERBOSE + api.service: DEBUG + esp32_ble: DEBUG + esp32_ble_server: DEBUG + scheduler: DEBUG + esp32.preferences: DEBUG + sensor.filter: DEBUG + rtttl: DEBUG + cover: DEBUG + sensor: DEBUG ledc.output: INFO - sensor: INFO json: INFO - api: DEBUG #### # NATIVE API @@ -180,6 +185,6 @@ web_server: esphome: platformio_options: lib_deps: - - https://github.com/konnected-io/gdolib + - https://github.com/konnected-io/gdolib#4e6f493 build_flags: - -DUART_SCLK_DEFAULT=UART_SCLK_APB \ No newline at end of file diff --git a/packages/secplus-gdo.yaml b/packages/secplus-gdo.yaml index dcf75ce..a9744ce 100644 --- a/packages/secplus-gdo.yaml +++ b/packages/secplus-gdo.yaml @@ -112,10 +112,12 @@ button: on_press: - number.increment: id: gdo_client_id + - number.set: + id: gdo_rolling_code + value: 0 - button.press: id: restart_button - number: - platform: secplus_gdo name: Opening duration