An open API service indexing awesome lists of open source software.

https://github.com/amirnaghibi/lightctrl

Manage Smart Lamps From Commandline
https://github.com/amirnaghibi/lightctrl

bash-script rest-api smart-lamp

Last synced: about 2 months ago
JSON representation

Manage Smart Lamps From Commandline

Awesome Lists containing this project

README

          

# LightCtrl
Control Lifex Smart Lamp from commandline.

# Installation and Set up
1. clone the repo
2. change working directory to the repo
3. change file permission to be able to execute
```bash
chmod +x install.sh
```
4. run the shell script
```bash
./install.sh
```

# Usage
- Turn light on
```bash
light on
```

- Turn light off
```bash
light off
```

- change light brightness by passing an argument between 0 and 1
```bash
lightb 0.75
```