Skip to content

oldskule/wled-cmd

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 

Repository files navigation

wled-cmd

Simple command line interface for WLED devices.

  • Forked from mplinuxgeek/wled-cmd, props to GPT
  • Updated to use JSON API.
  • Fixed errors thrown when bash not >= 4.0
  • Added segment support

requirements

There are only 2 tools called by this script: curl xmllint

  • Fedora: dnf install libxml2
  • Ubuntu: apt-get install libxml2-utils

usage

./wled-cmd 192.168.1.147 on
./wled-cmd 192.168.1.147 brightness 128
./wled-cmd 192.168.1.147 cycle (this one cycles through a list of effects in the script)
./wled-cmd 192.168.1.147 fx 68
./wled-cmd 192.168.1.147 status
./wled-cmd 192.168.1.147 off

./wled-cmd 192.168.1.147 off [comma_separated_list_of_segment_ids]
./wled-cmd 192.168.1.147 on [comma_separated_list_of_segment_ids]

./wled-cmd 192.168.1.147 set_effect 10 1,2,3,4,5

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%