gkaindl / ambi-tv

a flexible ambilight clone for embedded linux
296 stars 85 forks source link

Sending RGB Values to Programmable logic controller (PLC) #91

Open hansoneins opened 8 years ago

hansoneins commented 8 years ago

I want to have my Ceiling RGB-Stripe to be coloured by a HDMI Signal. The major colour on the actual screen should go to the stripe (all leds have the same colour). Is it possible to send the RGB Values via modbus tcp or RS232 from the Raspberry? My PLC WAGO is controling the RGB Stripe.

dedeibel commented 8 years ago

Should be possible by implementing a new "sink" https://github.com/gkaindl/ambi-tv/blob/master/src/components/lpd8806-spidev-sink.c The avg-color-processor should already to what you want to get the average color.