# Turn on switches specific devices
shelly batch on light-1 light-2
# Turn on switches all devices in a group
shelly batch on --group living-room
# Turn on switches all registered devices
shelly batch on --all
# Control switch 1 on all devices in group
shelly batch on --group bedroom --switch 1
# Control concurrency and timeout
shelly batch on --all --concurrent 10 --timeout 30s
# Pipe device names from a file
cat devices.txt | shelly batch on
# Pipe from device list command
shelly device list -o json | jq -r '.[].name' | shelly batch on
-a, --all Target all registered devices
-c, --concurrent int Max concurrent operations (default 5)
-g, --group string Target device group
-h, --help help for on
-s, --switch int Switch component ID
-t, --timeout duration Timeout per device (default 10s)