shelly discover coiot On this page shelly discover coiot# Discover devices via CoIoT
Synopsis# Discover Shelly devices on the network using CoIoT multicast.
CoIoT is a protocol used by Gen1 Shelly devices to announce their presence
on the local network. This command listens for CoAP announcements on the
multicast group 224.0.1.187:5683.
Gen1-specific information displayed:
Device type and firmware Number of relays and meters CoIoT status values 1
shelly discover coiot [flags]
Examples# 1
2
3
4
5
6
7
8
9
10
11
12
13
14
# Basic CoIoT discovery
shelly discover coiot
# With longer timeout
shelly discover coiot --timeout 30s
# Show only Gen1 devices (filter out Gen2+)
shelly discover coiot --gen1-only
# Show detailed Gen1 info
shelly discover coiot --verbose
# Auto-register discovered devices
shelly discover coiot --register
Options# 1
2
3
4
5
6
--gen1-only Show only Gen1 devices
-h, --help help for coiot
--register Automatically register discovered devices
--skip-existing Skip devices already registered (default true)
-t, --timeout duration Discovery timeout (default 10s)
-v, --verbose Show detailed Gen1-specific information
Options inherited from parent commands# 1
2
3
4
5
6
7
8
9
10
11
--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)
SEE ALSO#