dmamontov / hass-ledfx

LedFx for Home Assistant
https://community.home-assistant.io/t/ledfx-deep-integration-component/366750
Apache License 2.0
44 stars 6 forks source link

[BUG] #23

Open Druidblack opened 1 year ago

Druidblack commented 1 year ago

Integration sees the device, but an error appears when trying to turn it on

"Не удалось вызвать службу light/turn_on. 'LedFxLight' object has no attribute '_ActionType.DEVICE_on'"

Please complete the following information:

Druidblack commented 1 year ago

Updated to 2023.7.1 Error Не удалось вызвать службу light/turn_on. connection lost

b631nz commented 1 year ago

I've never had this integration working before, but installed it today through HACS (HA 2023.7.1 Supervisor 2023.07.1, OS 10.3, Frontend 20230705.1 - latest) and get a similar issue.

When configuring LEDFx integration I provide the IP address and port and it sets up with all my LEDFx devices. But when trying to control anything through the HA integration it gives an error "Failed to call service light/turn_on. connection lost".

When clicking on the link from the LEDFx devices page it takes me to "192.168.52.10:8888/devices/tv-shelf", which gives a 404 error. The correct link would be "192.168.52.10:8888/#/device/tv-shelf" (with the hash in the middle of the link). Not sure if this is related to the problem.

Druidblack commented 1 year ago

Until the author of the integration fixed the problem. I made the following crutch for myself. Since automation has been created for me to work with this integration, I had to raise a virtual machine, put XA version 2023.05 on it (integration works on this version). With the help of Remote Home-Assistant integration, I threw the necessary elements into the main system. By the way integration in version 2023.06 il 07 understands the meaning of sensors but cannot control them

shagadeli commented 1 year ago

Also looking for a solution for this.

Gus1994 commented 1 year ago

I've never had this integration working before, but installed it today through HACS (HA 2023.7.1 Supervisor 2023.07.1, OS 10.3, Frontend 20230705.1 - latest) and get a similar issue.

When configuring LEDFx integration I provide the IP address and port and it sets up with all my LEDFx devices. But when trying to control anything through the HA integration it gives an error "Failed to call service light/turn_on. connection lost".

When clicking on the link from the LEDFx devices page it takes me to "192.168.52.10:8888/devices/tv-shelf", which gives a 404 error. The correct link would be "192.168.52.10:8888/#/device/tv-shelf" (with the hash in the middle of the link). Not sure if this is related to the problem.

Hello, do you know exactly how the URL changes when ledfx is on a pc and my HA instance is on a pi ? When I test the request on postman from my computer it works great, when I do it on HA via rest_command, nothing happens...