1
0
Fork 0
 
 
 
 
Go to file
Ambrose Chua f3403d6196 Add initial readme diagrams 2019-04-12 15:42:20 +08:00
framebuffer Initial API 2019-04-12 15:11:11 +08:00
.gitignore Initial API 2019-04-12 15:11:11 +08:00
README.md Add initial readme diagrams 2019-04-12 15:42:20 +08:00
draw.go Initial API 2019-04-12 15:11:11 +08:00
draw_test.go Initial API 2019-04-12 15:11:11 +08:00
get-ws281x.sh Initial API 2019-04-12 15:11:11 +08:00
go.mod Initial API 2019-04-12 15:11:11 +08:00
go.sum Initial API 2019-04-12 15:11:11 +08:00
main.go Initial API 2019-04-12 15:11:11 +08:00
server.go Initial API 2019-04-12 15:11:11 +08:00

README.md

leet

Environmental lighting over gRPC (WTF?!)

WTF?!

At home, I have a strip of 287 WS2812Bs 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 aditional 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 |
        ----------------------------------  -----------------