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
- Host: GitHub
- URL: https://github.com/amirnaghibi/lightctrl
- Owner: AmirNaghibi
- Created: 2019-06-20T16:25:44.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-06-22T06:01:49.000Z (about 7 years ago)
- Last Synced: 2025-04-09T07:51:31.581Z (about 1 year ago)
- Topics: bash-script, rest-api, smart-lamp
- Language: Shell
- Homepage: https://amirnaghibi.github.io/LightCtrl/
- Size: 1.95 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```