there is another remote… i opened issue… now i have this issue:
2017-12-21 01:03:26 ERROR (MainThread) [homeassistant.components.light] Error while setting up platform hue
Traceback (most recent call last):
File "/srv/hass/hass_venv/lib/python3.4/site-packages/homeassistant/helpers/entity_component.py", line 171, in _async_setup_platform
SLOW_SETUP_MAX_WAIT, loop=self.hass.loop)
File "/usr/lib/python3.4/asyncio/tasks.py", line 372, in wait_for
return fut.result()
File "/usr/lib/python3.4/asyncio/futures.py", line 277, in result
raise self._exception
File "/usr/lib/python3.4/concurrent/futures/thread.py", line 54, in run
result = self.fn(*self.args, **self.kwargs)
File "/srv/hass/hass_venv/lib/python3.4/site-packages/homeassistant/components/light/hue.py", line 110, in setup_platform
unthrottled_update_lights(hass, bridge, add_devices)
File "/srv/hass/hass_venv/lib/python3.4/site-packages/homeassistant/components/light/hue.py", line 149, in unthrottled_update_lights
lambda **kw: update_lights(hass, bridge, add_devices, **kw))
File "/srv/hass/hass_venv/lib/python3.4/site-packages/homeassistant/components/light/hue.py", line 190, in process_lights
lights[light_id].schedule_update_ha_state()
File "/srv/hass/hass_venv/lib/python3.4/site-packages/homeassistant/helpers/entity.py", line 273, in schedule_update_ha_state
self.hass.add_job(self.async_update_ha_state(force_refresh))
AttributeError: 'NoneType' object has no attribute 'add_job'
This is a component, it still has an external dependency to the deconz software. It will not work initially with hass.io due to issues with docker and how deconz communicate with the hardware.
I’m basically lost here…I bought the suggested zigbee+zwave stick, installed it, created a db file and configured as suggested, and I get this:
2018-01-10 22:00:23 ERROR (MainThread) [homeassistant.setup] Error during setup of component zha
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/setup.py", line 190, in _async_setup_component
result = yield from component.async_setup(hass, processed_config)
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/zha/__init__.py", line 90, in async_setup
APPLICATION_CONTROLLER = ControllerApplication(ezsp_, database)
File "/srv/homeassistant/lib/python3.5/site-packages/bellows/zigbee/application.py", line 29, in __init__
self._dblistener = bellows.zigbee.appdb.PersistingListener(database_file, self)
File "/srv/homeassistant/lib/python3.5/site-packages/bellows/zigbee/appdb.py", line 29, in __init__
detect_types=sqlite3.PARSE_DECLTYPES)
sqlite3.OperationalError: unable to open database file
So, I’m new and desperate
I’m trying to install this deconz component with absolutly no success so far.
I searched for hours and tried many thing but nothing works. My main question would be at this point : where do I get the deconz.py and where do I put it ?
At one point I assumed it would be added automatically to my HA setup after adding
deconz:
host: 192.168.0.12
to configuration.yaml, but no… I still have a “Component not found: deconz” error.
I may assume wrong…
My config :
Raspberry pi One with Raspbee module and Deconz up and running (I have my Aquara sensors listed in the Phoscon App)
Sooo, I kind of think I haphazardly got deconz to work with hass.io
After googling around I found this hassio addon:
As per the issue posted it would not work straight away but the change described in the issue tracker made it install fine. After checking the config.json I started it and could reach the web ui from hassio.local:8080 Adding /pwa to the adress got me into Phoscon where I added a motion sensor.
Next up was connecting it to home assistant and @Robban’s deconz component. I first specified IP 192.168.0.XXX:8080, but that did not work as the component adds :80 when trying to interface with deconz. I could not use 80 for conbee to begin with however as Pi-Hole was occupying that.
After changing the pi-hole port, I went back to the conbee addon config.json and set both port entries to only 80. In my configuration I simply put the local ip without ports as expected and after a restart I could connect using the configurator!
I haven’t tested much so far, but I can see the motion detector working and my ikea dimmer is reporting battery as well. I have yet to add more devices but I must head for bed now and will try more later.
Cheers for the component and hope the above was helpful even though I blindly found my way there.
Awesome! You should talk to @frenck about getting this into his community package.
Regarding port 80, you need to have pihole on port 80, but with docker there shouldn’t be an issue to change the port for deconz. Its already supported by the component
I just wanted to thank you for this post. I installed this hassio addon a week or two ago but I couldn’t test if it worked until today when my sensors finally arrived. I had been banging my head against it all day, trying to get the sensors to connect and I was about to give up when I saw your post about it working for you. It turns out they were connecting, it’s just that there’s no feedback from Phoscon at all and I should have checked the log for the hassio addon instead.
And thank you @Robban for all the work you’ve put into this component. It’s working well.
Thanks for letting me know about Pi-hole. And obviously I was able to set port on the component, and its working now. In my defence I added the component just before bedtime and did not read the instructions all the way.
A couple of questions though:
Is the Conbee hardware the actual gateway, or does the gateway reside server side? As in if I unplug the conbee stick and put it in my desktop and open the desktop app, will it retain the devices added to it?
Do you know what data to pull from the Trådfri wireless dimmer? Since its a rotary thing and not buttons I am assuming it sends something different than the button dimmers.