Hi Guys,
I’m facing an issue with my HA setup, i’m using scenes with the Homekit option, for example: “Goodnight”
The scene “Goodnight” need to switch off al my light. (Philips Hue, Ikea Tradfri) but after executing the scene some random lights don’t turn off.
When i switch all my lights off at once by the Hue app or HA itself it’s working fine.
I’m using HA 0.86.4
My configuration.yaml:
homekit:
auto_start: False
filter:
include_entities:
- light.dressoir_links
- light.dressoir_rechts
- light.bank_links
- light.bank_rechts
- light.tafeltje_muur
- light.sallontafel
- light.hal
- light.kelderkast
- light.keuken_spot_1
- light.keuken_spot_2
- light.keuken_spot_3
- light.keuken_spot_4
- light.hue_go_1
- light.eetkamertafel
- light.overloop
- light.schuur
- light.toilet
- light.tuinverlichting_algemeen
- light.tuinverlichting_muur
- switch.neo_coolcam_power_plug_12a_switch
- switch.neo_coolcam_power_plug_12a_switch_2
- sensor.netatmo_woonkamer_temperature
- sensor.netatmo_slaapkamer_temperature
- sensor.netatmo_slaapkamer_timor_temperature
- sensor.netatmo_buiten_temperature
- sensor.neo_coolcam_battery_powered_pir_sensor_temperature_2
- switch.digitaletv
- switch.mediacenter
- switch.xboxone
- input_boolean.timor_slaapt
The errors in the home-assistant.log after activation the “goodnight” scene:
2019-02-01 09:51:17 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/lib/python3.5/asyncio/tasks.py", line 241, in _step
result = coro.throw(exc)
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/helpers/service.py", line 287, in _handle_service_platform_call
await getattr(entity, func)(**data)
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/hue/light.py", line 411, in async_turn_off
await self.light.set_state(**command)
File "/srv/homeassistant/lib/python3.5/site-packages/aiohue/lights.py", line 112, in set_state
json=data)
File "/srv/homeassistant/lib/python3.5/site-packages/aiohue/bridge.py", line 69, in request
) from None
aiohue.errors.RequestError: Error requesting data from 172.16.1.9: [Errno 104] Connection reset by peer
2019-02-01 09:51:17 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/lib/python3.5/asyncio/tasks.py", line 241, in _step
result = coro.throw(exc)
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/helpers/service.py", line 287, in _handle_service_platform_call
await getattr(entity, func)(**data)
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/hue/light.py", line 411, in async_turn_off
await self.light.set_state(**command)
File "/srv/homeassistant/lib/python3.5/site-packages/aiohue/lights.py", line 112, in set_state
json=data)
File "/srv/homeassistant/lib/python3.5/site-packages/aiohue/bridge.py", line 69, in request
) from None
aiohue.errors.RequestError: Error requesting data from 172.16.1.9: [Errno 104] Connection reset by peer
2019-02-01 09:51:17 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/lib/python3.5/asyncio/tasks.py", line 241, in _step
result = coro.throw(exc)
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/helpers/service.py", line 287, in _handle_service_platform_call
await getattr(entity, func)(**data)
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/hue/light.py", line 411, in async_turn_off
await self.light.set_state(**command)
File "/srv/homeassistant/lib/python3.5/site-packages/aiohue/lights.py", line 112, in set_state
json=data)
File "/srv/homeassistant/lib/python3.5/site-packages/aiohue/bridge.py", line 69, in request
) from None
aiohue.errors.RequestError: Error requesting data from 172.16.1.9: [Errno 104] Connection reset by peer
2019-02-01 09:51:17 ERROR (MainThread) [homeassistant.components.hue.light] Unable to reach bridge 172.16.1.9 (Error requesting data from 172.16.1.9: [Errno 104] Connection reset by peer)
The Hue hub is accessible all the time. I already tried deleting the .homekit.state file and rebuild the Homekit configuration but the issue remains after that.