/led-controller

A tool to control my led strip

Primary LanguageRust

Led Controller

A tool to control my Led Strip

Arguments

  • Set Effect (-s --set-effect) Sets the effect
  • Kill (-k --kill) Kills the daemon
  • Web (-w --web) Sets the status of led.rugmj.dev
  • Test (-t --test) Tests the led strip Red -> Green -> Blue -> White -> Repeat

Effects

Effects are WIP

  • Rainbow A simple rainbow effect using sine
  • Random A strobe like effect which picks random colours for each block (10) leds
  • Music Visualiser Maps fft to brightness, picks a random colour whenever fft data is all 0
  • Codinig Effect Gets the current mode in the active neovim instance
  • Test The test effect (Should be set with -t instead)

Dbus Control

Everything the cli can control can be controlled using dbus

An example command to set the effect to the Rainbow effect: busctl --user call dev.rugmj.LedController /dev/rugmj/LedController dev.rugmj.LedController1 SetEffect 0