Mercurial > code > home > repos > homeauto
view service/pilight/readme @ 1259:672a3d830e7f
arduinoNode: build updates, stats support, etc
Ignore-this: 39386eb7644e3cf522e0f72a874eadba
darcs-hash:b6fa9fbda226917dd3b94d8a87556c4cd6d51180
author | drewp <drewp@bigasterisk.com> |
---|---|
date | Sat, 20 Apr 2019 23:28:29 -0700 |
parents | c4f69db56afd |
children |
line wrap: on
line source
GET / info PUT /led/0 <- '#ff0000' PUT /led <- '#ff0000' sets all GET /led/0 -> '#ff0000' GET /led -> ['#ff0000', '#ff0000'] json POST /image <- png; -> Location: /image/1 PUT /image/1 <- new png GET /image/1 -> png PUT /animationMode <- {mode: 'continuous', image: '/image/1', pxPerSec: 30} PUT /animationMode <- {mode: 'none'} GET /animationMode -> last input json