Commit Graph

33 Commits

Author SHA1 Message Date
Michael Hope c7d0f0e03b wordclock: finish implementing mqtt dimming support 2024-03-03 11:18:14 +01:00
Michael Hope ac77aa9ed1 wordclock: rename secrets to local_secrets to prevent colliding with the stdlib 2024-03-03 10:29:54 +01:00
Michael Hope c3ff8528bd wordclock: move lib/ files to root on the device and improve stamping 2024-03-03 10:29:13 +01:00
Michael Hope 840728ed05 wordclock: add typing everywhere 2024-03-01 17:13:18 +01:00
Michael Hope a0e254d964 wordclock: tidy up the Makefile and compile the modules 2024-02-29 21:39:00 +01:00
Michael Hope d537de05fc wordclock: drop the duplicate WLAN setup 2024-02-27 08:06:31 +01:00
Michael Hope a8c6c04e11 wordclock: run black and isort 2024-02-27 08:05:22 +01:00
Michael Hope e7d92b5013 wordclock: update to work with the latest MicroPython 2024-02-27 07:58:25 +01:00
Michael Hope ffead18f6e wordclock: add the copyrights everywhere 2020-12-01 21:15:19 +01:00
Michael Hope af5e3d44b8 wordclock: various tidy ups
Handle more errors so the clock doesn't stop.

Reset if any other exception occurs.

Handle an empty response from iptime.

Blink less often.

Dim the clock outside hours.
2020-11-29 20:51:54 +01:00
Michael Hope a08ad836c2 iptime: update to match astral 2.2 2020-10-25 19:53:32 +00:00
Michael Hope 8573ab58c1 iptime: cache the external IP 2020-01-05 13:44:19 +01:00
Michael Hope c2a63719a9 iptime: add Prometheus metrics 2020-01-02 15:40:29 +01:00
Michael Hope 1c86e5c746 iptime: also support requests from localhost. 2020-01-02 11:37:04 +01:00
Michael Hope 7750379117 iptime: add the missing requests dependency. 2020-01-02 11:34:25 +01:00
Michael Hope 52a984c726 iptime: fix the pyflake8 errors 2020-01-02 11:32:47 +01:00
Michael Hope 721c9fe70b iptime: added a setup script and tests 2020-01-02 11:27:54 +01:00
Michael Hope 4a3cf46a58 Added a license and basic readme. 2019-03-10 20:35:33 +01:00
Michael Hope 34f63bac66 hw: imported the SCAD and rendered layers 2019-03-10 20:35:03 +01:00
Michael Hope 67dfd2e378 src: renamed hw to src 2018-12-29 16:55:08 +01:00
Michael Hope 86a5c4d90e Added .gitignore 2018-12-29 16:54:53 +01:00
Michael Hope a07a986168 worldclock: improve performance, add intensity scaling.
Now does ~25 FPS when transitioning.  Fades based on intensity instead
of PWM level.
2018-12-29 16:28:55 +01:00
Michael Hope 018f224745 wordclock: created v1 2018-12-29 14:24:16 +01:00
Michael Hope 5fd0345df8 worldclock: add a blink and benchmark coroutine. 2018-12-10 16:34:22 +01:00
Michael Hope fc66f73494 iptime: switch to the real retry time. 2018-12-10 16:33:52 +01:00
Michael Hope 67ecf3b1bf asynced: allow fps() to ignore the first run and to catch up. 2018-12-10 16:33:33 +01:00
Michael Hope f11308e4e8 wordclock: added a Makefile, main 2018-12-10 15:53:00 +01:00
Michael Hope 8174e85c90 wordclock: moved to circuitpython, fixed esp8266 bugs 2018-12-10 15:52:34 +01:00
Michael Hope b82355d215 iptime: add a systemd file 2018-12-09 16:08:07 +01:00
Michael Hope 03fa7d15f7 iptime: lookup the external IP address if this comes from inside the network. 2018-12-09 16:07:46 +01:00
Michael Hope ff24f10caa hw: broke out the modules, added the iptime client. 2018-12-05 01:53:28 +00:00
Michael Hope 15a4c70b52 clock: moved files, added requirements.txt 2018-12-01 03:35:12 +00:00
Michael Hope 20a077d5d0 clock: initial commit. 2018-11-30 16:38:29 +00:00