Command alias collections ranging from simple shortcuts to advanced automation helpers.
Usage
1
2
3
4
5
6
7
8
# Import any alias fileshelly alias import examples/aliases/shortcuts.yaml
# List imported aliasesshelly alias list
# Use an aliasshelly ls # if 'ls' was imported as alias for 'device list'
# Power User Aliases for Shelly CLI## Import: shelly alias import examples/aliases/power-users.yaml## These aliases provide shortcuts for common command+flag combinations# that power users type frequently. Arguments are auto-appended.## Note: Reserved command names (on, off, toggle, status, device, batch, etc.)# cannot be used as alias names.aliases:
# Device inspection shortcuts# 'shelly i kitchen' → 'shelly device info kitchen'i: "device info"ij: "device info -o json"# List all devices (shorter than 'device list')ls: "device list"lsj: "device list -o json"# Discovery with common timeoutscan: "discover scan --timeout 30s"scan-reg: "discover scan --register"# Batch operations with all devicesall-on: "batch on --all"all-off: "batch off --all"# Configuration export shortcutscfgx: "config export -o yaml"cfgj: "config export -o json"# Firmware check all devices at oncefw-check: "firmware check --all"fw-update: "firmware update --all --yes"# Energy monitoring shortcutpwr: "energy status"pwr-all: "energy status --all"pwr-hist: "energy history"# Quick debug/diagnosticsmethods: "debug methods"rpc: "debug rpc"# Backup shortcutsbk: "backup create"bk-all: "backup create --all"# TUI dashboard accessui: "tui dash"# Open device web interfaceweb: "device ui"# Shell aliases for JSON filtering (requires jq)# List only online devicesonline: "!shelly device list -o json | jq -r '.[] | select(.online == true) | .name'"# List only offline devicesoffline: "!shelly device list -o json | jq -r '.[] | select(.online == false) | .name'"# Power summary for all devicespwr-summary: "!shelly energy status --all -o json | jq -r '.[] | \"\\(.name): \\(.power // 0)W\"'"