Closed camcs1 closed 4 years ago
Slight Duplicate of #44
So after some digging I think I've cracked it:
Request URL:http://[LedFxIP]:8888/api/presets Request Method:PUT Body: {"id":"presetname","action":"activate"}
Request URL: http://[LedFxIP]:8888/api/devices/[devicename]/effects Request Method: DELETE Body: Null
Is it possible to activate a preset via the API so I can control LedFx via HomeAssitant
I found a integration for Home Assistant but it seems like its a full version of LedFx (which is awesome just not what I was hoping for) as opposed to a integration more geared up towards control
Also as a bonus is it possible to stop control via the api?
btw sorry if I'm being thick and the solutions fairly obvious