Kodi Community Forum

Full Version: Boblight light init and connection is ok but there is no output
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,
I have a problem with the output of boblight in XBMC. If I start the boblightd service in the console everything seems to be correct (No warnings or errors). All LEDs got red, green and blue for initialization. If I start XBMC with configured boblight add-on, XBMC states that it is connected to my boblightd service. If I start a movie I got no output.

If I use in another console the command: boblight-constant 0000FF

There is also no output.

I build up an adalight configuration as explained here with 50 LEDs: http://learn.adafruit.com/adalight-diy-a...v-lighting

Has anyone an idea?

Thx Hannes
Hi,
I am stuck. I reprogrammed the Arduino with a PC using Windows 7 (previously I used Windows 8.1). Both processing scripts (Colorswirl and Adalight) are working correctly. If I try to use boblightd and XBMC on Windows 7 it still doesn't work. It is the same issue I have under Linux. Connection is established but I do not get any output.

I also tried Prismatik which lead to an output although there was something messed up with my config there.

Any ideas?

Thx Hannes
I solved the problem:

There seems to be something broken with the LEDStream sketch from Adafruit. If I use the one provided here (sorry German source): http://geekstechworld.com/all/howto/ambi...se7EPTuJww everything works as expected.

I contacted the author which changes he made to get it working with windows.

I made a diff to my old version. The first thing is that it does no longer use the magic word "Ada". Also the SPI property clock divider changed from 1MHz to 2MHz.
I have the exact same problem (LEDstream and colorswirl working but boblight-constant isnt).
Unfortunately the .pde from above doesnt change anything for me. Does anyone know how to fix this on linux?

After all the issue was with my config file. I append it here for others to cross-reference theirs.

Code:
#[global]
interface    127.0.0.1
port        19333

#[device]
#name        ambilight
#output     /dev/ttyACM0
#channels    300
#type        momo
#interval    10000
#prefix    41 64 61 00 63 36
#postfix        A5
#rate        500000
#delayafteropen 100000

[device]
name           ambilight
type             momo
output          /dev/ttyACM0
channels     303
prefix        41 64 61 00 63 36
interval        10000
rate             115200
debug          off #turn this on to see what it's doing with the serial port
delayafteropen    1000000


[color]
name        red
rgb            FF0000
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            0000FF
gamma        0.95
adjust        0.8
blacklevel    0.0

[light]
name        001
color        red     ambilight 1
color        green     ambilight 2
color        blue     ambilight 3
hscan        0 10
vscan        90 95

[light]
name        002
color        red     ambilight 4
color        green     ambilight 5
color        blue     ambilight 6
hscan        0 10
vscan        85 90

[light]
name        003
color        red     ambilight 7
color        green     ambilight 8
color        blue     ambilight 9
hscan        0 10
vscan        80 85

[light]
name        004
color        red     ambilight 10
color        green     ambilight 11
color        blue     ambilight 12
hscan        0 10
vscan        76 80

[light]
name        005
color        red     ambilight 13
color        green     ambilight 14
color        blue     ambilight 15
hscan        0 10
vscan        71 76

[light]
name        006
color        red     ambilight 16
color        green     ambilight 17
color        blue     ambilight 18
hscan        0 10
vscan        66 71

[light]
name        007
color        red     ambilight 19
color        green     ambilight 20
color        blue     ambilight 21
hscan        0 10
vscan        61 66

[light]
name        008
color        red     ambilight 22
color        green     ambilight 23
color        blue     ambilight 24
hscan        0 10
vscan        57 61

[light]
name        009
color        red     ambilight 25
color        green     ambilight 26
color        blue     ambilight 27
hscan        0 10
vscan        52 57

[light]
name        010
color        red     ambilight 28
color        green     ambilight 29
color        blue     ambilight 30
hscan        0 10
vscan        47 52

[light]
name        011
color        red     ambilight 31
color        green     ambilight 32
color        blue     ambilight 33
hscan        0 10
vscan        42 47

[light]
name        012
color        red     ambilight 34
color        green     ambilight 35
color        blue     ambilight 36
hscan        0 10
vscan        38 42

[light]
name        013
color        red     ambilight 37
color        green     ambilight 38
color        blue     ambilight 39
hscan        0 10
vscan        33 38

