I have adjustable desk to switch between standing and sitting that I got from IKEA.

My only frustration is that it does not remember previous locations – you just can’t press a button and adjust to saved location.

Fortunately, Robin Reiter reverse engineered the electronics of his IKEA Bekant adjustable table and was able to add some memory functionality.

Code & Schematics: https://github.com/robin7331/IKEA-Hackant