Skip to content

decentninja/Kitchen-Lights

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kitchen Lights

Ikea Utrusta LED Worktop lighting does not support Philips Hue, so I've built a raspberry pi binary that press the button to control the lights. This program reads the brightness of a bulb and then uses gpio pins to a transistor to click the required number of times for the lights to be in the correct state.

Build

cargo install cross cross build --target arm-unknown-linux-musleabi --release

Upload

scp kitchen-lights.service config.ron user target/arm-unknown-linux-musleabi/release/kitchen-lights [email protected]:/home/pi/Kitchen-Lights

Installation

cp kitchen-lights.service /etc/systemd/system/kitchen-lights.service sudo systemctl enable kitchen-lights.service

Debug

journalctl -u kitchen-lights

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages