Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Manual Reset button for Flexispot E5B #63

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions packages/esphome/flexispot_e5b_esp32.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,20 @@ switch:
uart_id: desk_uart
internal: false

#MANUAL RESET
#HOLD THE DOWN BUTTON UNTIL THE TABLE REACHES ITS LOWEST HEIGHT AND REBOUNDS
#MIGHT NEED TO BE RUN MULTIPLE TIMES DEPENDING ON THE HEIGHT
- platform: uart
name: "${device_name} Factory Reset" # Hold Down 5secs
id: switch_factory_reset
icon: mdi:factory
data: [0x9b, 0x06, 0x02, 0x02, 0x00, 0x0c, 0xa0, 0x9d]
uart_id: desk_uart
send_every: 1ms
on_turn_on:
- delay: 5000ms
- switch.turn_off: switch_factory_reset

cover:
- platform: template
name: "Desk"
Expand Down