[light]
name        014
color        red     ambilight 40
color        green     ambilight 41
color        blue     ambilight 42
hscan        0 10
vscan        28 33

[light]
name        015
color        red     ambilight 43
color        green     ambilight 44
color        blue     ambilight 45
hscan        0 10
vscan        23 28

[light]
name        016
color        red     ambilight 46
color        green     ambilight 47
color        blue     ambilight 48
hscan        0 10
vscan        19 23

[light]
name        017
color        red     ambilight 49
color        green     ambilight 50
color        blue     ambilight 51
hscan        0 10
vscan        14 19

[light]
name        018
color        red     ambilight 52
color        green     ambilight 53
color        blue     ambilight 54
hscan        0 10
vscan        9 14

[light]
name        019
color        red     ambilight 55
color        green     ambilight 56
color        blue     ambilight 57
hscan        0 10
vscan        4 9

[light]
name        020
color        red     ambilight 58
color        green     ambilight 59
color        blue     ambilight 60
hscan        0 10
vscan        0 4

[light]
name        021
color        red     ambilight 61
color        green     ambilight 62
color        blue     ambilight 63
hscan        3 6
vscan        0 20

[light]
name        022
color        red     ambilight 64
color        green     ambilight 65
color        blue     ambilight 66
hscan        6 9
vscan        0 20

[light]
name        023
color        red     ambilight 67
color        green     ambilight 68
color        blue     ambilight 69
hscan        9 12
vscan        0 20

[light]
name        024
color        red     ambilight 70
color        green     ambilight 71
color        blue     ambilight 72
hscan        12 16
vscan        0 20

[light]
name        025
color        red     ambilight 73
color        green     ambilight 74
color        blue     ambilight 75
hscan        16 19
vscan        0 20

[light]
name        026
color        red     ambilight 76
color        green     ambilight 77
color        blue     ambilight 78
hscan        19 22
vscan        0 20

[light]
name        027
color        red     ambilight 79
color        green     ambilight 80
color        blue     ambilight 81
hscan        22 25
vscan        0 20

[light]
name        028
color        red     ambilight 82
color        green     ambilight 83
color        blue     ambilight 84
hscan        25 29
vscan        0 20

[light]
name        029
color        red     ambilight 85
color        green     ambilight 86
color        blue     ambilight 87
hscan        29 32
vscan        0 20

[light]
name        030
color        red     ambilight 88
color        green     ambilight 89
color        blue     ambilight 90
hscan        32 35
vscan        0 20

[light]
name        031
color        red     ambilight 91
color        green     ambilight 92
color        blue     ambilight 93
hscan        35 38
vscan        0 20

[light]
name        032
color        red     ambilight 94
color        green     ambilight 95
color        blue     ambilight 96
hscan        38 41
vscan        0 20

[light]
name        033
color        red     ambilight 97
color        green     ambilight 98
color        blue     ambilight 99
hscan        41 45
vscan        0 20

[light]
name        034
color        red     ambilight 100
color        green     ambilight 101
color        blue     ambilight 102
hscan        45 48
vscan        0 20

[light]
name        035
color        red     ambilight 103
color        green     ambilight 104
color        blue     ambilight 105
hscan        48 51
vscan        0 20

[light]
name        036
color        red     ambilight 106
color        green     ambilight 107
color        blue     ambilight 108
hscan        51 54
vscan        0 20

[light]
name        037
color        red     ambilight 109
color        green     ambilight 110
color        blue     ambilight 111
hscan        54 58
vscan        0 20

[light]
name        038
color        red     ambilight 112
color        green     ambilight 113
color        blue     ambilight 114
hscan        58 61
vscan        0 20

[light]
name        039
color        red     ambilight 115
color        green     ambilight 116
color        blue     ambilight 117
hscan        61 64
vscan        0 20

[light]
name        040
color        red     ambilight 118
color        green     ambilight 119
color        blue     ambilight 120
hscan        64 67
vscan        0 20

[light]
name        041
color        red     ambilight 121
color        green     ambilight 122
color        blue     ambilight 123
hscan        67 70
vscan        0 20

[light]
name        042
color        red     ambilight 124
color        green     ambilight 125
color        blue     ambilight 126
hscan        70 74
vscan        0 20

[light]
name        043
color        red     ambilight 127
color        green     ambilight 128
color        blue     ambilight 129
hscan        74 77
vscan        0 20

[light]
name        044
color        red     ambilight 130
color        green     ambilight 131
color        blue     ambilight 132
hscan        77 80
vscan        0 20

[light]
name        045
color        red     ambilight 133
color        green     ambilight 134
color        blue     ambilight 135
hscan        80 83
vscan        0 20

[light]
name        046
color        red     ambilight 136
color        green     ambilight 137
color        blue     ambilight 138
hscan        83 87
vscan        0 20

[light]
name        047
color        red     ambilight 139
color        green     ambilight 140
color        blue     ambilight 141
hscan        87 90
vscan        0 20

[light]
name        048
color        red     ambilight 142
color        green     ambilight 143
color        blue     ambilight 144
hscan        90 93
vscan        0 20

[light]
name        049
color        red     ambilight 145
color        green     ambilight 146
color        blue     ambilight 147
hscan        93 96
vscan        0 20

[light]
name        050
color        red     ambilight 148
color        green     ambilight 149
color        blue     ambilight 150
hscan        96 100
vscan        0 20

[light]
name        051
color        red     ambilight 151
color        green     ambilight 152
color        blue     ambilight 153
hscan        90 100
vscan        4 9

[light]
name        052
color        red     ambilight 154
color        green     ambilight 155
color        blue     ambilight 156
hscan        90 100
vscan        9 14

[light]
name        053
color        red     ambilight 157
color        green     ambilight 158
color        blue     ambilight 159
hscan        90 100
vscan        14 19

[light]
name        054
color        red     ambilight 160
color        green     ambilight 161
color        blue     ambilight 162
hscan        90 100
vscan        19 23

[light]
name        055
color        red     ambilight 163
color        green     ambilight 164
color        blue     ambilight 165
hscan        90 100
vscan        23 28

[light]
name        056
color        red     ambilight 166
color        green     ambilight 167
color        blue     ambilight 168
hscan        90 100
vscan        28 33

[light]
name        057
color        red     ambilight 169
color        green     ambilight 170
color        blue     ambilight 171
hscan        90 100
vscan        33 38

[light]
name        058
color        red     ambilight 172
color        green     ambilight 173
color        blue     ambilight 174
hscan        90 100
vscan        38 42

[light]
name        059
color        red     ambilight 175
color        green     ambilight 176
color        blue     ambilight 177
hscan        90 100
vscan        42 47

[light]
name        060
color        red     ambilight 178
color        green     ambilight 179
color        blue     ambilight 180
hscan        90 100
vscan        47 52

[light]
name        061
color        red     ambilight 181
color        green     ambilight 182
color        blue     ambilight 183
hscan        90 100
vscan        52 57

[light]
name        062
color        red     ambilight 184
color        green     ambilight 185
color        blue     ambilight 186
hscan        90 100
vscan        57 61

[light]
name        063
color        red     ambilight 187
color        green     ambilight 188
color        blue     ambilight 189
hscan        90 100
vscan        61 66

[light]
name        064
color        red     ambilight 190
color        green     ambilight 191
color        blue     ambilight 192
hscan        90 100
vscan        66 71

[light]
name        065
color        red     ambilight 193
color        green     ambilight 194
color        blue     ambilight 195
hscan        90 100
vscan        71 76

[light]
name        066
color        red     ambilight 196
color        green     ambilight 197
color        blue     ambilight 198
hscan        90 100
vscan        76 80

[light]
name        067
color        red     ambilight 199
color        green     ambilight 200
color        blue     ambilight 201
hscan        90 100
vscan        80 85

[light]
name        068
color        red     ambilight 202
color        green     ambilight 203
color        blue     ambilight 204
hscan        90 100
vscan        85 90

[light]
name        069
color        red     ambilight 205
color        green     ambilight 206
color        blue     ambilight 207
hscan        90 100
vscan        90 95

[light]
name        070
color        red     ambilight 208
color        green     ambilight 209
color        blue     ambilight 210
hscan        90 100
vscan        95 100

[light]
name        071
color        red     ambilight 211
color        green     ambilight 212
color        blue     ambilight 213
hscan        93 96
vscan        80 100

