How to send initial RGB dimmer values to Domoticz?



  • I've set up an RGB dimmer in Domoticz using V_RGB, and I want to be able to turn on the dimmer in Domoticz and send initial RGB values when my sketch starts. I've tried various combinations of gw.send and gw.request within setup(), to no avail - the dimmer stays resolutely off. The only way I can 'wake it up' is by clicking / dragging in the colourspace.

    What do I need to do?



  • @MikeF I've used the sketch using the FastLED library found on the domoticz forum:

    https://www.domoticz.com/forum/viewtopic.php?t=8039#p57521

    When turning on using the power buttons on the right of the colour space it will turn on using the last colour sent to it unless you click in the colouspace. The sketch does need some work like it has no disco mode so going to work at improving it in the near future once I get my thermostat done.



  • Thanks, @BumblingWelsh , I'll check this out - but it looks as though it's for a Neopixel strip, and I'm using an analogue one.


Log in to reply
 

Suggested Topics

  • 5
  • 1
  • 2
  • 1
  • 2
  • 4

1
Online

11.2k
Users

11.1k
Topics

112.5k
Posts