core: Fibaro - Run scene not working

The problem

scenes from HC3 do not work when triggering from HA.

for HC3 the correct url is:

http:///api/scenes/<SCENE_ID>/execute

What version of Home Assistant Core has the issue?

2022.10.0

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant Supervised

Integration causing the issue

Fibaro

Link to integration documentation on our website

https://www.home-assistant.io/integrations/fibaro/

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

iblary3.common.exceptions.HTTPException: Not Implemented (HTTP N/A)
2022-10-23 09:08:37.106 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [140288401131168] Not Implemented (HTTP N/A)
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 202, in handle_call_service
await hass.services.async_call(
File "/usr/src/homeassistant/homeassistant/core.py", line 1738, in async_call
task.result()
File "/usr/src/homeassistant/homeassistant/core.py", line 1775, in _execute_service
await cast(Callable[[ServiceCall], Awaitable[None]], handler.job.target)(
File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 207, in handle_service
await service.entity_service_call(
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 678, in entity_service_call
future.result() # pop exception if have
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 931, in async_request_call
await coro
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 715, in _handle_entity_call
await result
File "/usr/src/homeassistant/homeassistant/components/scene/__init__.py", line 114, in _async_activate
await self.async_activate(**kwargs)
File "/usr/src/homeassistant/homeassistant/components/scene/__init__.py", line 135, in async_activate
await task
File "/usr/local/lib/python3.10/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/src/homeassistant/homeassistant/components/fibaro/scene.py", line 48, in activate
self.fibaro_device.start()
File "/usr/local/lib/python3.10/site-packages/fiblary3/client/v4/models.py", line 172, in start
return self.controller.start(self.id)
File "/usr/local/lib/python3.10/site-packages/fiblary3/client/v4/scenes.py", line 47, in start
scene = self._scene_control(scene_id, "start")
File "/usr/local/lib/python3.10/site-packages/fiblary3/client/v4/scenes.py", line 40, in _scene_control
resp = self.http_client.get(cmd, params=params)
File "/usr/local/lib/python3.10/site-packages/fiblary3/common/restapi.py", line 186, in get
return self.request('GET', url, **kwargs)
File "/usr/local/lib/python3.10/site-packages/fiblary3/common/restapi.py", line 157, in request
return self._error_handler(response)
File "/usr/local/lib/python3.10/site-packages/fiblary3/common/restapi.py", line 165, in _error_handler
raise exceptions.from_response(response)
fiblary3.common.exceptions.HTTPException: Not Implemented (HTTP N/A)

Additional information

same as issue https://github.com/home-assistant/core/issues/63178

https://github.com/home-assistant/core/pull/70709

a fix was implemented, then reverted and now it seems to have gone stale.

any chance there’s been some improvements that can solve this?

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 16 (4 by maintainers)

Most upvoted comments

To @pbalogh77 or @rappenze,

I just switched from the Fibaro HC2 to the Fibaro HC3 and am thrilled with the performance boost as well as the basic design and reliability of the devices to be controlled. However, I do not like the Yubii app from Fibaro. Already with the HC2 I had used the connector between Homeassistant to HC2 to build my own visualization. Unfortunately, when connecting HC3 to Homeassistant, the error using scenes mentioned here in the first post occurs.

I’ll make it short: I’m willing to pay 75.00 EUR directly via Paypal to the person who fixes the bug (without further conditions) and another 100.00 EUR after implementing the fix in the original fork of “Fiblary” or an alternative fork which is then used in Homeassistant.

Yours sincerly Juwi2

I’m working on it, see https://github.com/rappenze/pyfibaro/ The idea is to replace the library with a new one which is maintained and don’t use so much third-party dependencies. Tests with HC2 are already green. But I need some more time to test it with HC3 which I got yesterday 😃

Happy days and congrats on your new HC3 😃 Let me know if you need any beta testers at any time!

I’m working on it, see https://github.com/rappenze/pyfibaro/ The idea is to replace the library with a new one which is maintained and don’t use so much third-party dependencies. Tests with HC2 are already green. But I need some more time to test it with HC3 which I got yesterday 😃