Commit Graph

  • 2ccef5931a Use tokio-process for chime mplayer subprocess master jrd 2021-02-01 02:19:45 -08:00
  • 39d4c225d1 Update to tokio v1, warp v0.3 jrd 2021-01-31 03:25:10 -08:00
  • b438d6cd26 alternate cargo config for when non-default gcc version installed jrd 2020-11-09 19:52:44 -08:00
  • e17c88873a simplify audio locking with local refcell rather than thread local jrd 2020-11-03 10:08:30 -08:00
  • 4a66223542 don't pass along already-ignored pin level to button handler jrd 2020-11-03 09:07:11 -08:00
  • fbb7dea664 simplify hue locking with local cell rather than global atomic jrd 2020-11-03 09:04:24 -08:00
  • 641fd5ae38 turn on patio light if off when doorbelled jrd 2020-10-29 09:13:16 -07:00
  • 9b147e05b4 Locking for hue control jrd 2020-10-29 09:06:58 -07:00
  • 0ae116acc3 slight refactoring of hacky hue routine jrd 2020-10-29 08:11:21 -07:00
  • 6e7e74205e Hacky hue flashing-- no locking multiple presses jrd 2020-10-29 07:43:00 -07:00
  • 1730f55d21 relax futures-util version constraint jrd 2020-10-29 06:42:03 -07:00
  • 429f8258bc reorder functions jrd 2020-10-29 06:41:40 -07:00
  • 85a69b2420 factor chime play into separate function jrd 2020-10-29 06:40:51 -07:00
  • ab961382ba Move audio playback to toplevel, out of sse stream generation jrd 2020-10-29 06:30:20 -07:00
  • f4d2280680 Factor warp config into separate function jrd 2020-10-29 06:06:48 -07:00
  • a0e3b256fb protect fragile animation-end callbacks jrd 2020-10-29 05:11:14 -07:00
  • 5f60cd2a1b Prompt user for interaction to enable sound when block by browser jrd 2020-10-29 04:59:20 -07:00
  • ab81bdb708 send ring events even if audio is playing jrd 2020-10-29 03:33:26 -07:00
  • b70f92f6f4 leave some extra space above status box jrd 2020-10-29 03:05:08 -07:00
  • 4bdcbcad20 flash background on ring event jrd 2020-10-29 03:00:48 -07:00
  • 55ff48e6a3 {dis}connection beeps for sse stream jrd 2020-10-28 22:04:32 -07:00
  • 1fb5b37949 tabular layout for status box jrd 2020-10-28 21:46:31 -07:00
  • 59e0643902 Format status box jrd 2020-10-28 21:41:29 -07:00
  • be65559f87 play indoor chime on ring jrd 2020-10-28 20:21:26 -07:00
  • 941038eece Outdoor chime filename as global constant jrd 2020-10-28 18:22:47 -07:00
  • 743d5f231c Check if audio is busy in separate function jrd 2020-10-28 18:05:21 -07:00
  • e173f58da1 Outdoor doorbell chime jrd 2020-10-28 18:01:54 -07:00
  • 9e8543610b ignore emacs desktop files jrd 2020-10-28 13:23:11 -07:00
  • 13f1203a65 Reconnect on error. Show connection status. Use JQuery. jrd 2020-10-22 12:45:23 -07:00
  • 2050daae13 shorten ping time jrd 2020-10-22 12:24:38 -07:00
  • 4f59b256f5 simplify client Vec management jrd 2020-10-22 12:23:08 -07:00
  • 117979704c Use standard pullup instead of pulldown to match debounce circuit jrd 2020-10-19 21:14:45 -07:00
  • fdac5e4848 Use unreleased version of 'rppal' w/ RPi 4 GPIO Pullup/down support jrd 2020-10-19 21:14:18 -07:00
  • c752289af1 send explicit pings to client jrd 2020-10-15 11:52:47 -07:00
  • dfbbe01a24 Log client disconnected on ring sse jrd 2020-10-15 11:44:40 -07:00
  • f39303175c Timestamps in log lines jrd 2020-10-15 11:41:56 -07:00
  • 71c62dc6a2 Enqueue sse ring directly from interrupt. SmallVec for client list jrd 2020-10-14 13:32:23 -07:00
  • 069099c7bb button presses -> sse -> web display jrd 2020-10-14 12:58:31 -07:00
  • 3b86c9fe21 use async interrupt. blank web service. jrd 2020-10-13 13:32:32 -07:00
  • 6d3d0fee0f Register button presses jrd 2020-10-13 11:44:02 -07:00
  • 5b52c6a78e cross-build for arm/rpi jrd 2020-10-12 17:42:41 -07:00
  • b7ec56c394 New project: doorbell jrd 2020-10-12 16:18:24 -07:00