A simple API for Plex webhooks for the Yeelight.
This is a Kotlin and Spring Boot webservice for Plex webhooks to control a yeelight.
- Light will turn on when a movie stops.
- Light will turn off when a movie starts.
The API definition can be found here http://localhost:8080/swagger-ui.html#/
- Plex pass subscription
- Maven
- Yapi built into you Maven repo
- Application must be running on the same network as the yeelight
LAN Control
must be enabled on your Yeelight
-
Build and install the artifact into the local maven repo
./build.sh
-
Start build and start the docker image
docker-compose up --build
./gradlew bootRun