@Mahko_Mahko They are pulled momentarily.
But I figured it all out. The 0.8v was indeed just a regular LOW signal.
Here’s the ESPHome configuration to allow me emulating any button on my Uplift Desk:
output:
- platform: gpio
pin: GPIO21
id: pin_7_green
inverted: true
- platform: gpio
pin: GPIO22
id: pin_8_yellow
inverted: true
- platform: gpio
pin: GPIO17
id: pin_6_purple
inverted: true
- platform: gpio
pin: GPIO16
id: pin_1_transparent
inverted: true
button:
# Simple Buttons
- platform: output
output: pin_7_green
name: Up
duration: 300ms
- platform: output
output: pin_8_yellow
name: Down
duration: 300ms
- platform: output
output: pin_6_purple
name: 2
duration: 300ms
- platform: output
output: pin_1_transparent
name: M
duration: 300ms
# Combination Buttons
- platform: template
name: 1
on_press:
then:
- output.turn_on: pin_7_green
- output.turn_on: pin_8_yellow
- delay: 300ms
- output.turn_off: pin_8_yellow
- output.turn_off: pin_7_green
- platform: template
name: 3
on_press:
then:
- output.turn_on: pin_6_purple
- output.turn_on: pin_8_yellow
- delay: 300ms
- output.turn_off: pin_8_yellow
- output.turn_off: pin_6_purple
- platform: template
name: 4
on_press:
then:
- output.turn_on: pin_6_purple
- output.turn_on: pin_7_green
- delay: 300ms
- output.turn_off: pin_7_green
- output.turn_off: pin_6_purple
The GPIO outputs are named in line with this layout:
Obviously the Up and Down buttons would better be switches, rather than buttons. Good enough for demonstration purposes though.