Class SinglePixelLightController

  • All Implemented Interfaces:
    crackers.kobots.mqtt.homeassistant.LightController

    
    public final class SinglePixelLightController
     implements LightController
                        

    Simple HomeAssistant "light" that controls a single pixel on a 1->n PixelBuf strand (e.g. a WS28xx LED). Note that the effects must be in the context of a PixelBuf target. TODO this should be just a PixelBufController with the start==end index

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      <Error class: unknown class> getLightEffects()
      String getControllerIcon()
      LightState current() Get the state of the light.
      Unit set(LightCommand command) Set the state of the light.
      • Methods inherited from class crackers.kobots.mqtt.homeassistant.LightController

        exec, flash, transition
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait