Windows - HOW-TO setup Boblight for Windows and Boblight XBMC

  Thread Rating:
  • 6 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
briefer Offline
Junior Member
Posts: 7
Joined: Jul 2009
Reputation: 0
Post: #16
Hi,

thank you for the exe, but I get the following error:

C:\boblightd>(CConfig::CheckConfig) config lines valid
(CConfig::BuildConfig) building config
(CConfig::BuildDeviceConfig) ERROR: c:\boblightd\boblight.conf line 9: boblig
htd was built without spi, no support for lpd8806 devices


I was able to compile the exe myself, but I saw a similar error when I compiled it: The library Linux/spi is needed to support LP8806 led devices.
My LED strip is a ws2801, btw.

Any clue of how to add this library? I could not find it in the cygwin sources.

Cheers!
find quote
TeKo Offline
Posting Freak
Posts: 964
Joined: Dec 2011
Reputation: 11
Post: #17
upload your boblight.conf please.

Or just post the first part until the lights section.
find quote
briefer Offline
Junior Member
Posts: 7
Joined: Jul 2009
Reputation: 0
Post: #18
There it goes:

[global]
interface 127.0.0.1
port 19333

[device]
name ambilight
output /dev/ttyS2
channels 15
type ws2801
interval 20000
rate 38400
prefix 55 AA
debug on

#arduino bootloader runs when opening the serial port for the first time
#delay transmission one second after opening so we don't send shit to the bootloader
delayafteropen 1000000
#debug on

[color]
name red
rgb FF0000

[color]
name green
rgb 00FF00

[color]
name blue
rgb 0000FF
(This post was last modified: 2013-03-27 08:43 by briefer.)
find quote
ramouch0 Offline
Junior Member
Posts: 27
Joined: May 2012
Reputation: 0
Post: #19
Your device type is not right. ws2801 is only for direct LED driving via GPIO of rasperryPi.
Use momo for arduino/adalight
Code:
type      momo
find quote
briefer Offline
Junior Member
Posts: 7
Joined: Jul 2009
Reputation: 0
Post: #20
I have changed my momo setup for ws2801 led strips. That's why I want to change my .conf setup.

I have ordered a Raspberry board. But while I wait for it, I wanted to test if this setup (xbmc for windows + boblight + ws2801) works.
find quote
TeKo Offline
Posting Freak
Posts: 964
Joined: Dec 2011
Reputation: 11
Post: #21
But you are using an Arduino to control the LEDs right? Are you using the Adalight software?

Arduino yes/no?
Software?
How many LEDs?
How connected to your windows machine?
(This post was last modified: 2013-03-27 14:08 by TeKo.)
find quote
ijourneaux Offline
Fan
Posts: 536
Joined: Mar 2009
Reputation: 3
Location: Wisconsin, USA
Post: #22
Is there a version that can be compiled with visual studio? Would like to work on a solution for the ARFX led controller
find quote
TeKo Offline
Posting Freak
Posts: 964
Joined: Dec 2011
Reputation: 11
Post: #23
(2013-03-28 19:04)ijourneaux Wrote:  Is there a version that can be compiled with visual studio? Would like to work on a solution for the ARFX led controller

I think the only version available is the one on the googlecode page.
find quote
gsjosh Offline
Junior Member
Posts: 26
Joined: Jan 2010
Reputation: 0
Post: #24
Thank you TeKo! It worked! I had a broken configuration since I updated XMBC but now it's working again. It must have been something with the version of boblight I was running.

I'm running:

Windows 7 64x
Arduino UNO with LEDstream.pde
50 WS2801 LEDs
Your version of boblight (which version is this anyway?)
XMBC 12.1
boblight add-on 2.0.4

In case you are thinking of making an even better config-generator, I think the one built in AmbiBox is brilliant. The best one I've seen so far. You should check it out.
(This post was last modified: 2013-05-01 14:49 by gsjosh.)
find quote
TeKo Offline
Posting Freak
Posts: 964
Joined: Dec 2011
Reputation: 11
Post: #25
Its always the latest version from the project page.
find quote
gsjosh Offline
Junior Member
Posts: 26
Joined: Jan 2010
Reputation: 0
Post: #26
(2013-05-01 15:43)TeKo Wrote:  Its always the latest version from the project page.
Interesting, because earlier the only way to get mine working was to run a batch script that would first start an older version of boblight to initialise the connection. After that I would be able to run the latest version, but it would never work if I would start the latest version straight away. Anyway, it works now.
find quote
TeKo Offline
Posting Freak
Posts: 964
Joined: Dec 2011
Reputation: 11
Post: #27
yea levimadman posted this here its one line in the .bat that "opens" the com before running boblight.

Quote:In case you are thinking of making an even better config-generator, I think the one built in AmbiBox is brilliant. The best one I've seen so far. You should check it out.

