Mercurial > code > home > repos > homeauto
view service/pilight/readme @ 449:ef7eba0551f2
collector partial py3+types update. WIP
Ignore-this: 3fe8cc7b09bbfc8bec7f5d6a5e1630b
author | drewp@bigasterisk.com |
---|---|
date | Thu, 18 Apr 2019 22:00:06 -0700 |
parents | cc04b6af0477 |
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