API

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_color gives a solid background.
  • font_color_end - optional second hex colour; the text becomes a gradient from font_color to this colour.
  • palette_id - optional WLED palette id (e.g. 11 Rainbow, 35 Fire, 8 Ocean); the text cycles through the palette. Ignored when font_color_end is 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 either background or border, 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_id optionally 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. Default 60, range 5-3600; 0 keeps 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 of effect: 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) and custom3 (0-31) - optional extra sliders some effects have, as in the app.
  • brightness and duration - as for text (brightness 1-255, default 128; duration default 60 s, 5-3600, 0 keeps 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 0
blink 1
breathe 2
wipe 3
wipe-random 4
random-colors 5
sweep 6
dynamic 7
colorloop 8
rainbow 9
scan 10
scan-dual 11
fade 12
theater 13
theater-rainbow 14
running 15
saw 16
twinkle 17
dissolve 18
dissolve-rnd 19
sparkle 20
sparkle-dark 21
sparkle-plus 22
strobe 23
strobe-rainbow 24
strobe-mega 25
blink-rainbow 26
android 27
chase 28
chase-random 29
chase-rainbow 30
chase-flash 31
chase-flash-rnd 32
rainbow-runner 33
colorful 34
traffic-light 35
sweep-random 36
chase-2 37
aurora 38
stream 39
scanner 40
lighthouse 41
fireworks 42
rain 43
tetrix 44
fire-flicker 45
gradient 46
loading 47
rolling-balls 48
fairy 49
two-dots 50
fairytwinkle 51
running-dual 52
chase-3 54
tri-wipe 55
tri-fade 56
lightning 57
icu 58
multi-comet 59
scanner-dual 60
stream-2 61
oscillate 62
pride-2015 63
juggle 64
palette 65
fire-2012 66
colorwaves 67
bpm 68
fill-noise 69
noise-1 70
noise-2 71
noise-3 72
noise-4 73
colortwinkles 74
lake 75
meteor 76
railway 78
ripple 79
twinklefox 80
twinklecat 81
halloween-eyes 82
solid-pattern 83
solid-pattern-tri 84
spots 85
spots-fade 86
glitter 87
candle 88
fireworks-starburst 89
fireworks-1d 90
bouncing-balls 91
sinelon 92
sinelon-dual 93
sinelon-rainbow 94
popcorn 95
drip 96
plasma 97
percent 98
ripple-rainbow 99
heartbeat 100
pacifica 101
candle-multi 102
solid-glitter 103
sunrise 104
phased 105
twinkleup 106
noise-pal 107
sine 108
phased-noise 109
flow 110
chunchun 111
dancing-shadows 112
washing-machine 113
rotozoomer 114
blends 115
tv-simulator 116
dynamic-smooth 117
spaceships 118
crazy-bees 119
ghost-rider 120
blobs 121
drift-rose 123
distortion-waves 124
soap 125
octopus 126
waving-cell 127
pixels 128
pixelwave 129
juggles 130
matripix 131
gravimeter 132
plasmoid 133
puddles 134
midnoise 135
noisemeter 136
freqwave 137
freqmatrix 138
geq 139
waterfall 140
freqpixels 141
noisefire 143
puddlepeak 144
noisemove 145
noise2d 146
perlin-move 147
ripple-peak 148
firenoise 149
squared-swirl 150
dna 152
matrix 153
metaballs 154
freqmap 155
gravcenter 156
gravcentric 157
gravfreq 158
dj-light 159
funky-plank 160
pulser 162
blurz 163
drift 164
waverly 165
sun-radiation 166
colored-bursts 167
julia 168
game-of-life 172
tartan 173
polar-lights 174
swirl 175
lissajous 176
frizzles 177
plasma-ball 178
flow-stripe 179
hiphotic 180
sindots 181
dna-spiral 182
black-hole 183
wavesins 184
rocktaves 185
akemi 186

Status 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/invalid text, an unknown effect name, both background and border, or invalid JSON body.
  • 401 - missing or incorrect Authorization header.
  • 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.