YeonV / home-assistant-addons

MIT License
12 stars 6 forks source link

How to make automation calls to LedFX addon from Home Assistant #40

Open ng-nicholas opened 8 months ago

ng-nicholas commented 8 months ago

Hi there, I had installed your addon in my home assistant instance by adding your github repo to home assistant and it work perfectly!

Now I am trying to automate LedFX from within home assistant and am running into issues:

  1. It doesn't look like the addon is exposed to the rest of home assistant, so I am unable to call a service to change a scene, pause or do any of the basic actions as per the GUI.
  2. I had read somewhere of someone making API calls via REST to a standalone build of LedFX running on a separate machine where the ports had been exposed - I've tried setting it up in my home assistant instance but am running into the same issue as point 1, where since the ports aren't exposed, I have no where to make the REST calls to.

Any thoughts on how I might be able to get around this so that I can continue on the automation journey?

nukleuz80 commented 7 months ago

I think at the moment you have to use the REST or command line integration in HA.

mitrokun commented 5 months ago

There is a solution in the closed issue https://github.com/DeKaN/hass-ledfx use 127.0.0.1:8888 After that you will get access to the scenes image