tjhorner / upsy-desky

Make your standing desk smarter
https://upsy-desky.tjhorner.dev
Other
519 stars 28 forks source link

Feature request: Support for child lock / control lock #30

Open nperanzi opened 1 year ago

nperanzi commented 1 year ago

Some desks (e.g., Uplift V2) have a child lock feature. Enabling child lock via the keypad also prevents upsy-desky from controlling the desk, so this feature appears to be enabled on the control box itself, rather than the keypad.

Two enhancement requests related to this feature:

tjhorner commented 1 year ago

Hi, thanks for the suggestion, and so sorry I missed this. I looked into this and the only way to trigger the keypad lock is to actually emulate holding the "M" button for the time it takes to enable or disable it, since the keypad does not send commands with serial (or through any other means). This isn't ideal, but it should be possible.

Detection should be possible, and would be easy to expose via a binary_sensor. I will need to do some reverse engineering to see what packet the control box sends while the height is locked.

jfroy commented 9 months ago

As the happy father of a one year old, is there anything I can do to help? I've done some dabbling with esphome, but I don't know the specifics of the Uplift controller.

jhemak commented 3 months ago

+1 for this. Thank you!

alexives commented 1 month ago

As another parent of a small child, I decided to unplug my physical controller and use one of these - hooked up to the esphome device via an automation in home assistant.

Not exactly ideal, but it keeps my toddler from adjusting it while I'm sitting/standing at it working 😅