hello @Francois-P
may be help :
I've an ambilight working on a C2 powered by libreelec, using an arduino uno and 118 WS2812B leds.
I want do the same with a XU4 running DietPi
I've successfully compiled hyperion following this how to
Using the same hyperion config file as C2 with only change "amlgrabber" => "framegrabber"
I've enabled hyperion service on kodi and configured to match hyperion config file
https://github.com/hyperion-project/hyperion/blob/master/CompileHowto.txt
# on amlogic platforms
cmake -DENABLE_DISPMANX=OFF -DENABLE_SPIDEV=OFF -DENABLE_AMLOGIC=ON -DCMAKE_BUILD_TYPE=Release -Wno-dev ..
# as an alternative for the dispmanx grabber on non-rpi devices (e.g. cubox-i) you could try the framebuffer grabber
cmake -DENABLE_DISPMANX=OFF -DENABLE_SPIDEV=OFF -DENABLE_FB=ON -DCMAKE_BUILD_TYPE=Release -Wno-dev ..