Skip to content

Commit

Permalink
add additional logging for Reboot Reason, Heap Free, and Web Server r…
Browse files Browse the repository at this point in the history
…equests;

Reset rolling code to 0 when ClientId is reset
  • Loading branch information
heythisisnate committed Jul 5, 2024
1 parent fe594df commit 6782c8e
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 12 deletions.
27 changes: 16 additions & 11 deletions garage-door-GDOv2-Q.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
4 changes: 3 additions & 1 deletion packages/secplus-gdo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6782c8e

Please sign in to comment.