You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Ambrose Chua 8bbfe3b4ae
Merge pull request #1 from serverwentdown/dependabot/npm_and_yarn/clients/switch/ini-1.3.7
2 weeks ago
clients/switch Bump ini from 1.3.5 to 1.3.7 in /clients/switch 2 months ago
framebuffer Bump versions, improve and simplify server 10 months ago
.gitignore Initial client scaffold 1 year ago
LICENSE Add MPL license 1 year ago
README.md Add reason for name 1 year ago
_config.yml Set theme jekyll-theme-cayman 1 year ago
draw.go Bump versions, improve and simplify server 10 months ago
draw_test.go Initial API 1 year ago
get-ws281x.sh Initial API 1 year ago
go.mod Bump versions, improve and simplify server 10 months ago
go.sum Bump versions, improve and simplify server 10 months ago
main.go Bump versions, improve and simplify server 10 months ago
server.go Bump versions, improve and simplify server 10 months ago

README.md

leet

Pronounced as "lit". Environmental lighting over gRPC

TODO

WTF?!

At home, I have a strip of 287 WS2812B LEDs connected to a Raspberry Pi, that needs to be used as a light, mood lighting, and for notifications. I don't want to be a typical person and write a monolithic application, so leet is a simple gRPC server that renders basic opacity composition and buffered animations onto the LED strip. This also enables me to add additional sources of data in the future from anywhere on my home network, including servers, phones and your IoT Blockchain AI appliances.

Architecture

 -------------------         ---------------
 | Lighting Web UI |  -------| IMAP Client |
 -------------------  |      ---------------
           |          |
 -------------------- | --------------------------
 | Lighting Backend | | | Server Load Monitoring |
 -------------------- | --------------------------
           |          |              |
        ----------------------------------  -----------------
        |    Leet on the Raspberry Pi    |--| WS2812B Strip |
        ----------------------------------  -----------------

Protocol

See framebuffer.proto for the actual gRPC protocol

Developing

  1. Install protoc and protoc-gen-go
  2. Install the rpi_ws281x library: ./get-ws2812x.sh (WARNING: this installs four files into /usr/local)
  3. Get dependencies: go get
  4. Start building with go build