Code Monkey home page Code Monkey logo

Comments (7)

Mikypan81 avatar Mikypan81 commented on May 25, 2024 1

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.

kyrey859 avatar kyrey859 commented on May 25, 2024 1

Thanks. I did the same and the problem seems solved. Now its not finding my Entertainment areas... any idea why?

from harmonizeproject.

Flatout73 avatar Flatout73 commented on May 25, 2024

Same problem with Entertainment areas

from harmonizeproject.

Flatout73 avatar Flatout73 commented on May 25, 2024

Oh, I have found problem, I don't need to set -g 1, just ./harmonize.py

from harmonizeproject.

Jarch1386 avatar Jarch1386 commented on May 25, 2024

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

Capture

from harmonizeproject.

bradleydworak avatar bradleydworak commented on May 25, 2024

from harmonizeproject.

bradleydworak avatar bradleydworak commented on May 25, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.