Close

Height bug workaround bug

A project log for Standing desk remote control

Control multiple desks over wifi

lion-mclionheadlion mclionhead 09/22/2022 at 05:180 Comments

So if the maximum or minimum height presets are set to anything besides maximum & minimum height & they're pressed while at maximum or minimum height, the workaround bug interrupts the movement.  The real problem is that it's basing the workaround on preset 1 & 4 being bottom & top.

It needs to wait for a boundary height after all presets.  If it hits a boundary height, it needs to wait 1 second.  If it leaves the boundary height, go back to waiting for a boundary height.  If it stays at the boundary height, press the up button if it's the top height & the down button if it's the bottom height.

The only use case was a desk which had room to hit a boundary but all its presets were used for other heights.  No such case exists in the current apartment except during testing.

Discussions