Mercurial > code > home > repos > homeauto
view service/pilight/readme @ 943:c4f69db56afd
start pilight server in go
Ignore-this: f10b5ce373b929bcedbe18b315f0abb9
darcs-hash:20140712183140-312f9-8d21e7d99f6b0453a62e85ffaacfc977afa4f1dd
author | drewp <drewp@bigasterisk.com> |
---|---|
date | Sat, 12 Jul 2014 11:31:40 -0700 |
parents | |
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