MCPCapital / HarmonizeProject

Harmonize Project lets you sync HDMI video with Philips Hue lights using a Raspberry Pi!
231 stars 35 forks source link

OpenCV and Mbedtls Errors #1

Closed MCPCapital closed 4 years ago

MCPCapital commented 4 years ago

Originally reported by Unknown {Restoring old issues}

"Hello, I am trying to install this on my PI4 using Rasbian Buster Lite OS but it seems to encounter a lot of missing dependencies. What OS should I be using? I already purchased a HDMI - USB capture card but have been having difficulties getting this thing to run. Any help would be appreciated. Thanks"

MCPCapital commented 4 years ago

Response in thread by @el-ch13fo

"I just re-tried and it installed properly, thanks for that. But now, my issue is with executing the harmonize.py script.

pi@raspberrypi:~/harmonizeproject $ sudo ./harmonize.py I will use the bridge at 192.168.0.200 Multiple entertainment groups found ( {'4': {'name': 'Living Room TV', 'lights': ['11', '9', '10', '12'], 'sensors': [], 'type': 'Entertainment', 'state': {'all_on': False, 'any_on': False}, 'recycle': False, 'class': 'TV', 'stream': {'proxymode': 'auto', 'proxynode': '/lights/12', 'active': False, 'owner': None}, 'locations': {'11': [-0.03, 1.0, 1.0], '9': [-0.42, 1.0, -1.0], '10': [0.38, 1.0, -1.0], '12': [-0.02, 0.77, -1.0]}, 'action': {'on': False, 'bri': 7, 'hue': 41826, 'sat': 77, 'effect': 'none', 'xy': [0.3128, 0.3255], 'ct': 153, 'alert': 'none', 'colormode': 'xy'}}, '6': {'name': 'Theater', 'lights': ['14', '13'], 'sensors': [], 'type': 'Entertainment', 'state': {'all_on': False, 'any_on': False}, 'recycle': False, 'class': 'TV', 'stream': {'proxymode': 'auto', 'proxynode': '/lights/14', 'active': False, 'owner': None}, 'locations': {'14': [0.68, 0.68, -1.0], '13': [-0.71, 0.68, -1.0]}, 'action': {'on': False, 'bri': 254, 'hue': 8418, 'sat': 140, 'effect': 'none', 'xy': [0.4573, 0.41], 'ct': 366, 'alert': 'select', 'colormode': 'ct'}}} ) specify which with --groupid 4 = Living Room TV 6 = Theater 6 You selected groupid 6 Press return to stop[ WARN:0] global /home/pi/opencv/modules/videoio/src/cap_gstreamer.cpp (480) isPipelinePlaying OpenCV | GStreamer warning: GStreamer: pipeline have not been created'

Besides this error, it captures and replicates the light fairly accurate. Thank you"

MCPCapital commented 4 years ago

4-5 Comments were lost.

The outcome of this issue was de-scoping Mbedtls from use in the project and providing an alternate method to compile OpenCV