Device API
Trigger your own paired WLED matrix from outside the app - scripts, home automation, CI pipelines, anything that can make an HTTP request: display text, or play any of the effects from the app's Effects feature.
Getting your credentials
Open the Pipplee app on the phone paired to your device, go to
Device → Integrations → API, and tap "Generate" (or just open the
screen - credentials are created automatically the first time you view it). You'll
get a webhook_username / webhook_password pair scoped to
your device. This is the same credential pair used for other webhook integrations
(e.g. PhonePe) - not a separate token system.
API access is a Pro feature: credentials are only available for a Pro device; a free
device's owner sees the upgrade option instead (the credentials endpoint answers 402).
Endpoints
POST https://pipplee.com/api/v1/public/devices/text # display text
POST https://pipplee.com/api/v1/public/devices/effect # play an effect
GET https://pipplee.com/api/v1/public/devices/effects # list the effects (no credential needed)
GET https://pipplee.com/api/v1/public/devices/status # name, size, online
POST https://pipplee.com/api/v1/public/devices/stop # back to the normal display
Both use the same credential, rate limits and response format. Text is described first; effects are in Play an effect below.
Authentication
Send an Authorization header whose value is the hex-encoded SHA-256
digest of "<webhook_username>:<webhook_password>" (colon
included, no Bearer prefix). No login and no CSRF token needed - the
credential itself is the routing key: the server iterates known device credentials,
recomputes this digest for each, and matches yours with a constant-time comparison.
authorization = sha256(f"{webhook_username}:{webhook_password}".encode()).hexdigest()
Worked example - username abc123, password secret456:
echo -n "abc123:secret456" | shasum -a 256
# → the resulting hex digest is your Authorization header value
Display text: request body
JSON body, POST only. text is required (max 100 characters). All other
fields are optional and fall back to sensible defaults.
{
"text": "Hello world",
"font_color": "ffffff",
"font_color_end": "ff00ff",
"background_color": "000000",
"background": "matrix",
"speed": 128,
"brightness": 128,
"duration": 60
}
text- string, required, 1-100 characters.font_color/background_color- 6-digit hex string, no#needed. Invalid values silently fall back to the default rather than erroring.background_colorgives a solid background.font_color_end- optional second hex colour; the text becomes a gradient fromfont_colorto this colour.palette_id- optional WLED palette id (e.g. 11 Rainbow, 35 Fire, 8 Ocean); the text cycles through the palette. Ignored whenfont_color_endis set.background- optional animated effect behind the text (see the list below).border- optional animated effect shown as a 1-pixel ring around the text. Use eitherbackgroundorborder, not both.background_effect_id/border_effect_id- instead of a name, any effect id from the effects list (GET /api/v1/public/devices/effects) as the background or the ring.effect_palette_idoptionally sets that effect's WLED palette.speed/brightness- integers 0-255 (brightness minimum 1). Out-of-range or missing values are clamped/defaulted.duration- seconds the message stays before your matrix goes back to its normal display. Default60, range 5-3600;0keeps the message until something else plays. A newer message replaces an older one and starts its own timer.
Effects for background and border
rainbow, ocean, space, blobs, octopus,
dna, matrix, metaballs, funky, fireworks,
game-of-life, aurora, swirl, plasma,
hypnotic, black-hole. An unknown name returns 400 with the valid list.
curl example
WEBHOOK_USERNAME="abc123"
WEBHOOK_PASSWORD="secret456"
AUTH=$(echo -n "${WEBHOOK_USERNAME}:${WEBHOOK_PASSWORD}" | shasum -a 256 | cut -d' ' -f1)
curl -X POST https://pipplee.com/api/v1/public/devices/text \
-H "Authorization: ${AUTH}" \
-H "Content-Type: application/json" \
-d '{"text": "Hello world", "font_color": "00ff00"}'
# Gradient text with an animated border
curl -X POST https://pipplee.com/api/v1/public/devices/text \
-H "Authorization: ${AUTH}" \
-H "Content-Type: application/json" \
-d '{"text": "Build passed", "font_color": "00ff00", "font_color_end": "00ffff", "border": "rainbow"}'
Play an effect
POST https://pipplee.com/api/v1/public/devices/effect
Plays one of the effects from the app's Effects feature across the whole matrix, with
the same settings the app offers. Pick the effect by effect (its name) or
effect_id (its WLED id) - one of the two, not both.
{
"effect": "ripple rainbow",
"speed": 160,
"intensity": 128,
"color": "ff8800",
"palette_id": 6,
"brightness": 128,
"duration": 60
}
effect- an effect name from the list below. Case, spaces, hyphens and underscores don't matter:"Ripple Rainbow","ripple-rainbow"and"RIPPLE_rainbow"all work. A few short names from the text API's list also work (ocean,space,funky,hypnotic).effect_id- instead ofeffect: a whole number, the WLED effect id shown in the list.speed/intensity- integers 0-255, default 128.color- optional 6-digit hex colour for effects that use one. Leave it out to keep your matrix's current colour; invalid values are ignored.palette_id- optional WLED palette id (0-255). Leave it out to keep the current palette.custom1,custom2(0-255) andcustom3(0-31) - optional extra sliders some effects have, as in the app.brightnessandduration- as for text (brightness 1-255, default 128; duration default 60 s, 5-3600,0keeps the effect).
curl -X POST https://pipplee.com/api/v1/public/devices/effect \
-H "Authorization: ${AUTH}" \
-H "Content-Type: application/json" \
-d '{"effect": "aurora", "speed": 90, "duration": 300}'
# By WLED id
curl -X POST https://pipplee.com/api/v1/public/devices/effect \
-H "Authorization: ${AUTH}" \
-H "Content-Type: application/json" \
-d '{"effect_id": 153}'
Success returns the effect that was played:
{"status": "ok", "effect": "Ripple Rainbow", "effect_id": 99, "duration": 60}
Errors are the same as for text below; 400 also covers an unknown effect
(the response lists the valid names), sending both effect and
effect_id, or neither.
Effects
Name (use as effect) and WLED id (use as effect_id). The same list is
available as JSON from GET /api/v1/public/devices/effects.
Some effects need a microphone or audio input on the device to move.
solid 0blink 1breathe 2wipe 3wipe-random 4random-colors 5sweep 6dynamic 7colorloop 8rainbow 9scan 10scan-dual 11fade 12theater 13theater-rainbow 14running 15saw 16twinkle 17dissolve 18dissolve-rnd 19sparkle 20sparkle-dark 21sparkle-plus 22strobe 23strobe-rainbow 24strobe-mega 25blink-rainbow 26android 27chase 28chase-random 29chase-rainbow 30chase-flash 31chase-flash-rnd 32rainbow-runner 33colorful 34traffic-light 35sweep-random 36chase-2 37aurora 38stream 39scanner 40lighthouse 41fireworks 42rain 43tetrix 44fire-flicker 45gradient 46loading 47rolling-balls 48fairy 49two-dots 50fairytwinkle 51running-dual 52chase-3 54tri-wipe 55tri-fade 56lightning 57icu 58multi-comet 59scanner-dual 60stream-2 61oscillate 62pride-2015 63juggle 64palette 65fire-2012 66colorwaves 67bpm 68fill-noise 69noise-1 70noise-2 71noise-3 72noise-4 73colortwinkles 74lake 75meteor 76railway 78ripple 79twinklefox 80twinklecat 81halloween-eyes 82solid-pattern 83solid-pattern-tri 84spots 85spots-fade 86glitter 87candle 88fireworks-starburst 89fireworks-1d 90bouncing-balls 91sinelon 92sinelon-dual 93sinelon-rainbow 94popcorn 95drip 96plasma 97percent 98ripple-rainbow 99heartbeat 100pacifica 101candle-multi 102solid-glitter 103sunrise 104phased 105twinkleup 106noise-pal 107sine 108phased-noise 109flow 110chunchun 111dancing-shadows 112washing-machine 113rotozoomer 114blends 115tv-simulator 116dynamic-smooth 117spaceships 118crazy-bees 119ghost-rider 120blobs 121drift-rose 123distortion-waves 124soap 125octopus 126waving-cell 127pixels 128pixelwave 129juggles 130matripix 131gravimeter 132plasmoid 133puddles 134midnoise 135noisemeter 136freqwave 137freqmatrix 138geq 139waterfall 140freqpixels 141noisefire 143puddlepeak 144noisemove 145noise2d 146perlin-move 147ripple-peak 148firenoise 149squared-swirl 150dna 152matrix 153metaballs 154freqmap 155gravcenter 156gravcentric 157gravfreq 158dj-light 159funky-plank 160pulser 162blurz 163drift 164waverly 165sun-radiation 166colored-bursts 167julia 168game-of-life 172tartan 173polar-lights 174swirl 175lissajous 176frizzles 177plasma-ball 178flow-stripe 179hiphotic 180sindots 181dna-spiral 182black-hole 183wavesins 184rocktaves 185akemi 186Status and stop
GET /api/v1/public/devices/status (same Authorization header) returns
{"name": "Living room", "matrix_width": 32, "matrix_height": 16, "online": true}.
It has its own rate limit, separate from sending.
POST /api/v1/public/devices/stop (empty body) puts the matrix back on its normal
display right away. Returns {"status": "ok"}, or 503 when offline.
Share access (Remote Control)
The app's Integrations → API screen shows a Share access QR code. It contains a
link of the form pipplee://remote?v=1&auth=<Authorization value>&name=<label> -
the hashed credential, never the raw username and password. Anyone with it can use Remote Control (or this API)
on your matrix.
Response
Success:
{"status": "ok", "duration": 60}
Errors return a JSON body with an error field and one of these status codes:
400- missing/invalidtext, an unknown effect name, bothbackgroundandborder, or invalid JSON body.401- missing or incorrectAuthorizationheader.403-"device blocked": this matrix can't be controlled through the API.429- too many requests (rate limited, per caller and per device).503-"device offline": your matrix isn't connected to Pipplee Cloud right now (powered off, off Wi-Fi, or its connection dropped). Nothing was shown; try again once it's back.500/502- rendering failed, or Pipplee Cloud couldn't be reached.
Notes
- Messages are delivered through Pipplee Cloud, the same connection other Pipplee integrations use. Your matrix needs to be set up for it (the app's Integrations setup does this for you) and online; otherwise the API answers
503 device offline. - This API shows text or plays effects - it does not read back your device's current state.
- Text and effects share one display: whichever arrived last is shown, and only its timer returns the matrix to its normal display.
- Keep your credential private: anyone who has it can control what your matrix shows. Regenerate is not yet self-service; contact support if you need to rotate it.