Hello. Thanks for the assistance! I removed the V4L2 on the bulb config, created a duplicate service pointed to the hue bulbs new config, forwarded the json ports from the strip config to the bulb config, and enabled the newly created service. The bulbs now light up, but the latency is incredibly high. It is my guess that the config for the phillips hue bulbs needs to be modified. I'll do some research into that. Thanks again!
Beiträge von sdk7_25
-
-
Hi All...excellent work with the software. I've been able to successfully set up my apa102 strip with the fushicai grabber on my pi. I'm running into a bit of a stumbling block when trying to integrate my Phillips Hue bulbs as well. I tried searching and couldn't locate a solution. I'm not very proficient with Raspbian or Linux, so I apologize if this is something simple and I'm missing it.
Anyway, I tried to follow https://hyperion-project.org/w…trolling-Multiple-Devices . I ran into a few problems. It looks like hyperiond is no longer located at /usr/bin/hyperiond and has been moved to /opt/hyperion/bin/hyperiond. Not a big deal as I'm fairly sure that I can simply adjust the paths accordingly in the guide. I created a second hyperion.init.sh file and placed it in /opt/hyperion/init.d.
When I try to test it, I get the following:
Code
Alles anzeigenHyperion Ambilight Deamon Version : V1.02.0 (brindosch-f4162eb/2d45d51-1462453507 Build Time: May 5 2016 06:07:47 INFO: Selected configuration file: /opt/hyperion/config/hyperion.config.2.json HYPERION INFO: ColorTransform 'default' => [0; 2] HYPERION INFO: ColorCorrection 'default' => [0; 2] HYPERION INFO: ColorAdjustment 'default' => [0; 2] LEDDEVICE INFO: configuration: { "colorOrder" : "rgb", "name" : "MyHyperionConfig", "output" : "192.168.200.54", "switchOffOnBlack" : true, "transitiontime" : 1, "type" : "philipshue", "username" : "lMI-Q-LhIxQjaHjbK4-Mo83SP6weVkR9tBSzEXRb" } HYPERION INFO: Not creating any smoothing EFFECTENGINE ERROR: Effect directory can not be loaded: /storage/hyperion/effects EFFECTENGINE INFO: Initializing Python interpreter LedDevicePhilipsHue::saveStates(nLights=3): found light with id 1. LedDevicePhilipsHue::saveStates(nLights=3): found light with id 2. LedDevicePhilipsHue::saveStates(nLights=3): found light with id 3. INFO: Hyperion started and initialised INFO: Boot sequence 'Rainbow swirl fast' EFFECTENGINE INFO: run effect Rainbow swirl fast on channel 0 BLACKBORDER INFO: threshold set to 0.2 (51) BLACKBORDER INFO: mode:default started INFO: Json server created and started on port 19446 INFO: Proto server created and started on port 19447 V4L2GRABBER INFO: width=720 height=576 V4L2GRABBER INFO: pixel format=YUYV terminate called after throwing an instance of 'std::runtime_error' what(): VIDIOC_REQBUFS ERROR 16, Device or resource busy
If I turn off the hue bulbs in the app, and then run that command, it turn them on, so it's at least connecting to the Hue hub correctlyI figured it has something to do with the second hyperion config and that I could work it out by Googling. So I tried to set the second instance of Hyperion to run on boot using the guide. But I get the following error:
At this point, I'm unsure as to how to proceed. Any assistance would be greatly appreciated. Thanks again for all the hard work!
Here's the config for my apa102s: http://pastebin.com/ZksMEmTZ
Here's my WIP config for my Hue bulbs: http://pastebin.com/bBqHJdVz
Here's the Log generated by Hypercon: [MEDIA=pastebin]6szPktZv[/MEDIA]