You mean that you see the zones on the screen?
(This post was last modified: 2013-05-02 17:40 by TeKo.)
find quote
gsjosh Offline
Junior Member
Posts: 26
Joined: Jan 2010
Reputation: 0
Post: #28
It's a pity it worked for just one day... I updated my graphics drivers and fooled around with some other things on my HTPC and now the configuration is broken again. Boblight launches nicely with the .bat, flashing RGB, XBMC addon connects like normal but no lights working. Same problem as before.

I will soon do a fresh install, including recompiling the LEDstream.pde to my Arduino UNO. Just to be sure, an unmodified LEDstream.pde from Adalight should work, right?
find quote
TeKo Offline
Posting Freak
Posts: 964
Joined: Dec 2011
Reputation: 11
Post: #29
Yea Im using the one from adalight just removed the startup color swirl.
find quote
pseudoheld Offline
Senior Member
Posts: 109
Joined: Dec 2008
Reputation: 0
Post: #30
I can't get boblight to work!
im running on windows 8 with 50 ws2801 hooked up to an arduino uno.
when i start boblight the colorswirl goes of and it says setup succeeded but after that i can't get it working. neither via xbmc plugin or via bobdroid.

here is my boblight.conf
i set the output to com3 (which is correct)
is the channels and type correct?

Code:
#[global]
interface    127.0.0.1
port        19333

[device]
name        ambilight
output     /dev/com3
channels    150
type        atmo
interval    10000
prefix        FF
rate        115200

[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            50
color           red     ambilight 148
color           green   ambilight 149
color           blue    ambilight 150
hscan           0 4.17
vscan           92.86 100

[light]
name            49
color           red     ambilight 145
color           green   ambilight 146
color           blue    ambilight 147
hscan           0 4.17
vscan           85.71 92.86

[light]
name            48
color           red     ambilight 142
color           green   ambilight 143
color           blue    ambilight 144
hscan           0 4.17
vscan           78.57 85.71

[light]
name            47
color           red     ambilight 139
color           green   ambilight 140
color           blue    ambilight 141
hscan           0 4.17
vscan           71.43 78.57

[light]
name            46
color           red     ambilight 136
color           green   ambilight 137
color           blue    ambilight 138
hscan           0 4.17
vscan           64.29 71.43

[light]
name            45
color           red     ambilight 133
color           green   ambilight 134
color           blue    ambilight 135
hscan           0 4.17
vscan           57.14 64.29

[light]
name            44
color           red     ambilight 130
color           green   ambilight 131
color           blue    ambilight 132
hscan           0 4.17
vscan           50 57.14

[light]
name            43
color           red     ambilight 127
color           green   ambilight 128
color           blue    ambilight 129
hscan           0 4.17
vscan           42.86 50

[light]
name            42
color           red     ambilight 124
color           green   ambilight 125
color           blue    ambilight 126
hscan           0 4.17
vscan           35.72 42.86

[light]
name            41
color           red     ambilight 121
color           green   ambilight 122
color           blue    ambilight 123
hscan           0 4.17
vscan           28.57 35.72

[light]
name            40
color           red     ambilight 118
color           green   ambilight 119
color           blue    ambilight 120
hscan           0 4.17
vscan           21.43 28.57

[light]
name            39
color           red     ambilight 115
color           green   ambilight 116
color           blue    ambilight 117
hscan           0 4.17
vscan           14.29 21.43

[light]
name            38
color           red     ambilight 112
color           green   ambilight 113
color           blue    ambilight 114
hscan           0 4.17
vscan           7.15 14.29

[light]
name            37
color           red     ambilight 109
color           green   ambilight 110
color           blue    ambilight 111
hscan           0 4.17
vscan           0 7.14

[light]
name            36
color           red     ambilight 106
color           green   ambilight 107
color           blue    ambilight 108
hscan           4.17 8.33
vscan           0 7.14

[light]
name            35
color           red     ambilight 103
color           green   ambilight 104
color           blue    ambilight 105
hscan           8.33 12.5
vscan           0 7.14

[light]
name            34
color           red     ambilight 100
color           green   ambilight 101
color           blue    ambilight 102
hscan           12.5 16.67
vscan           0 7.14

[light]
name            33
color           red     ambilight 97
color           green   ambilight 98
color           blue    ambilight 99
hscan           16.67 20.83
vscan           0 7.14

[light]
name            32
color           red     ambilight 94
color           green   ambilight 95
color           blue    ambilight 96
hscan           20.83 25
vscan           0 7.14

[light]
name            31
color           red     ambilight 91
color           green   ambilight 92
color           blue    ambilight 93
hscan           25 29.17
vscan           0 7.14

[light]
name            30
color           red     ambilight 88
color           green   ambilight 89
color           blue    ambilight 90
hscan           29.17 33.33
vscan           0 7.14

[light]
name            29
color           red     ambilight 85
color           green   ambilight 86
color           blue    ambilight 87
hscan           33.33 37.5
vscan           0 7.14

[light]
name            28
color           red     ambilight 82
color           green   ambilight 83
color           blue    ambilight 84
hscan           37.5 41.67
vscan           0 7.14

[light]
name            27
color           red     ambilight 79
color           green   ambilight 80
color           blue    ambilight 81
hscan           41.67 45.83
vscan           0 7.14

[light]
name            26
color           red     ambilight 76
color           green   ambilight 77
color           blue    ambilight 78
hscan           45.83 50
vscan           0 7.14

[light]
name            25
color           red     ambilight 73
color           green   ambilight 74
color           blue    ambilight 75
hscan           50 54.17
vscan           0 7.14

[light]
name            24
color           red     ambilight 70
color           green   ambilight 71
color           blue    ambilight 72
hscan           54.17 58.33
vscan           0 7.14

[light]
name            23
color           red     ambilight 67
color           green   ambilight 68
color           blue    ambilight 69
hscan           58.33 62.5
vscan           0 7.14

[light]
name            22
color           red     ambilight 64
color           green   ambilight 65
color           blue    ambilight 66
hscan           62.5 66.67
vscan           0 7.14

[light]
name            21
color           red     ambilight 61
color           green   ambilight 62
color           blue    ambilight 63
hscan           66.67 70.83
vscan           0 7.14

[light]
name            20
color           red     ambilight 58
color           green   ambilight 59
color           blue    ambilight 60
hscan           70.83 75
vscan           0 7.14

[light]
name            19
color           red     ambilight 55
color           green   ambilight 56
color           blue    ambilight 57
hscan           75 79.17
vscan           0 7.14

[light]
name            18
color           red     ambilight 52
color           green   ambilight 53
color           blue    ambilight 54
hscan           79.17 83.33
vscan           0 7.14

[light]
name            17
color           red     ambilight 49
color           green   ambilight 50
color           blue    ambilight 51
hscan           83.33 87.5
vscan           0 7.14

[light]
name            16
color           red     ambilight 46
color           green   ambilight 47
color           blue    ambilight 48
hscan           87.5 91.67
vscan           0 7.14

[light]
name            15
color           red     ambilight 43
color           green   ambilight 44
color           blue    ambilight 45
hscan           91.67 95.83
vscan           0 7.14

[light]
name            14
color           red     ambilight 40
color           green   ambilight 41
color           blue    ambilight 42
hscan           95.83 100
vscan           0 7.14

[light]
name            13
color           red     ambilight 37
color           green   ambilight 38
color           blue    ambilight 39
hscan           95.83 100
vscan           7.14 14.29

[light]
name            12
color           red     ambilight 34
color           green   ambilight 35
color           blue    ambilight 36
hscan           95.83 100
vscan           14.29 21.43

[light]
name            11
color           red     ambilight 31
color           green   ambilight 32
color           blue    ambilight 33
hscan           95.83 100
vscan           21.43 28.57

[light]
name            10
color           red     ambilight 28
color           green   ambilight 29
color           blue    ambilight 30
hscan           95.83 100
vscan           28.57 35.71

[light]
name            9
color           red     ambilight 25
color           green   ambilight 26
color           blue    ambilight 27
hscan           95.83 100
vscan           35.71 42.86

[light]
name            8
color           red     ambilight 22
color           green   ambilight 23
color           blue    ambilight 24
hscan           95.83 100
vscan           42.86 50

[light]
name            7
color           red     ambilight 19
color           green   ambilight 20
color           blue    ambilight 21
hscan           95.83 100
vscan           50 57.14

[light]
name            6
color           red     ambilight 16
color           green   ambilight 17
color           blue    ambilight 18
hscan           95.83 100
vscan           57.14 64.28

[light]
name            5
color           red     ambilight 13
color           green   ambilight 14
color           blue    ambilight 15
hscan           95.83 100
vscan           64.28 71.43

[light]
name            4
color           red     ambilight 10
color           green   ambilight 11
color           blue    ambilight 12
hscan           95.83 100
vscan           71.43 78.57

[light]
name            3
color           red     ambilight 7
color           green   ambilight 8
color           blue    ambilight 9
hscan           95.83 100
vscan           78.57 85.71

[light]
name            2
color           red     ambilight 4
color           green   ambilight 5
color           blue    ambilight 6
hscan           95.83 100
vscan           85.71 92.85

[light]
name            1
color           red     ambilight 1
color           green   ambilight 2
color           blue    ambilight 3
hscan           95.83 100
vscan           92.85 100

also here is the output of the boblight window with me starting xbmc (xbmc saying boblight connected) and then starting a movie...

[Image: 4ZfMSGV.png]

any ideas whats wrongConfused
find quote
Post Reply