Hey guys could use a little help getting setup, running xbmcbuntu and at this point I've got boblightd installed as well as the boblight xbmc addon (on same machine). I've used hansaplasts tool to create a config which I then modified to suit 2 lightpacks.
Code:
# config file created with BobLight Config Maker v.1.0
# (C) Hans Luijten - http://www.tweaking4all.com
# Orientation naming as seen from the REAR of the TV
# Date: 11/03/2014 22:21:08
[global]
interface 127.0.0.1
port 19333
[device]
name AmbiLight
type lightpack
channels 90
interval 20000
serial 95230303231351A07112
bus 8
address 2
debug off
delayafteropen 100000
[device]
name AmbiLight2
type lightpack
channels 90
interval 20000
serial 95230303231351317160
bus 8
address 2
debug off
delayafteropen 100000
[color]
name red
rgb FF0000
[color]
name green
rgb 00FF00
[color]
name blue
rgb 0000FF
# Bottom Start
[light]
name start1
color red AmbiLight 1
color green AmbiLight 2
color blue AmbiLight 3
hscan 16.7 20
vscan 95 100
[light]
name start2
color red AmbiLight 4
color green AmbiLight 5
color blue AmbiLight 6
hscan 13.3 16.7
vscan 95 100
[light]
name start3
color red AmbiLight 7
color green AmbiLight 8
color blue AmbiLight 9
hscan 10 13.3
vscan 95 100
[light]
name start4
color red AmbiLight 10
color green AmbiLight 11
color blue AmbiLight 12
hscan 6.7 10
vscan 95 100
[light]
name start5
color red AmbiLight 13
color green AmbiLight 14
color blue AmbiLight 15
hscan 3.3 6.7
vscan 95 100
[light]
name start6
color red AmbiLight 16
color green AmbiLight 17
color blue AmbiLight 18
hscan 0 3.3
vscan 95 100
# Right Side
[light]
name right1
color red AmbiLight 19
color green AmbiLight 20
color blue AmbiLight 21
hscan 0 5
vscan 83.3 90
[light]
name right2
color red AmbiLight 22
color green AmbiLight 23
color blue AmbiLight 24
hscan 0 5
vscan 76.7 83.3
[light]
name right3
color red AmbiLight 25
color green AmbiLight 26
color blue AmbiLight 27
hscan 0 5
vscan 70 76.7
[light]
name right4
color red AmbiLight 28
color green AmbiLight 29
color blue AmbiLight 30
hscan 0 5
vscan 63.3 70
[light]
name right5
color red AmbiLight 31
color green AmbiLight 32
color blue AmbiLight 33
hscan 0 5
vscan 56.7 63.3
[light]
name right6
color red AmbiLight 34
color green AmbiLight 35
color blue AmbiLight 36
hscan 0 5
vscan 50 56.7
[light]
name right7
color red AmbiLight 37
color green AmbiLight 38
color blue AmbiLight 39
hscan 0 5
vscan 43.3 50
[light]
name right8
color red AmbiLight 40
color green AmbiLight 41
color blue AmbiLight 42
hscan 0 5
vscan 36.7 43.3
[light]
name right9
color red AmbiLight 43
color green AmbiLight 44
color blue AmbiLight 45
hscan 0 5
vscan 30 36.7
[light]
name right10
color red AmbiLight 46
color green AmbiLight 47
color blue AmbiLight 48
hscan 0 5
vscan 23.3 30
[light]
name right11
color red AmbiLight 49
color green AmbiLight 50
color blue AmbiLight 51
hscan 0 5
vscan 16.7 23.3
[light]
name right12
color red AmbiLight 52
color green AmbiLight 53
color blue AmbiLight 54
hscan 0 5
vscan 10 16.7
# Top
[light]
name top1
color red AmbiLight 55
color green AmbiLight 56
color blue AmbiLight 57
hscan 0 4.2
vscan 0 5
[light]
name top2
color red AmbiLight 58
color green AmbiLight 59
color blue AmbiLight 60
hscan 4.2 8.3
vscan 0 5
[light]
name top3
color red AmbiLight 61
color green AmbiLight 62
color blue AmbiLight 63
hscan 8.3 12.5
vscan 0 5
[light]
name top4
color red AmbiLight 64
color green AmbiLight 65
color blue AmbiLight 66
hscan 12.5 16.7
vscan 0 5
[light]
name top5
color red AmbiLight 67
color green AmbiLight 68
color blue AmbiLight 69
hscan 16.7 20.8
vscan 0 5
[light]
name top6
color red AmbiLight 70
color green AmbiLight 71
color blue AmbiLight 72
hscan 20.8 25
vscan 0 5
[light]
name top7
color red AmbiLight 73
color green AmbiLight 74
color blue AmbiLight 75
hscan 25 29.2
vscan 0 5
[light]
name top8
color red AmbiLight 76
color green AmbiLight 77
color blue AmbiLight 78
hscan 29.2 33.3
vscan 0 5
[light]
name top9
color red AmbiLight 79
color green AmbiLight 80
color blue AmbiLight 81
hscan 33.3 37.5
vscan 0 5
[light]
name top10
color red AmbiLight 82
color green AmbiLight 83
color blue AmbiLight 84
hscan 37.5 41.7
vscan 0 5
[light]
name top11
color red AmbiLight 85
color green AmbiLight 86
color blue AmbiLight 87
hscan 41.7 45.8
vscan 0 5
[light]
name top12
color red AmbiLight 88
color green AmbiLight 89
color blue AmbiLight 90
hscan 45.8 50
vscan 0 5
[light]
name top13
color red AmbiLight2 90
color green AmbiLight2 89
color blue AmbiLight2 88
hscan 50 54.2
vscan 0 5
[light]
name top14
color red AmbiLight2 87
color green AmbiLight2 86
color blue AmbiLight2 75
hscan 54.2 58.3
vscan 0 5
[light]
name top15
color red AmbiLight2 84
color green AmbiLight2 83
color blue AmbiLight2 82
hscan 58.3 62.5
vscan 0 5
[light]
name top16
color red AmbiLight2 81
color green AmbiLight2 80
color blue AmbiLight2 79
hscan 62.5 66.7
vscan 0 5
[light]
name top17
color red AmbiLight2 78
color green AmbiLight2 77
color blue AmbiLight2 76
hscan 66.7 70.8
vscan 0 5
[light]
name top18
color red AmbiLight2 75
color green AmbiLight2 74
color blue AmbiLight2 73
hscan 70.8 75
vscan 0 5
[light]
name top19
color red AmbiLight2 72
color green AmbiLight2 71
color blue AmbiLight2 70
hscan 75 79.2
vscan 0 5
[light]
name top20
color red AmbiLight2 69
color green AmbiLight2 68
color blue AmbiLight2 67
hscan 79.2 83.3
vscan 0 5
[light]
name top21
color red AmbiLight2 66
color green AmbiLight2 65
color blue AmbiLight2 64
hscan 83.3 87.5
vscan 0 5
[light]
name top22
color red AmbiLight2 63
color green AmbiLight2 62
color blue AmbiLight2 61
hscan 87.5 91.7
vscan 0 5
[light]
name top23
color red AmbiLight2 60
color green AmbiLight2 59
color blue AmbiLight2 58
hscan 91.7 95.8
vscan 0 5
[light]
name top24
color red AmbiLight2 57
color green AmbiLight2 56
color blue AmbiLight2 55
hscan 95.8 100
vscan 0 5
# Left Side
[light]
name left1
color red AmbiLight2 54
color green AmbiLight2 53
color blue AmbiLight2 52
hscan 95 100
vscan 10 16.7
[light]
name left2
color red AmbiLight2 51
color green AmbiLight2 50
color blue AmbiLight2 49
hscan 95 100
vscan 16.7 23.3
[light]
name left3
color red AmbiLight2 48
color green AmbiLight2 47
color blue AmbiLight2 46
hscan 95 100
vscan 23.3 30
[light]
name left4
color red AmbiLight2 45
color green AmbiLight2 44
color blue AmbiLight2 43
hscan 95 100
vscan 30 36.7
[light]
name left5
color red AmbiLight2 42
color green AmbiLight2 41
color blue AmbiLight2 40
hscan 95 100
vscan 36.7 43.3
[light]
name left6
color red AmbiLight2 39
color green AmbiLight2 38
color blue AmbiLight2 37
hscan 95 100
vscan 43.3 50
[light]
name left7
color red AmbiLight2 36
color green AmbiLight2 35
color blue AmbiLight2 34
hscan 95 100
vscan 50 56.7
[light]
name left8
color red AmbiLight2 33
color green AmbiLight2 32
color blue AmbiLight2 31
hscan 95 100
vscan 56.7 63.3
[light]
name left9
color red AmbiLight2 30
color green AmbiLight2 29
color blue AmbiLight2 28
hscan 95 100
vscan 63.3 70
[light]
name left10
color red AmbiLight2 27
color green AmbiLight2 26
color blue AmbiLight2 25
hscan 95 100
vscan 70 76.7
[light]
name left11
color red AmbiLight2 24
color green AmbiLight2 23
color blue AmbiLight2 22
hscan 95 100
vscan 76.7 83.3
[light]
name left12
color red AmbiLight2 21
color green AmbiLight2 20
color blue AmbiLight2 19
hscan 95 100
vscan 83.3 90
# Bottom End
[light]
name end1
color red AmbiLight2 18
color green AmbiLight2 17
color blue AmbiLight2 16
hscan 96.7 100
vscan 95 100
[light]
name end2
color red AmbiLight2 15
color green AmbiLight2 14
color blue AmbiLight2 13
hscan 93.3 96.7
vscan 95 100
[light]
name end3
color red AmbiLight2 12
color green AmbiLight2 11
color blue AmbiLight2 10
hscan 90 93.3
vscan 95 100
[light]
name end4
color red AmbiLight2 9
color green AmbiLight2 8
color blue AmbiLight2 7
hscan 86.7 90
vscan 95 100
[light]
name end5
color red AmbiLight2 6
color green AmbiLight2 5
color blue AmbiLight2 4
hscan 83.3 86.7
vscan 95 100
[light]
name end6
color red AmbiLight2 3
color green AmbiLight2 2
color blue AmbiLight2 1
hscan 80 83.3
vscan 95 100
I had previously tested with 1 lightpack and some default lightpack config found with boblight, I did manage to get the addon to connect and display static colour. However, currently the addon tells me it cannot find boblightd. I don't know if i need to run boblightd manually before activating the addon, but I've tried to run sudo boblightd through putty which appears to be ok - but the addon won't seem to work with it still.
Code:
15:34:21.632099 (PrintFlags) starting boblightd
15:34:21.632126 (CConfig::LoadConfigFromFile) opening /etc/boblight.conf
15:34:21.633178 (CConfig::CheckConfig) checking config lines
15:34:21.636027 (CConfig::CheckConfig) config lines valid
15:34:21.636068 (CConfig::BuildConfig) building config
15:34:21.640142 (CConfig::BuildConfig) built config successfully
15:34:21.640183 (main) starting devices
15:34:21.640238 (CClientsHandler::Process) opening listening socket on 127.0.0.1:19333
15:34:21.640516 (CDevice::Process) AmbiLight: starting
15:34:21.640577 (CDevice::Process) AmbiLight: setting up
15:34:21.640937 (CDevice::Process) AmbiLight2: starting
15:34:21.640992 (CDevice::Process) AmbiLight2: setting up
15:34:21.648507 (CDeviceLightpack::SetupDevice) AmbiLight: found Lightpack at bus 8 address 3, serial is 95230303231351317160
15:34:21.649505 (CDeviceLightpack::SetupDevice) AmbiLight2: found Lightpack at bus 8 address 3, serial is 95230303231351317160
15:34:21.649621 (CDeviceLightpack::SetupDevice) AmbiLight: Lightpack is initialized, bus 8 device address 3
15:34:21.651559 (CDeviceLightpack::SetupDevice) AmbiLight: found Lightpack at bus 8 address 2. Couldn't get serial.
15:34:21.651738 (CDevice::Process) AmbiLight: setup succeeded
15:34:21.653476 (CDeviceLightpack::SetupDevice) AmbiLight2: found Lightpack at bus 8 address 2, serial is 95230303231351A07112
15:34:21.654454 (CDeviceLightpack::SetupDevice) AmbiLight2: Lightpack is initialized, bus 8 device address 2
15:34:21.654693 (CDevice::Process) AmbiLight2: setup succeeded
what doesn't seem to make it to the log but i can see in the putty window is this message which results from starting the addon
Code:
boblightd: malloc.c:3822: _int_malloc: Assertion `(unsigned long)(size) >= (unsigned long)(nb)' failed.
and from the xbmc log
Code:
15:40:44 T:2921327424 DEBUG: ### [XBMC Boblight] - connecting to local boblightd
15:40:44 T:2921327424 DEBUG: ### [XBMC Boblight] - connection to boblightd failed: SO_ERROR 127.0.0.1:19333 Connection refused