Open pauluzs opened 8 years ago
When using popen device with command "tee /dev/MYFIFO" or dd bs=1 of=/dev/MYFIFO The output for 255 color values is 1.000015 instead of 1
Fist created a named pipe: root@vuduo:~# mkfifo /dev/MYFIFO Then show the output root@vuduo:~# cat /dev/MYFIFO
Used moodlamp > static color to test this although 1.000015 values also appear in dynamic mode
Used Config File
[global] interface 127.0.0.1 port 19333
[device] name ambilight1 output tee /dev/MYFIFO type popen interval 20000 channels 18 debug off
[color] name red rgb 0000FF gamma 0.91 adjust 1.0 blacklevel 0.0
[color] name green rgb 00FF00 gamma 0.86 adjust 0.96 blacklevel 0.0
[color] name blue rgb FF0000 gamma 0.95 adjust 0.80 blacklevel 0.0
[light] position left name 100 color red ambilight1 1 color green ambilight1 2 color blue ambilight1 3 hscan 0 33.33 vscan 0 0
position left name 200 color red ambilight1 4 color green ambilight1 5 color blue ambilight1 6 hscan 33.33 66.67 vscan 0 0
position left name 300 color red ambilight1 7 color green ambilight1 8 color blue ambilight1 9 hscan 66.67 100.0 vscan 0 0
position right name 400 color red ambilight1 10 color green ambilight1 11 color blue ambilight1 12 hscan 100.0 100 vscan 0 33.33
position right name 500 color red ambilight1 13 color green ambilight1 14 color blue ambilight1 15 hscan 100.0 100 vscan 33.33 66.67
position right name 600 color red ambilight1 16 color green ambilight1 17 color blue ambilight1 18 hscan 100.0 100 vscan 66.67 100
When using popen device with command "tee /dev/MYFIFO" or dd bs=1 of=/dev/MYFIFO The output for 255 color values is 1.000015 instead of 1
Fist created a named pipe: root@vuduo:~# mkfifo /dev/MYFIFO Then show the output root@vuduo:~# cat /dev/MYFIFO
Used moodlamp > static color to test this although 1.000015 values also appear in dynamic mode
Used Config File
[global] interface 127.0.0.1 port 19333
[device] name ambilight1 output tee /dev/MYFIFO type popen interval 20000 channels 18 debug off
[color] name red rgb 0000FF gamma 0.91 adjust 1.0 blacklevel 0.0
[color] name green rgb 00FF00 gamma 0.86 adjust 0.96 blacklevel 0.0
[color] name blue rgb FF0000 gamma 0.95 adjust 0.80 blacklevel 0.0
[light] position left name 100 color red ambilight1 1 color green ambilight1 2 color blue ambilight1 3 hscan 0 33.33 vscan 0 0
position left name 200 color red ambilight1 4 color green ambilight1 5 color blue ambilight1 6 hscan 33.33 66.67 vscan 0 0
position left name 300 color red ambilight1 7 color green ambilight1 8 color blue ambilight1 9 hscan 66.67 100.0 vscan 0 0
position right name 400 color red ambilight1 10 color green ambilight1 11 color blue ambilight1 12 hscan 100.0 100 vscan 0 33.33
position right name 500 color red ambilight1 13 color green ambilight1 14 color blue ambilight1 15 hscan 100.0 100 vscan 33.33 66.67
position right name 600 color red ambilight1 16 color green ambilight1 17 color blue ambilight1 18 hscan 100.0 100 vscan 66.67 100