tjhorner / upsy-desky

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

Simulating the up/down buttons. #12

Open zeel01 opened 2 years ago

zeel01 commented 2 years ago

I'm working on an integration to control the Upsy Desky using the REST API. And I would like to have up/down hold buttons just like the desk control panel has. But I don't see a direct way to do this.

Is there a command I can send that emulates these buttons? If not, is this something that could potentially be implemented? Or is there an issue making this impossible/problematic to do?

zeel01 commented 2 years ago

Here's what I've been working on: https://github.com/zeel01/upsy-sd-plugin

example-photo

tjhorner commented 2 years ago

That's a pretty neat integration! I will look into exposing an API endpoint for emulating the press or release of the up/down buttons. It shouldn't be too hard. Will update here when I can!