[light]
name        072
color        red     ambilight 214
color        green     ambilight 215
color        blue     ambilight 216
hscan        90 93
vscan        80 100

[light]
name        073
color        red     ambilight 217
color        green     ambilight 218
color        blue     ambilight 219
hscan        87 90
vscan        80 100

[light]
name        074
color        red     ambilight 220
color        green     ambilight 221
color        blue     ambilight 222
hscan        83 87
vscan        80 100

[light]
name        075
color        red     ambilight 223
color        green     ambilight 224
color        blue     ambilight 225
hscan        80 83
vscan        80 100

[light]
name        076
color        red     ambilight 226
color        green     ambilight 227
color        blue     ambilight 228
hscan        77 80
vscan        80 100

[light]
name        077
color        red     ambilight 229
color        green     ambilight 230
color        blue     ambilight 231
hscan        74 77
vscan        80 100

[light]
name        078
color        red     ambilight 232
color        green     ambilight 233
color        blue     ambilight 234
hscan        70 74
vscan        80 100

[light]
name        079
color        red     ambilight 235
color        green     ambilight 236
color        blue     ambilight 237
hscan        67 70
vscan        80 100

[light]
name        080
color        red     ambilight 238
color        green     ambilight 239
color        blue     ambilight 240
hscan        64 67
vscan        80 100

[light]
name        081
color        red     ambilight 241
color        green     ambilight 242
color        blue     ambilight 243
hscan        61 64
vscan        80 100

[light]
name        082
color        red     ambilight 244
color        green     ambilight 245
color        blue     ambilight 246
hscan        58 61
vscan        80 100

[light]
name        083
color        red     ambilight 247
color        green     ambilight 248
color        blue     ambilight 249
hscan        54 58
vscan        80 100

[light]
name        084
color        red     ambilight 250
color        green     ambilight 251
color        blue     ambilight 252
hscan        51 54
vscan        80 100

[light]
name        085
color        red     ambilight 253
color        green     ambilight 254
color        blue     ambilight 255
hscan        48 51
vscan        80 100

[light]
name        086
color        red     ambilight 256
color        green     ambilight 257
color        blue     ambilight 258
hscan        45 48
vscan        80 100

[light]
name        087
color        red     ambilight 259
color        green     ambilight 260
color        blue     ambilight 261
hscan        41 45
vscan        80 100

[light]
name        088
color        red     ambilight 262
color        green     ambilight 263
color        blue     ambilight 264
hscan        38 41
vscan        80 100

[light]
name        089
color        red     ambilight 265
color        green     ambilight 266
color        blue     ambilight 267
hscan        35 38
vscan        80 100

[light]
name        090
color        red     ambilight 268
color        green     ambilight 269
color        blue     ambilight 270
hscan        32 35
vscan        80 100

[light]
name        091
color        red     ambilight 271
color        green     ambilight 272
color        blue     ambilight 273
hscan        29 32
vscan        80 100

[light]
name        092
color        red     ambilight 274
color        green     ambilight 275
color        blue     ambilight 276
hscan        25 29
vscan        80 100

[light]
name        093
color        red     ambilight 277
color        green     ambilight 278
color        blue     ambilight 279
hscan        22 25
vscan        80 100

[light]
name        094
color        red     ambilight 280
color        green     ambilight 281
color        blue     ambilight 282
hscan        19 22
vscan        80 100

[light]
name        095
color        red     ambilight 283
color        green     ambilight 284
color        blue     ambilight 285
hscan        16 19
vscan        80 100

[light]
name        096
color        red     ambilight 286
color        green     ambilight 287
color        blue     ambilight 288
hscan        12 16
vscan        80 100

[light]
name        097
color        red     ambilight 289
color        green     ambilight 290
color        blue     ambilight 291
hscan        9 12
vscan        80 100

[light]
name        098
color        red     ambilight 292
color        green     ambilight 293
color        blue     ambilight 294
hscan        6 9
vscan        80 100

[light]
name        099
color        red     ambilight 295
color        green     ambilight 296
color        blue     ambilight 297
hscan        3 6
vscan        80 100

[light]
name        100
color        red     ambilight 298
color        green     ambilight 299
color        blue     ambilight 300
hscan        0 3
vscan        80 100
[/quote]