GithubHelp home page GithubHelp logo

Comments (8)

robmarkcole avatar robmarkcole commented on June 19, 2024

Appears HA has failed to install hue_sensors. Is there another error in the logs on startup stating something like 'failed to install hue_sensors'? Cheers

from hue-sensors-hass.

robmarkcole avatar robmarkcole commented on June 19, 2024

OK I'm running 85f0119 on Docker (synology) and no errors. Let me know and please close this issue if the release resolves. Btw be sure to remove hue from your config.
Cheers

from hue-sensors-hass.

michaelmaat avatar michaelmaat commented on June 19, 2024

After updating hass.io and hue-sensors-hass to 0.60 I ran into the same problem as Ashald.

Here is my config:

sensor:
  - platform: hue_sensor

hue:
  bridges:
    - host: 192.168.178.44

Removing the hue/bridges/host did fix the hue sensors, but my lights didn't show up anymore. So I put back the config and did a full reboot (hassio host reboot instead of hassio homeassistant restart) of my Pi. Now everything works again :)

from hue-sensors-hass.

ashald avatar ashald commented on June 19, 2024

I'm running under Docker on Synology as well. I pulled the latest code from the repo and removed hue from the config but now I see:

Traceback (most recent call last):
  File "/usr/src/app/homeassistant/helpers/entity_component.py", line 171, in _async_setup_platform
    SLOW_SETUP_MAX_WAIT, loop=self.hass.loop)
  File "/usr/local/lib/python3.6/asyncio/tasks.py", line 358, in wait_for
    return fut.result()
  File "/usr/local/lib/python3.6/asyncio/futures.py", line 245, in result
    raise self._exception
  File "/usr/local/lib/python3.6/concurrent/futures/thread.py", line 56, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/config/custom_components/sensor/hue_sensor.py", line 40, in setup_platform
    url = load_conf(filepath) + '/sensors'
  File "/config/custom_components/sensor/hue_sensor.py", line 26, in load_conf
    with open(filepath, 'r') as file_path:
FileNotFoundError: [Errno 2] No such file or directory: '/config/phue.conf'

There is indeed no /config/phue.conf in my /config but there is phue-0017886c3a18.conf. o_O Did I miss anything else?..

from hue-sensors-hass.

ashald avatar ashald commented on June 19, 2024

P.S.: After I copied phue-0017886c3a18.conf to phue.conf it worked. But I'm not sure that was the right thing to do...

from hue-sensors-hass.

ashald avatar ashald commented on June 19, 2024

P.P.S.: Also, if I remove

hue:

from my config then I don't see my lights in HA... is that intentional? I'd rather see them there. Just wonder if it's incompatible with this package in any way.

from hue-sensors-hass.

hanssep avatar hanssep commented on June 19, 2024

Confirming @michaelmaat "solution" works. This is an awesome addon but it should work with the hue: component enabled in the configuration (my Hue lights don't show otherwise).

Looking forward seeing this as an official component in next HASS release.

from hue-sensors-hass.

robmarkcole avatar robmarkcole commented on June 19, 2024

Interesting, so reboot of Hassio is required. Cheers

from hue-sensors-hass.

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.