PhotoboothProject / photobooth

OpenSource Photobooth Webinterface
https://photoboothproject.github.io
MIT License
318 stars 70 forks source link

WLED API support #849

Open phn2211 opened 2 months ago

phn2211 commented 2 months ago

Is your feature request related to a problem?

Yes

Description

Hi, a neopixel LED ring added to the construction ist either an eyecatcher and makes concentration in the lens If in countdown the LEDs turn off one by one.

The WLED Project could be included i think. An inputfield for the IP address and two inputfields for the effect for countdown in ring with a post request in hitting "take picture" and one for Basic animation would be really great

Describe the solution you'd like

3 Input fields for configuration. Do an API Post Request in taking Photo to Run Animation Countdown. After Photo was made send another request for Basic Animation Like rainbow

Describe alternatives you've considered

Look before

Additional context

No response

andi34 commented 2 months ago

You should be able to use the existing get request function.

Screenshot_20240909-061815

Only after processing we might need to add a new option as it's only possible to send the photo style ATM.

Following the first example from https://kno.wled.ge/interfaces/http-api/ would look like this: Screenshot_20240909-062428

andi34 commented 2 months ago

You could also use the pre and post photo commands Screenshot_20240909-063213