Skip to content

Latest commit

 

History

History
29 lines (23 loc) · 758 Bytes

README.md

File metadata and controls

29 lines (23 loc) · 758 Bytes

blink1-tiny-server

A simple HTTP to blink(1) gateway

To build:

cd blink1/commandline && make blink1-tiny-server

Usage:

usage:
  ./commandline/blink1-tiny-server [options]
where options are:
  -p <port> -- port to start server on

Supported URIs:
    /blink1/on  -- turn blink1 on full white
    /blink1/off -- turn blink1 off
    /blink1/red -- turn blink1 red #FF0000
    /blink1/green -- turn blink1 green #00FF00
    /blink1/blue  -- turn blin1 blue #0000FF
    /blink1/fadeToRGB?rgb=%23ff00ff&time=1.0  -- fade to a color over a time
    /blink1/blink?rgb=%23ff0ff&time=1.0&count=3 -- blink a color, with time & repeats