With this sort of switch you have to worry about the lifecycle of the switch. They aren't meant to be toggled routinely. For the mentioned DIP switch (https://www.farnell.com/datasheets/5461.pdf) it's basically assured it'll be fine through 1000 cycles, and likely dead at 10,000.
1000 cycles is only ~3x/day for a year.
addblock on/off, javascript on/off, vpn on/off, qwerty/dvorak, default editor is vim/emacs, indentation is tabs/spaces, the dress is blue and black / white and gold, fund police/defund police, those are/aren't the droids we're looking for
to be/not to be
A form of two-factor authentication? (Something you have + something you know.)
Simply set the value to match a rotating 8-bit token and plug-in to login :)
Re:Dip Switch USB Stick
by tenebrisalietum on Thursday February 03, 2022 @05:10PM
(#30199730)
Integrate with Linux bootloader / boot process.
pin 0 on = normal boot, pin 0 off = single user mode.
pin 1 on = GRUB interactive screen enabled, pin 1 off = GRUB interactive screen disabled.
Same idea but a switch: https://hackaday.io/project/179539-hardware-boot-selection-s...
I had something like that hanging off a parallel port in a PC in 1990; it read the status bits of a printer port and booted accordingly. Could still do it today, via a $1 USB serial port's status bits.
This could be useful for conferencing on the go. Toggle switches for webcam, mic, mute, uhh...different channels?
Could be useful with home assistant in a lot of ways, though your use cases kind of cover them.
Re:Dip Switch USB Stick
by rpastuszak on Thursday February 03, 2022 @06:07PM
(#30200344)
: w q !
1 2 3 4
here is a couple...
1. profile location switching. pin 1 on/off = work/away - switch system configs appropriately. 2. desktop workspaces, flipping pin 2 on enables workspace switching. pin 3 and 4 control workspace number.
What else?