Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/opatut/statusled
https://github.com/opatut/statusled
Last synced: 14 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/opatut/statusled
- Owner: opatut
- Created: 2018-05-02T06:03:57.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-01-19T16:09:42.000Z (almost 6 years ago)
- Last Synced: 2023-03-11T13:35:00.719Z (almost 2 years ago)
- Language: JavaScript
- Size: 367 KB
- Stars: 1
- Watchers: 0
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# statusled
Tiny daemon and firmware for a RGB led that shows my coworkers how focused
I currently am.Listens to `POST localhost:8181/status/` and changes the color of the
LED, posts the current status to slack, and writes it with a time stamp to
a sqlite database. That means I can later check how long I was in which stage.I put up this little sign next to the LED:
![Howto](./docs/howto.svg)
## TODO
* [x] restore state from file on daemon boot
* [ ] detect suspends (e.g. setInterval in combination with time measurement) and store "off" into database at start of downtime