You did not start withalpini wrote:Anyone.....
I did go to:
To compile use this howto.
https://github.com/Speedy1985/boblightd ... to-compile
Did in ssh:
sudo apt-get install make gcc g++ git libboost-dev libtool
DONE
alpini wrote:Hi,
did:
sudo initctl stop xbmc
sudo apt-get update
But still no luck after doing: cd ~
Please give me step by step the lines that i have to do in ssh
Realy dont know how to fix this problem.
Code: Select all
[global]
interface 127.0.0.1
port 19333
[device]
name ambilight
type ws2801
output /dev/spidev0.0
rate 115200
channels 150
interval 10000
prefix 41 64 61 00 31 64
delayafteropen 1000000
[color]
name red
rgb FF0000
gamma 1.0
adjust 1.0
blacklevel 0.0
[color]
name green
rgb 00FF00
gamma 1.0
adjust 1.0
blacklevel 0.0
[color]
name blue
rgb 0000FF
gamma 1.0
adjust 1.0
blacklevel 0.0
[light]
name xx1
color red ambilight 1
color green ambilight 2
color blue ambilight 3
hscan 50 60
vscan 88 100
and so on
Is this problem also when you play a movie ?Rusakko wrote:Hi I have some problems with boblight, maybe you can help me.
I ordered http://www.ebay.co.uk/itm/230873716903? ... 1497.l2649 this and as it says 0.02A in every led I calculated 1A for total. So I'm using 5V 1.2A power. I connected cables as it was instructed in https://dl.dropboxusercontent.com/u/688 ... tware.html, White - DAT - pin 19, Green - CLK - pin 23, Blue - GND - pin 6. And power to power cables. Other end of led strip is untouched. I have fresh raspbmc card and I compiled Speedys stuff as instructed in https://github.com/Speedy1985/boblightd ... to-compile. No problems there I suppose. Boblightd runs as expected but when I try to run boblight-constant 00ff00 nothing happens. Any ideas how to solve? I'm willing to try anything
My conf file is as follows. Maybe problem is in my conf file. At one point I got 3-4 light on from the other end, but not anymore. Can it make any difference that I'm running this on first revision raspberry with only 265Mb memory.
Code: Select all
[global] interface 127.0.0.1 port 19333 [device] name ambilight type ws2801 output /dev/spidev0.0 rate 115200 channels 150 interval 10000 prefix 41 64 61 00 31 64 delayafteropen 1000000 [color] name red rgb FF0000 gamma 1.0 adjust 1.0 blacklevel 0.0 [color] name green rgb 00FF00 gamma 1.0 adjust 1.0 blacklevel 0.0 [color] name blue rgb 0000FF gamma 1.0 adjust 1.0 blacklevel 0.0 [light] name xx1 color red ambilight 1 color green ambilight 2 color blue ambilight 3 hscan 50 60 vscan 88 100 and so on
try with my config file:Rusakko wrote:I haven't tried the movie yet, just constant light as i tought it would be nice to get lights working first. Should i try movie too? Is my conf file ok
Did not work. I tried to flash raspbmc again and compiled again as described.davisdmg wrote:try with my config file:Rusakko wrote:I haven't tried the movie yet, just constant light as i tought it would be nice to get lights working first. Should i try movie too? Is my conf file ok
https://www.dropbox.com/s/xy423w6kj76ldwq/boblight.conf
Remember to change type to ws2801
and output to spidev0.0
actually it's the last led that lights, not the firstRusakko wrote:Did not work. I tried to flash raspbmc again and compiled again as described.davisdmg wrote:try with my config file:Rusakko wrote:I haven't tried the movie yet, just constant light as i tought it would be nice to get lights working first. Should i try movie too? Is my conf file ok
https://www.dropbox.com/s/xy423w6kj76ldwq/boblight.conf
Remember to change type to ws2801
and output to spidev0.0
First led lights when I connect power. But I can not control even the color of that one led. If I tap the cables, led changes the color and flickers but does not stay in any color but light blue, nearly white.
Is there any difference which end of the cables I connect to raspberry? And only one end should be connected, right?
boblightd is running and displays setup succeeded when I start it. And boblight-constant says connection opened when I run it, and that is the last line and then it stays there until I stop it by pressing ctrl+c.
Any ideas, is there a way to light all led with out raspberry, should they light when power is connected.
Yes there is a difference each cable has an data in and a data out side (SDI and SCL).Is there any difference which end of the cables I connect to raspberry? And only one end should be connected, right?
NietGiftig wrote:Yes there is a difference each cable has an data in and a data out side (SDI and SCL).Is there any difference which end of the cables I connect to raspberry? And only one end should be connected, right?
The + and ground are on both sides the same.
Witch side and witch colors you have to find via your reseller or if that is not possible, Google is your friend
http://lmgtfy.com/?q=ws2801+color+code+stripe
Apparently I did not read that too carefully and missed the input sideConnector wires: White- DAT, Green-CLK, Blue- GND
Naked wires: Red- power supply "+"5V , Blue- power supply "-"(GND) 5V
Input: female side(IC side)
Hi Speedy1985, any update on this?Speedy1985 wrote:Hi, i am now busy to mod the orginal xbmc-addon to PiBob
But on this moment there is a error in the code.
I will fix this error soon.
See code and howto install :
https://github.com/Speedy1985/boblight- ... -raspberry
https://github.com/Speedy1985/boblight- ... berry/wiki
Kind regards Speedy1985
Now now the lights are on. I had the wrong end of cables. Thank you all. Next video and moded xbmcRusakko wrote:NietGiftig wrote:Yes there is a difference each cable has an data in and a data out side (SDI and SCL).Is there any difference which end of the cables I connect to raspberry? And only one end should be connected, right?
The + and ground are on both sides the same.
Witch side and witch colors you have to find via your reseller or if that is not possible, Google is your friend
http://lmgtfy.com/?q=ws2801+color+code+stripeApparently I did not read that too carefully and missed the input sideConnector wires: White- DAT, Green-CLK, Blue- GND
Naked wires: Red- power supply "+"5V , Blue- power supply "-"(GND) 5V
Input: female side(IC side)
So I have to try another end tomorrow, I think I chose the wrong side
And the video works fine. Great.Rusakko wrote:Now now the lights are on. I had the wrong end of cables. Thank you all. Next video and moded xbmcRusakko wrote:NietGiftig wrote:
Yes there is a difference each cable has an data in and a data out side (SDI and SCL).
The + and ground are on both sides the same.
Witch side and witch colors you have to find via your reseller or if that is not possible, Google is your friend
http://lmgtfy.com/?q=ws2801+color+code+stripeApparently I did not read that too carefully and missed the input sideConnector wires: White- DAT, Green-CLK, Blue- GND
Naked wires: Red- power supply "+"5V , Blue- power supply "-"(GND) 5V
Input: female side(IC side)
So I have to try another end tomorrow, I think I chose the wrong side
Code: Select all
19:18:02 T:2762994752 NOTICE: AddOnLog: Tvheadend HTSP Client: CHTSPConnection - SendGreeting - connection opened to 'HTS Tvheadend 3.3.525~g8e08c9d~precise', protocol v10 (timeshift enabled)
19:18:02 T:2744161344 NOTICE: Thread PVR GUI info updater start, auto delete: false
19:19:13 T:2864604224 NOTICE: Thread Jobworker start, auto delete: true
19:19:13 T:2843604032 NOTICE: Thread PVR Channel Window start, auto delete: false
19:19:14 T:2776495168 NOTICE: Thread Background Loader start, auto delete: false
19:19:16 T:3037687808 NOTICE: COMXPlayer: Opening: pvr://recordings///Springwatch 2013, TV (BBC TWO), 20130530_190000.pvr
19:19:16 T:3037687808 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
19:19:16 T:2776495168 NOTICE: Thread COMXPlayer start, auto delete: false
19:19:16 T:2776495168 NOTICE: Creating InputStream
19:19:16 T:2776495168 NOTICE: Creating Demuxer
19:19:17 T:2776495168 NOTICE: Opening video stream: 0 source: 256
19:19:17 T:2776495168 ERROR: Zeile x = enabled=true
19:19:17 T:2776495168 ERROR: Zeile x = host=localhost
19:19:17 T:2776495168 ERROR: Gefundener Host = localhost
19:19:17 T:2776495168 ERROR: Zeile x = port=19333
19:19:17 T:2776495168 ERROR: Zeile x = priority=128
19:19:17 T:2776495168 ERROR: Zeile x = sizedown=112
19:19:17 T:2776495168 ERROR: Zeile x = margin=5
19:19:17 T:2776495168 ERROR: Zeile x = timeout=35
19:19:17 T:2776495168 ERROR: Zeile x = interpolation=0
19:19:17 T:2776495168 ERROR: Zeile x = speed=100
19:19:17 T:2776495168 ERROR: Zeile x = autospeed=0
19:19:17 T:2776495168 ERROR: Zeile x = saturation=1.0
19:19:17 T:2776495168 ERROR: Zeile x = threshold=15
19:19:17 T:2776495168 ERROR: Verbinde zu Host = localhost auf Port: 19333
19:19:17 T:2776495168 NOTICE: OMXClock using video as reference
19:19:17 T:2776495168 NOTICE: Creating video thread
19:19:17 T:2705269824 NOTICE: Thread COMXPlayerVideo start, auto delete: false
19:19:17 T:2776495168 NOTICE: Opening audio stream: 1 source: 256
19:19:17 T:2776495168 NOTICE: Creating audio thread
19:19:17 T:2696881216 NOTICE: Thread COMXPlayerAudio start, auto delete: false
19:19:17 T:2776495168 NOTICE: Opening Subtitle stream: 2 source: 256
19:19:17 T:2705269824 ERROR: Output - renderer not started
19:19:17 T:2696881216 NOTICE: OMXClock using audio as reference
19:19:17 T:2705269824 ERROR: Output - renderer not started
19:19:17 T:2705269824 ERROR: Previous line repeats 6 times.
19:19:17 T:2705269824 NOTICE: Display resolution DESKTOP : 1920x1080 @ 50.00 - Full Screen (16)
19:19:17 T:3037687808 NOTICE: Using GL_TEXTURE_2D
19:19:17 T:3037687808 NOTICE: GL: Using BYPASS render method
19:19:17 T:3037687808 NOTICE: GL: NPOT texture support detected
19:19:19 T:2705269824 WARNING: CRenderManager::FlipPage - timeout waiting for flip to complete
19:19:20 T:2705269824 WARNING: CRenderManager::FlipPage - timeout waiting for previous frame
19:19:28 T:2705269824 WARNING: CRenderManager::FlipPage - timeout waiting for flip to complete
19:19:36 T:2776495168 NOTICE: COMXPlayer::OnExit()
19:19:36 T:2776495168 NOTICE: OMXPlayer: closing audio stream
19:19:36 T:2776495168 NOTICE: Closing audio stream
19:19:36 T:2696881216 NOTICE: thread end: OMXPlayerAudio::OnExit()
19:19:36 T:2776495168 NOTICE: OMXClock using video as reference
19:19:36 T:2776495168 NOTICE: OMXPlayer: closing video stream
19:19:36 T:2776495168 NOTICE: Closing video stream
19:19:36 T:2705269824 NOTICE: thread end: video_thread
19:19:36 T:2776495168 NOTICE: OMXClock using video as reference
19:19:36 T:2776495168 NOTICE: OMXPlayer: closing subtitle stream
19:19:36 T:2776495168 NOTICE: Closing subtitle stream
19:19:36 T:2776495168 NOTICE: COMXPlayer::OnExit() deleting demuxer
19:19:36 T:2776495168 NOTICE: COMXPlayer::OnExit() deleting input stream
19:19:37 T:2776495168 NOTICE: Thread Background Loader start, auto delete: false
19:19:38 T:3037687808 NOTICE: OMXClock using video as reference
19:19:43 T:2776495168 NOTICE: Previous line repeats 1 times.
19:19:43 T:2776495168 NOTICE: Thread Background Loader start, auto delete: false
19:19:46 T:3037687808 NOTICE: COMXPlayer: Opening: pvr://channels/tv/All TV channels/0.pvr
19:19:46 T:3037687808 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
19:19:46 T:2776495168 NOTICE: Thread COMXPlayer start, auto delete: false
19:19:46 T:2776495168 NOTICE: Creating InputStream
19:19:46 T:2776495168 NOTICE: Creating Demuxer
19:19:46 T:2776495168 WARNING: CDVDMessageQueue(audio)::Put MSGQ_NOT_INITIALIZED
19:19:46 T:2776495168 WARNING: CDVDMessageQueue(video)::Put MSGQ_NOT_INITIALIZED
19:19:47 T:2776495168 NOTICE: Opening video stream: 0 source: 256
19:19:47 T:2776495168 ERROR: Zeile x = enabled=true
19:19:47 T:2776495168 ERROR: Zeile x = host=localhost
19:19:47 T:2776495168 ERROR: Gefundener Host = localhost
19:19:47 T:2776495168 ERROR: Zeile x = port=19333
19:19:47 T:2776495168 ERROR: Zeile x = priority=128
19:19:47 T:2776495168 ERROR: Zeile x = sizedown=112
19:19:47 T:2776495168 ERROR: Zeile x = margin=5
19:19:47 T:2776495168 ERROR: Zeile x = timeout=35
19:19:47 T:2776495168 ERROR: Zeile x = interpolation=0
19:19:47 T:2776495168 ERROR: Zeile x = speed=100
19:19:47 T:2776495168 ERROR: Zeile x = autospeed=0
19:19:47 T:2776495168 ERROR: Zeile x = saturation=1.0
19:19:47 T:2776495168 ERROR: Zeile x = threshold=15
19:19:47 T:2776495168 ERROR: Verbinde zu Host = localhost auf Port: 19333
19:19:47 T:2776495168 NOTICE: OMXClock using video as reference
19:19:47 T:2776495168 NOTICE: Creating video thread
19:19:47 T:2696881216 NOTICE: Thread COMXPlayerVideo start, auto delete: false
19:19:47 T:2776495168 NOTICE: Opening audio stream: 1 source: 256
19:19:47 T:2776495168 NOTICE: Creating audio thread
19:19:47 T:2680157248 NOTICE: Thread COMXPlayerAudio start, auto delete: false
19:19:47 T:2776495168 NOTICE: Opening Subtitle stream: 3 source: 256
19:19:47 T:2776495168 NOTICE: Opening video stream: 0 source: 256
19:19:47 T:2776495168 ERROR: Zeile x = enabled=true
19:19:47 T:2776495168 ERROR: Zeile x = host=localhost
19:19:47 T:2776495168 ERROR: Gefundener Host = localhost
19:19:47 T:2776495168 ERROR: Zeile x = port=19333
19:19:47 T:2776495168 ERROR: Zeile x = priority=128
19:19:47 T:2776495168 ERROR: Zeile x = sizedown=112
19:19:47 T:2776495168 ERROR: Zeile x = margin=5
19:19:47 T:2776495168 ERROR: Zeile x = timeout=35
19:19:47 T:2776495168 ERROR: Zeile x = interpolation=0
19:19:47 T:2776495168 ERROR: Zeile x = speed=100
19:19:47 T:2776495168 ERROR: Zeile x = autospeed=0
19:19:47 T:2776495168 ERROR: Zeile x = saturation=1.0
19:19:47 T:2776495168 ERROR: Zeile x = threshold=15
19:19:47 T:2776495168 NOTICE: OMXClock using video as reference
19:19:47 T:2696881216 ERROR: Output - renderer not started
19:19:48 T:2776495168 NOTICE: Opening audio stream: 1 source: 256
19:19:48 T:2680157248 NOTICE: OMXClock using audio as reference
19:19:48 T:2776495168 NOTICE: Opening audio stream: 1 source: 256
19:19:48 T:2696881216 ERROR: Output - renderer not started
19:19:48 T:2696881216 ERROR: Previous line repeats 7 times.
19:19:48 T:2696881216 NOTICE: Display resolution DESKTOP : 1920x1080 @ 50.00 - Full Screen (16)
19:19:48 T:3037687808 NOTICE: Using GL_TEXTURE_2D
19:19:48 T:3037687808 NOTICE: GL: Using BYPASS render method
19:19:48 T:3037687808 NOTICE: GL: NPOT texture support detected
19:20:02 T:2776495168 NOTICE: FlushBuffers: q:0 pts:-4503599627370496 a:1
19:20:02 T:2696881216 NOTICE: OMXClock using audio as reference
19:20:02 T:2776495168 NOTICE: Previous line repeats 1 times.
19:20:02 T:2776495168 NOTICE: PVRManager - PerformChannelSwitch - switched to channel 'BBC TWO'
19:20:02 T:2776495168 NOTICE: Creating Demuxer
19:20:02 T:2776495168 NOTICE: Closing video stream
19:20:02 T:2776495168 NOTICE: CDVDMessageQueue(video)::WaitUntilEmpty
19:20:02 T:2696881216 ERROR: OMXPlayerVideo: Got MSGQ_IS_ERROR(-1) Aborting
19:20:02 T:2696881216 NOTICE: thread end: video_thread
19:20:03 T:2776495168 NOTICE: OMXClock using audio as reference
19:20:03 T:2776495168 NOTICE: Closing audio stream
19:20:03 T:2776495168 NOTICE: CDVDMessageQueue(audio)::WaitUntilEmpty
19:20:03 T:2680157248 NOTICE: thread end: OMXPlayerAudio::OnExit()
Code: Select all
./configure --without-portaudio --without-opengl --without-x11 --prefix=/usr
Code: Select all
./configure --without-portaudio --without-opengl --without-x11 --without-libusb
Code: Select all
speed = 50
autospeed = 25
interpolation on
saturation = 1.10
value = 1.50
threshold = 20
Code: Select all
[global]
interface 0.0.0.0
port 19333
[device]
name ambilight
output /dev/spidev0.0
#output python /home/pi/popen.py
channels 300
#type popen
type ws2801
interval 120000
#prefix 5A B0
#postfix A5
rate 48000
debug off
[color]
name red
rgb FF0000
gamma 1.0
adjust 1.0
blacklevel 0.0
[color]
name green
rgb 00FF00
gamma 1.0
adjust 1.0
blacklevel 0.0
[color]
name blue
rgb 0000FF
gamma 1.0
adjust 1.0
blacklevel 0.0
[light]
name 1
color red ambilight 1
color green ambilight 2
color blue ambilight 3
hscan 46.88 50
vscan 95 100
[light]
name 2
color red ambilight 4
color green ambilight 5
color blue ambilight 6
hscan 43.75 46.88
vscan 95 100
...