The BUTTON Command
BUTTON 1m && {
echo "button pressed"
} || {
echo "button not pressed"
}BUTTON 10s # Wait for 10 seconds for button press
BUTTON 30m # Wait for 30 minutes for button press
BUTTON 365d # Wait 1 year for button press
BUTTON # wait indefinitely for button pressNO_LED=1 BUTTON 1mLast updated