1
0
Fork 0
 
 
 
 
Go to file
dependabot[bot] edf95e9c9b Bump minimatch from 3.0.4 to 3.1.2 in /clients/switch
Bumps [minimatch](https://github.com/isaacs/minimatch) from 3.0.4 to 3.1.2.
- [Release notes](https://github.com/isaacs/minimatch/releases)
- [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md)
- [Commits](https://github.com/isaacs/minimatch/compare/v3.0.4...v3.1.2)

---
updated-dependencies:
- dependency-name: minimatch
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-09 14:00:13 +08:00
clients/switch Bump minimatch from 3.0.4 to 3.1.2 in /clients/switch 2023-02-09 14:00:13 +08:00
framebuffer Bump versions, improve and simplify server 2020-04-22 14:48:24 +08:00
.gitignore Initial client scaffold 2019-04-12 18:54:37 +08:00
LICENSE Add MPL license 2019-04-12 17:06:05 +08:00
README.md Add reason for name 2019-04-12 16:40:41 +08:00
_config.yml Set theme jekyll-theme-cayman 2019-04-12 16:18:16 +08:00
draw.go Bump versions, improve and simplify server 2020-04-22 14:48:24 +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 Bump versions, improve and simplify server 2020-04-22 14:48:24 +08:00
go.sum Bump versions, improve and simplify server 2020-04-22 14:48:24 +08:00
main.go Bump versions, improve and simplify server 2020-04-22 14:48:24 +08:00
server.go Bump versions, improve and simplify server 2020-04-22 14:48:24 +08:00

README.md

leet

Pronounced as "lit". Environmental lighting over gRPC

TODO

  • Create lighting client, with tempreature setting
  • Create a color cycle client for when I'm partying alone because I'm lonely
  • Write an Android app that taps onto new system notifications
  • Write an IMAP client that polls for new emails
  • Make the server more generic
    • Configuration for service overlay priorities
    • Queues for each layer, to enable sharing of layers
  • Attempt some audio visualisations

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