Comments (7)
Hello. I'm getting same error. You've found a solution???
EDIT: I've followed this guide.... https://pimylifeup.com/raspberry-pi-opencv/.... getting some error...but then I've rebooted my Raspi and started with sudo ./harmonize -v -g 1
and wow....my lights getting works....for now I've only 2 hue go near tv...they're working not full of brightness, but it's a start...
from harmonizeproject.
Thanks. I did the same and the problem seems solved. Now its not finding my Entertainment areas... any idea why?
from harmonizeproject.
Same problem with Entertainment areas
from harmonizeproject.
Oh, I have found problem, I don't need to set -g 1, just ./harmonize.py
from harmonizeproject.
I am still getting these errors no matter how I slice it. When I run ./harmonizie.py and when I run ./harmonize.py -v -g 2 I get the same error. When I select any other group (0,1,3) I receive the error that an entertainment group has not been set up in the Hue App. This tells me that group 2 is the entertainment area I created however it still says w and rgb_bytes have not been created.
From what I understand these values are populated by what is in the application, and with only one group configured in the App this tells me that those values are not being passed however I am uncertain why that is.
Setup:
Software Setup B
Hardware Setup A
Steps Taken:
Harmonize Installed
Video Test Succeeds
Bridge Installed and recognized
Lights Added
Room Added
Entertainment Area Added
ERROR MESSAGE
File "./harmonize.py", line 237, in averageimage
coords[0] = ((coords[0])+1) * w//2 #Translates x value and resizes to video aspect ratio
NameError: name 'w' is not defined
Exception in thread Thread-3:
Traceback (most recent call last):
File "/usr/lib/python3.7/threading.py", line 917, in _bootstrap_inner
self.run()
File "/usr/lib/python3.7/threading.py", line 865, in run
self._target(*self._args, **self._kwargs)
File "./harmonize.py", line 320, in buffer_to_light
for i in rgb_bytes:
NameError: name 'rgb_bytes' is not defined
from harmonizeproject.
from harmonizeproject.
The Entertainment area discovery method has been updated to APIv2. This issue can be closed at this point. If the problem re-surfaces, please open a new issue. Thanks.
from harmonizeproject.
Related Issues (20)
- Instruction Updates and Corrupt JPEG data HOT 3
- Integration with HomeAssistant
- VIDEOIO ERROR: V4L2: setting property #38 is not supported HOT 6
- Hue App HOT 1
- Canβt connect to the Hue Bridge HOT 2
- Lights Flickering HOT 2
- Build process doesn't seem to work. HOT 13
- does it work on odroid xu4 HOT 1
- Does it works with bulbs also or only ledstrip? HOT 1
- Running harmonize.py line error 15 #14 HOT 2
- Only shows first frame / image then errors out HOT 2
- module v4l2src0 reported: Internal data stream error. HOT 6
- Option to increase light's brightness HOT 7
- Dead image links in README HOT 2
- [Enhancement] HDMI to CSI adapter HOT 3
- bridge = int(input()) Error (multiple bridges?) HOT 3
- Finds bridge and then doesn't HOT 2
- Harmonize sees the Hue Hub but cannot sync + NameError: name 'baseurl' is not defined HOT 3
- More configuration Values for fine tunig the grapper input HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from harmonizeproject.