/tv-backlight-handler

Handler for command for the TV backlight

Primary LanguagePython

Development

Build Status

Run locally

python run.py

Deplotyment

Build & push

docker build -t dakl/tv-backlight-api .
docker push dakl/tv-backlight-api

Run Container

docker run \
-e TV_BACKLIGHT_DEVICE_ID=(echo $TV_BACKLIGHT_DEVICE_ID) \
-e PARTICLE_ACCESS_TOKEN=(echo $PARTICLE_ACCESS_TOKEN) \
-p 8000:8000 \
dakl/tv-backlight-api