API Documentation

Been thru the docs provided by the developer, specifically regarding JSON API. However, I find them lacking in the way they “flow” ; that is, they seem somewhat disjointed to me. Anybody know of another source (maybe written by a user) for better written docs? I have absolutely NO intention of demeaning the dev. He’s done a heluva job on this project.

Thanks

Documentation is a community effort. There are a handful of devs and many thousands of users.
Many ask for a tutorial but do not bother to write one after they figure it out, so that is why documentation is what it is.
That said, I don’t know of any better documentation.

Thanks again, dedehai

dedehai… I just figured out that you are one of the developers for WLED. Thanks for your efforts…

Can I make an effect using the json.api that fills my entire strip one (blue) LED at a time and then (after a short pause) clears the entire strip one LED at a time??

you can do that, its described in the json API documentation: JSON API - WLED Project
although that is not how I would do it. you can do that using latest alpha with wipe transition for example, save that to presets and just use the API to call those presets. much easier.

Thanks again… A donation will be sent to you.

1 Like

between this

{“bri”:60,“seg”:{“col”:[[0,8,255],[255,255,0],[0,0,0]],“fx”:37,“sx”:188,“ix”:255,“pal”:0}}

And this??? Paste each of them into the API box the one above works fine ; the one below throws errors

{“seg”:{“i”:[“FF0000”,“00FF00”,“0000FF”]}}

{“seg”:{“i”:[“FF0000”,“00FF00”,“0000FF”]}} works just fine, make sure you format it right and use the correct "