Dummy/custom color wheel

Hi there,

I want to make a Arduino LED strip driver. I already made that I can type a Hexadecimal code (example: #F539ED) in the serial monitor and my strip will get that color.

I also made my home assistant send serial communication to an other arduino with a relay for my room light. It looks like this in my configuration.yaml:

switch:
  - platform: command_line
    switches:
      ceiling:
        command_on: echo -e -n "1ON" > /dev/ttyUSB0
        command_off: echo -e -n "1OFF" > /dev/ttyUSB0

Now I want to create a color wheel for my arduino LED strip. Is there a way to do this? It doesn’t have to be a command_line function, I have also Node-Red in my HA. It would be no problem to do it via there.