Skip to content
This repository has been archived by the owner on Oct 9, 2020. It is now read-only.

makr17/lightpulse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lightpulse

pulse RGB pixels with selections from one or more light temp ranges

  • loop with specified sleep interval (sleep)
  • at any point in time, a null pixel has a random chance to light up (threshold)
  • pixel picks color range from one or more temp ranges (temps)
  • pixel starts with a random intensity below configured maximum (max_intensity)
  • the longer a pixel stays lit, the higher the probability it will decay (decay)
  • program runs for configured number of minutes (runfor)

extends whitepulse, which only did white pixels in range from warm to cold

uses houselights for a lot of boilerplate

one of several programs I've written to drive LED light strips (APA-102C) setup under the eaves of my house. the light construction in zones is fairly specific to the installation at the house, I intend to eventually move that out to a config file. but hopefully you will find the rest of the code useful if you want to do something similar...

About

pulse RGB pixels with selections from one or more light temp ranges

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages