timsat / boblight-lightpack Goto Github PK
View Code? Open in Web Editor NEWboblight with Lightpack support
License: GNU General Public License v3.0
boblight with Lightpack support
License: GNU General Public License v3.0
Hello,
I want to inform You about possible bug in Boblight cooperation with 2 Lightpack (mybe other 2 devices also).
My device is:
-DM7020HD
[device]
name ambilight_1st
type lightpack
channels 30
interval 20000
serial A4830363935351708161 #1_st
[color]
name red
rgb FF0000
[color]
name green
rgb 00FF00
[color]
name blue
rgb 0000FF
[light] #left
name 1XX
color red ambilight_1st 1
color green ambilight_1st 2
color blue ambilight_1st 3
hscan 0 15
vscan 66.67 100.0
[light] #left
name 2XX
color red ambilight_1st 4
color green ambilight_1st 5
color blue ambilight_1st 6
hscan 0 15
vscan 33.33 66.67
[light] #left
name 3XX
color red ambilight_1st 7
color green ambilight_1st 8
color blue ambilight_1st 9
hscan 0 15
vscan 0.0 33.33
[light] #top
name 4XX
color red ambilight_1st 10
color green ambilight_1st 11
color blue ambilight_1st 12
hscan 0.0 25.0
vscan 0 15
[light] #top
name 5XX
color red ambilight_1st 13
color green ambilight_1st 14
color blue ambilight_1st 15
hscan 25.0 50.0
vscan 0 15
[light] #top
name 6XX
color red ambilight_1st 16
color green ambilight_1st 17
color blue ambilight_1st 18
hscan 50.0 75.0
vscan 0 15
[light] #top
name 7XX
color red ambilight_1st 19
color green ambilight_1st 20
color blue ambilight_1st 21
hscan 75.0 100.0
vscan 0 15
[light] #right
name 8XX
color red ambilight_1st 22
color green ambilight_1st 23
color blue ambilight_1st 24
hscan 85.0 100
vscan 0.0 33.33
[light] #right
name 9XX
color red ambilight_1st 25
color green ambilight_1st 26
color blue ambilight_1st 27
hscan 85.0 100
vscan 33.33 66.67
[light] #right
name 10X
color red ambilight_1st 28
color green ambilight_1st 29
color blue ambilight_1st 30
hscan 85.0 100
vscan 66.67 100.0
[device]
name ambilight
type lightpack
channels 30
interval 20000
serial A4830363935351B022F0 #2_nd
[color]
name red
rgb FF0000
[color]
name green
rgb 00FF00
[color]
name blue
rgb 0000FF
[light] #left
name 11X
color red ambilight 1
color green ambilight 2
color blue ambilight 3
hscan 0 15
vscan 66.67 100.0
[light] #left
name 12X
color red ambilight 4
color green ambilight 5
color blue ambilight 6
hscan 0 15
vscan 33.33 66.67
[light] #left
name 13X
color red ambilight 7
color green ambilight 8
color blue ambilight 9
hscan 0 15
vscan 0.0 33.33
[light] #top
name 14X
color red ambilight 10
color green ambilight 11
color blue ambilight 12
hscan 0.0 25.0
vscan 0 15
[light] #top
name 15X
color red ambilight 13
color green ambilight 14
color blue ambilight 15
hscan 25.0 50.0
vscan 0 15
[light] #top
name 16X
color red ambilight 16
color green ambilight 17
color blue ambilight 18
hscan 50.0 75.0
vscan 0 15
[light] #top
name 17X
color red ambilight 19
color green ambilight 20
color blue ambilight 21
hscan 75.0 100.0
vscan 0 15
[light] #right
name 18X
color red ambilight 22
color green ambilight 23
color blue ambilight 24
hscan 85.0 100
vscan 0.0 33.33
[light] #right
name 19X
color red ambilight 25
color green ambilight 26
color blue ambilight 27
hscan 85.0 100
vscan 33.33 66.67
[light] #right
name 20X
color red ambilight 28
color green ambilight 29
color blue ambilight 30
hscan 85.0 100
21:53:22.698839 (InitLog) start of log //.boblight/boblightd.log
21:53:22.700051 (PrintFlags) starting /usr/bin/boblightd -f
21:53:22.702270 (CConfig::LoadConfigFromFile) opening /etc/boblight.conf
21:53:22.723564 (CConfig::CheckConfig) checking config lines
21:53:22.758179 (CConfig::CheckConfig) config lines valid
21:53:22.758330 (CConfig::BuildConfig) building config
21:53:22.808400 (CConfig::BuildConfig) built config successfully
21:53:22.808706 (main) Starting devices
21:53:22.809973 (CDevice::Process) ambilight_1st: starting
21:53:22.810127 (CDevice::Process) ambilight_1st: setting up
21:53:22.810334 (CDevice::Process) ambilight: starting
21:53:22.810500 (CDevice::Process) ambilight: setting up
21:53:22.811299 (CClientsHandler::Process) opening listening socket on *:19333
21:53:22.859722 (CDeviceLightpack::SetupDevice) ambilight: found Lightpack at bus 3 address 2, serial is A4830363935351708161
21:53:22.863594 (CDeviceLightpack::SetupDevice) ambilight_1st: found Lightpack at bus 3 address 2, serial is A4830363935351708161
21:53:22.865316 (CDeviceLightpack::SetupDevice) ambilight: found Lightpack at bus 4 address 2, serial is A4830363935351B022F0
21:53:22.876827 (CDeviceLightpack::SetupDevice) ambilight: Lightpack is initialized, bus 4 device address 2
21:53:22.877078 (CDevice::Process) ambilight: setup succeeded
21:53:22.882580 (CDeviceLightpack::SetupDevice) ambilight_1st: Lightpack is initialized, bus 3 device address 2
21:53:22.888730 (CDeviceLightpack::SetupDevice) ambilight_1st: found Lightpack at bus 4 address 2, serial is A4830363935351B022F0
21:53:22.888936 (CDevice::Process) ambilight_1st: setup succeeded
21:53:23.686280 (CClientsHandler::Process) 127.0.0.1:37334 connected
21:53:23.694858 (CClientsHandler::ParseMessage) 127.0.0.1:37334 said hello
21:53:23.726099 (CClientsHandler::ParseSet) 127.0.0.1:37334 priority set to 128
21:53:26.931114 (CDevice::Process) ambilight_1st: closed
21:53:26.931293 (CDevice::Process) ambilight_1st: setting up
21:53:26.955629 (CDeviceLightpack::SetupDevice) ambilight_1st: found Lightpack at bus 3 address 2, serial is A4830363935351708161
21:53:26.966835 (CDeviceLightpack::SetupDevice) ambilight_1st: Lightpack is initialized, bus 3 device address 2
21:53:26.971635 (CDeviceLightpack::SetupDevice) ambilight_1st: found Lightpack at bus 4 address 2, serial is A4830363935351B022F0
21:53:26.971807 (CDevice::Process) ambilight_1st: setup succeeded
21:53:37.736200 (CDevice::Process) ambilight_1st: closed
21:53:37.736486 (CDevice::Process) ambilight_1st: setting up
21:53:37.759675 (CDeviceLightpack::SetupDevice) ambilight_1st: found Lightpack at bus 3 address 2, serial is A4830363935351708161
21:53:37.769683 (CDeviceLightpack::SetupDevice) ambilight_1st: Lightpack is initialized, bus 3 device address 2
21:53:37.775577 (CDeviceLightpack::SetupDevice) ambilight_1st: found Lightpack at bus 4 address 2. Couldn't get serial.
21:53:37.775729 (CDevice::Process) ambilight_1st: setup succeeded
21:53:38.752587 (CDevice::Process) ambilight_1st: closed
21:53:38.752990 (CDevice::Process) ambilight_1st: setting up
21:53:38.777619 (CDeviceLightpack::SetupDevice) ambilight_1st: found Lightpack at bus 3 address 2, serial is A4830363935351708161
21:53:38.782176 (CDeviceLightpack::SetupDevice) ambilight_1st: Lightpack is initialized, bus 3 device address 2
21:53:38.788429 (CDeviceLightpack::SetupDevice) ambilight_1st: found Lightpack at bus 4 address 2, serial is A4830363935351B022F0
21:53:38.788648 (CDevice::Process) ambilight_1st: setup succeeded
21:53:39.982251 (CDevice::Process) ambilight_1st: closed
21:53:39.982461 (CDevice::Process) ambilight_1st: setting up
21:53:40.021727 (CDeviceLightpack::SetupDevice) ambilight_1st: found Lightpack at bus 3 address 2, serial is A4830363935351708161
21:53:40.031046 (CDeviceLightpack::SetupDevice) ambilight_1st: Lightpack is initialized, bus 3 device address 2
21:53:40.037808 (CDeviceLightpack::SetupDevice) ambilight_1st: found Lightpack at bus 4 address 2, serial is A4830363935351B022F0
21:53:40.038008 (CDevice::Process) ambilight_1st: setup succeeded
21:53:43.338312 (CDevice::Process) ambilight: closed
21:53:43.338568 (CDevice::Process) ambilight: setting up
21:53:43.357615 (CDeviceLightpack::SetupDevice) ambilight: found Lightpack at bus 3 address 2. Couldn't get serial.
21:53:43.362588 (CDeviceLightpack::SetupDevice) ambilight: found Lightpack at bus 4 address 2, serial is A4830363935351B022F0
21:53:43.370660 (CDeviceLightpack::SetupDevice) ambilight: Lightpack is initialized, bus 4 device address 2
21:53:43.371120 (CDevice::Process) ambilight: setup succeeded
21:53:47.937490 (CDevice::Process) ambilight_1st: closed
21:53:47.937688 (CDevice::Process) ambilight_1st: setting up
21:53:47.963840 (CDeviceLightpack::SetupDevice) ambilight_1st: found Lightpack at bus 3 address 2, serial is A4830363935351708161
21:53:47.971206 (CDeviceLightpack::SetupDevice) ambilight_1st: Lightpack is initialized, bus 3 device address 2
21:53:47.977039 (CDeviceLightpack::SetupDevice) ambilight_1st: found Lightpack at bus 4 address 2, serial is A4830363935351B022F0
21:53:47.977254 (CDevice::Process) ambilight_1st: setup succeeded
21:53:48.956027 (CDevice::Process) ambilight_1st: closed
21:53:48.956213 (CDevice::Process) ambilight_1st: setting up
21:53:48.988600 (CDeviceLightpack::SetupDevice) ambilight_1st: found Lightpack at bus 3 address 2, serial is A4830363935351708161
21:53:49.004740 (CDeviceLightpack::SetupDevice) ambilight_1st: Lightpack is initialized, bus 3 device address 2
21:53:49.010634 (CDeviceLightpack::SetupDevice) ambilight_1st: found Lightpack at bus 4 address 2, serial is A4830363935351B022F0
21:53:49.010801 (CDevice::Process) ambilight_1st: setup succeeded
21:53:49.648094 (CDevice::Process) ambilight: closed
21:53:49.648293 (CDevice::Process) ambilight: setting up
21:53:49.667791 (CDeviceLightpack::SetupDevice) ambilight: found Lightpack at bus 3 address 2, serial is A4830363935351708161
21:53:49.673610 (CDeviceLightpack::SetupDevice) ambilight: found Lightpack at bus 4 address 2, serial is A4830363935351B022F0
21:53:49.682612 (CDeviceLightpack::SetupDevice) ambilight: Lightpack is initialized, bus 4 device address 2
21:53:49.682836 (CDevice::Process) ambilight: setup succeeded
21:53:50.019134 (CDevice::Process) ambilight_1st: closed
21:53:50.019342 (CDevice::Process) ambilight_1st: setting up
21:53:50.039649 (CDeviceLightpack::SetupDevice) ambilight_1st: found Lightpack at bus 3 address 2, serial is A4830363935351708161
21:53:50.049998 (CDeviceLightpack::SetupDevice) ambilight_1st: Lightpack is initialized, bus 3 device address 2
21:53:50.055630 (CDeviceLightpack::SetupDevice) ambilight_1st: found Lightpack at bus 4 address 2, serial is A4830363935351B022F0
21:53:50.055805 (CDevice::Process) ambilight_1st: setup succeeded
21:53:51.041033 (CDevice::Process) ambilight_1st: closed
21:53:51.041259 (CDevice::Process) ambilight_1st: setting up
21:53:51.063608 (CDeviceLightpack::SetupDevice) ambilight_1st: found Lightpack at bus 3 address 2, serial is A4830363935351708161
21:53:51.073709 (CDeviceLightpack::SetupDevice) ambilight_1st: Lightpack is initialized, bus 3 device address 2
21:53:51.078651 (CDeviceLightpack::SetupDevice) ambilight_1st: found Lightpack at bus 4 address 2, serial is A4830363935351B022F0
21:53:51.078818 (CDevice::Process) ambilight_1st: setup succeeded
21:53:51.110142 (CDevice::Process) ambilight: closed
21:53:51.110323 (CDevice::Process) ambilight: setting up
21:53:51.135587 (CDeviceLightpack::SetupDevice) ambilight: found Lightpack at bus 3 address 2. Couldn't get serial.
21:53:51.140586 (CDeviceLightpack::SetupDevice) ambilight: found Lightpack at bus 4 address 2, serial is A4830363935351B022F0
21:53:51.149712 (CDeviceLightpack::SetupDevice) ambilight: Lightpack is initialized, bus 4 device address 2
21:53:51.150167 (CDevice::Process) ambilight: setup succeeded
21:53:56.293670 (CClientsHandler::Process) 127.0.0.1:37334 Connection closed
#21:53:56.293912 (CClientsHandler::RemoveClient) removing 127.0.0.1:37334
Link to movie hosted on YT:
https://www.youtube.com/watch?v=ZAcoPtjdh5I&feature=youtu.be
I am almost certeined that root cause is somewhere in Boblight because:
Do you have an example boblight.conf for lightpack ?
Your sample boblight file - could you add some comments like how to get the serial for own lightpack please?
im running raspbmc with USB based lightpack
Thanks
Hi your wiki documentation refers to using the USB iserial but needs firmware 6.3. I am trying to get two lightpacks running and looks like I need this to configure them in the config file. Where can I get 6.3 firmware seems there is only 6.2 on the lightpack site
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.