OnOff latching switch
jmm_73 last edited by
I have just bought a OnOff Shim from Pimoroni. I have tested the switch and it works with a momentary pushbutton. But I want it to use a latching switch instead. But this doesnt work for me when i try. i have tried to read the code, and my understanding is that the code is made to work with both momentary and latching switches.
Anyode else has a OnOff Shim working with a latching switch? Or another solution in place working with a latching switch?
Kind regards Jens
cyperghost last edited by
@jmm_73 you can try multi switch script with --onoffshim parameter there is an option for latching or momentary button included. Please remove the Pimoroni script before and call the multi switch kind off
sudo ./multi_switch.sh --onoffshim