Hi,
wanted to tell you, that an Arduino is driving my TM1829 RGB on my Libreelec (Openelec) Mediasys.
It's driven via an modded Neopixel Library and works well.
Have a look on how it's done.
https://s0n1c3.wordpress.com/2…ght-w-arduino-uno-tm1829/
Here's my Hyperionconfig, with testmode fix and colorcorrection.
strangely, i had to copy my last led...
Code
// Automatically generated configuration file for Hyperion ambilight daemon
// Notice: All values are explained with comments at our wiki: wiki.hyperion-project.org (config area)
// Generated by: HyperCon (The Hyperion deamon configuration file builder)
// Created with HyperCon V1.03.1 (11.06.2016)
{
// DEVICE CONFIGURATION
"device" :
{
"name" : "KODI",
"type" : "adalight",
"output" : "/dev/ttyUSB0",
"rate" : 500000,
"delayAfterConnect" : 0,
"colorOrder" : "rgb"
},
// COLOR CALIBRATION CONFIG
"color" :
{
"channelAdjustment" :
[
{
"id" : "default",
"leds" : "*",
"pureRed" :
{
"redChannel" : 255,
"greenChannel" : 0,
"blueChannel" : 0
},
"pureGreen" :
{
"redChannel" : 0,
"greenChannel" : 255,
"blueChannel" : 0
},
"pureBlue" :
{
"redChannel" : 0,
"greenChannel" : 0,
"blueChannel" : 254
}
}
],
"temperature" :
[
{
"id" : "default",
"leds" : "*",
"correctionValues" :
{
"red" : 255,
"green" : 171,
"blue" : 140
}
}
],
"transform" :
[
{
"id" : "default",
"leds" : "*",
"hsl" :
{
"saturationGain" : 1.0000,
"luminanceGain" : 1.0000,
"luminanceMinimum" : 0.0000
},
"red" :
{
"threshold" : 0.0000,
"gamma" : 2.5000
},
"green" :
{
"threshold" : 0.0000,
"gamma" : 2.5000
},
"blue" :
{
"threshold" : 0.0000,
"gamma" : 2.5000
}
}
],
// SMOOTHING CONFIG
"smoothing" :
{
"type" : "linear",
"time_ms" : 75,
"updateFrequency" : 20.0000,
"updateDelay" : 0
}
},
// NO V4L2 GRABBER CONFIG
// FRAME GRABBER CONFIG
"framegrabber" :
{
"width" : 80,
"height" : 80,
"frequency_Hz" : 30,
"priority" : 890
},
// BLACKBORDER CONFIG
"blackborderdetector" :
{
"enable" : true,
"threshold" : 0.3,
"unknownFrameCnt" : 600,
"borderFrameCnt" : 50,
"maxInconsistentCnt" : 10,
"blurRemoveCnt" : 1,
"mode" : "default"
},
// KODI CHECK CONFIG
"xbmcVideoChecker" :
{
"xbmcAddress" : "127.0.0.1",
"xbmcTcpPort" : 9090,
"grabVideo" : true,
"grabPictures" : true,
"grabAudio" : true,
"grabMenu" : true,
"grabPause" : true,
"grabScreensaver" : true,
"enable3DDetection" : true
},
// JSON SERVER CONFIG
"jsonServer" :
{
"port" : 19444
},
// PROTO SERVER CONFIG
"protoServer" :
{
"port" : 19445
},
// JSON/PROTO FORWARD CONFIG
"forwarder" :
{
"json" : ["10.0.0.10:19446"],
"proto" : ["10.0.10.10:19447"]
},
// EFFECT PATH
"effects" :
{
"paths" :
[
"/storage/hyperion/effects",
"/usr/share/hyperion/effects"
]
},
// NO BOOTEFFECT CONFIG
// NO BOBLIGHT SERVER CONFIG
// LED CONFIGURATION
"leds" :
[
{
"index" : 0,
"hscan" : { "minimum" : 0.1990, "maximum" : 0.4010 },
"vscan" : { "minimum" : 0.9300, "maximum" : 1.0000 }
},
{
"index" : 1,
"hscan" : { "minimum" : 0.0000, "maximum" : 0.2010 },
"vscan" : { "minimum" : 0.9300, "maximum" : 1.0000 }
},
{
"index" : 2,
"hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
"vscan" : { "minimum" : 0.6650, "maximum" : 1.0000 }
},
{
"index" : 3,
"hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
"vscan" : { "minimum" : 0.3317, "maximum" : 0.6683 }
},
{
"index" : 4,
"hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
"vscan" : { "minimum" : 0.0000, "maximum" : 0.3350 }
},
{
"index" : 5,
"hscan" : { "minimum" : 0.0000, "maximum" : 0.2010 },
"vscan" : { "minimum" : 0.0000, "maximum" : 0.0700 }
},
{
"index" : 6,
"hscan" : { "minimum" : 0.1990, "maximum" : 0.4010 },
"vscan" : { "minimum" : 0.0000, "maximum" : 0.0700 }
},
{
"index" : 7,
"hscan" : { "minimum" : 0.3990, "maximum" : 0.6010 },
"vscan" : { "minimum" : 0.0000, "maximum" : 0.0700 }
},
{
"index" : 8,
"hscan" : { "minimum" : 0.5990, "maximum" : 0.8010 },
"vscan" : { "minimum" : 0.0000, "maximum" : 0.0700 }
},
{
"index" : 9,
"hscan" : { "minimum" : 0.7990, "maximum" : 1.0000 },
"vscan" : { "minimum" : 0.0000, "maximum" : 0.0700 }
},
{
"index" : 10,
"hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
"vscan" : { "minimum" : 0.0000, "maximum" : 0.3350 }
},
{
"index" : 11,
"hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
"vscan" : { "minimum" : 0.3317, "maximum" : 0.6683 }
},
{
"index" : 12,
"hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
"vscan" : { "minimum" : 0.6650, "maximum" : 1.0000 }
},
{
"index" : 13,
"hscan" : { "minimum" : 0.7990, "maximum" : 1.0000 },
"vscan" : { "minimum" : 0.9300, "maximum" : 1.0000 }
},
{
"index" : 14,
"hscan" : { "minimum" : 0.5990, "maximum" : 0.8010 },
"vscan" : { "minimum" : 0.9300, "maximum" : 1.0000 }
},
{
"index" : 15,
"hscan" : { "minimum" : 0.5990, "maximum" : 0.8010 },
"vscan" : { "minimum" : 0.9300, "maximum" : 1.0000 }
}
],
"endOfJson" : "endOfJson"
}
Alles anzeigen