geerlingguy / raspberry-pi-dramble

DEPRECATED - Raspberry Pi Kubernetes cluster that runs HA/HP Drupal 8
http://www.pidramble.com/
MIT License
1.66k stars 260 forks source link

Replace Blinkstick with Adafruit Neo Trinkey #209

Open jpconstantineau opened 3 years ago

jpconstantineau commented 3 years ago

Would it be possible to change the expensive Blinkstick with the cheaper Adafruit Neo Trinkey? It's about 7$ compared to €16.50 (about 20$), not including shipping.

The Trinkey runs CircuitPython too. As such, it would be possible to add basic serial port functionality and program it to respond to serial commands from the computer to make it run similar to a Blinkstick and even extend it to do more interesting things (it has 2 touch keys).

geerlingguy commented 3 years ago

That would definitely be doable, I just haven't tested anything with a Trinkey :)

geerlingguy commented 3 years ago

Would be neat to have different modes, like switch between blinking when there's network activity vs showing red/green for kubelet status.

jpconstantineau commented 3 years ago

The trinkeys have 4 RGB LEDs. Not sure yet from a distance how much they blend in or if one can differentiate between them. This means that multiple statuses could be displayed.

Just for reference when I receive my Trinkeys... There is example code to set this up on the Trinkey side: https://github.com/Neradoc/circuitpython-sample-scripts/tree/main/serial

I'll need help on the server side.

stale[bot] commented 2 years ago

This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!

Please read this blog post to see the reasons why I mark issues as stale.

stale[bot] commented 2 years ago

This issue has been closed due to inactivity. If you feel this is in error, please reopen the issue or file a new issue with the relevant details.

jpconstantineau commented 2 years ago

Hi Jeff.
Found out this great repo that will help kick things off on this. Specifically the serial examples.