mirror of
https://github.com/wled/WLED.git
synced 2025-07-11 12:56:32 +00:00
Add help examples, header
This commit is contained in:
parent
5203c3927f
commit
9e96bd6705
@ -1,5 +1,9 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
# WLED Tools
|
||||||
|
# A utility for managing WLED devices in a local network
|
||||||
|
# https://github.com/wled/WLED
|
||||||
|
|
||||||
# Color Definitions
|
# Color Definitions
|
||||||
GREEN="\e[32m"
|
GREEN="\e[32m"
|
||||||
RED="\e[31m"
|
RED="\e[31m"
|
||||||
@ -64,6 +68,19 @@ Commands:
|
|||||||
update Update the firmware of a WLED device or multiple discovered devices.
|
update Update the firmware of a WLED device or multiple discovered devices.
|
||||||
discover Discover WLED devices using mDNS and list their IP addresses and names.
|
discover Discover WLED devices using mDNS and list their IP addresses and names.
|
||||||
|
|
||||||
|
Examples:
|
||||||
|
# Discover all WLED devices on the network
|
||||||
|
./wled-tools discover
|
||||||
|
|
||||||
|
# Backup a specific WLED device
|
||||||
|
./wled-tools -t 192.168.1.100 backup
|
||||||
|
|
||||||
|
# Backup all discovered WLED devices to a specific directory
|
||||||
|
./wled-tools -D -d /path/to/backups backup
|
||||||
|
|
||||||
|
# Update firmware on all discovered WLED devices
|
||||||
|
./wled-tools -D -f /path/to/firmware.bin update
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user