https://github.com/oherych/yeelightcli
yeelightcli is a command-line tool for managing Yeelight devices. Right now it supports 95% of all features presented in the official documentation.
https://github.com/oherych/yeelightcli
cli golang iot yeelight yeelight-cli
Last synced: 5 months ago
JSON representation
yeelightcli is a command-line tool for managing Yeelight devices. Right now it supports 95% of all features presented in the official documentation.
- Host: GitHub
- URL: https://github.com/oherych/yeelightcli
- Owner: oherych
- License: mit
- Created: 2022-01-11T21:19:02.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-03-04T00:34:09.000Z (over 3 years ago)
- Last Synced: 2024-06-21T03:17:28.610Z (about 2 years ago)
- Topics: cli, golang, iot, yeelight, yeelight-cli
- Language: Go
- Homepage:
- Size: 85.9 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://stand-with-ukraine.pp.ua)
`yeelightcli` is a command-line tool for managing Yeelight devices.
Right now it supports 95% of all features presented in the official documentation.
## Installation
### Go
`go install github.com/oherych/yeelightcli`
### Brew
```shell
brew tap oherych/yeelightcli
brew install yeelightcli
```
## Usage
`yeelightcli help`
```
Usage:
yeelightcli [command]
Available Commands:
discovery Discovers all the devices in the local network
power Switches the light on/off
set Specify the light parameter
adjust Adjust the light parameter
default Declare current light settings as default
cron Schedule light turn on/off
music Start or stop music mode on a device
name Change device name
read Fetch current device settings
help Help about any command
Flags:
-h, --help help for main
Use "main [command] --help" for more information about a command.
```
### TODO
- SetAdjust
- SetBackgoundAdjust
- StartColorFlow
- StartBackgroundColorFlow
- StopColorFlow
- StopBackgroundColorFlow
- SetMusic