shelly sync

shelly sync

Synchronize device configurations

Synopsis

Synchronize device configurations between local storage and devices.

Operations: –pull Download device configs to local storage –push Upload local configs to devices

Configurations are stored in the CLI config directory.

1
shelly sync [flags]

Examples

1
2
3
4
5
6
7
8
  # Pull all device configs to local storage
  shelly sync --pull

  # Push local config to specific device
  shelly sync --push --device kitchen-light

  # Preview sync without making changes
  shelly sync --pull --dry-run

Options

1
2
3
4
5
      --device strings   Specific devices to sync (default: all)
      --dry-run          Preview actions without executing
  -h, --help             help for sync
      --pull             Pull device configs to local storage
      --push             Push local configs to devices

Options inherited from parent commands

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
      --config string           Config file (default $HOME/.config/shelly/config.yaml)
      --log-categories string   Filter logs by category (comma-separated: network,api,device,config,auth,plugin)
      --log-json                Output logs in JSON format
      --no-color                Disable colored output
      --no-headers              Hide table headers in output
      --offline                 Only read from cache, error on cache miss
  -o, --output string           Output format (table, json, yaml, template) (default "table")
      --plain                   Disable borders and colors (machine-readable output)
  -q, --quiet                   Suppress non-essential output
      --refresh                 Bypass cache and fetch fresh data from device
      --template string         Go template string for output (use with -o template)
  -v, --verbose count           Increase verbosity (-v=info, -vv=debug, -vvv=trace)

SEE ALSO

  • shelly - CLI for controlling Shelly smart home devices