Skip to content

Turn on/off an infoscreen monitor with a light sensor using ATTiny85, a "hello world" project in rust

License

Notifications You must be signed in to change notification settings

koivunen/joyscreen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Joyscreen

Use an ATTiny85 with a light resistor to monitor building lighting to turn off a monitor when there is no occupancy.

This is Linux only for now, but the ATTiny85 joystick mode works on Windows, which is why that mode was chosen over serial (which currently causes bluescreens on Windows 10).

Usage

LOG=debug ./joyscreen

Uses

TODO

  • Publish light status over MQTT so all other monitors and systems can use this information as well
  • Fix moving average calculation to account for time
  • Switch away from joystick library, support different chips (pull requests accepted)
  • Clean up code
  • Possibility to calibrate light level triggering automatically or at least as a command line switch

About

Turn on/off an infoscreen monitor with a light sensor using ATTiny85, a "hello world" project in rust

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages