https://github.com/adjivas/light_control
https://github.com/adjivas/light_control
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/adjivas/light_control
- Owner: adjivas
- License: agpl-3.0
- Created: 2023-05-06T15:05:43.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2023-09-16T09:58:47.000Z (over 2 years ago)
- Last Synced: 2025-02-05T08:16:39.829Z (over 1 year ago)
- Language: Rust
- Size: 35.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Light Control

This service will captures a MQTT motion stream controls a light.
## Play with it!
How to configure the environment:
```shell
cp env.example.sh env.sh
$EDITOR env.sh
source env.sh
```
How to compile:
```shell
cargo build --release
```
How to run the service:
```shell
cargo run --features
```
How to cross compile:
```shell
cross build --target x86_64-unknown-linux-gnu --release
cross build --target armv7-unknown-linux-gnueabihf --release
```