diff options
author | Dante Catalfamo | 2021-02-11 00:37:22 -0500 |
---|---|---|
committer | Dante Catalfamo | 2021-02-11 00:37:22 -0500 |
commit | 0fcb4bcacb8fbf61a365d9b71d72ecdab32e2d26 (patch) | |
tree | e69f911326c9501b7d1433c94126f551d6b946e3 /content/posts/org-agenda-eink/index.org | |
parent | 2164f7a682899545a451b55ce4a73a4fdfee940b (diff) | |
download | blog-0fcb4bcacb8fbf61a365d9b71d72ecdab32e2d26.tar.gz blog-0fcb4bcacb8fbf61a365d9b71d72ecdab32e2d26.tar.bz2 blog-0fcb4bcacb8fbf61a365d9b71d72ecdab32e2d26.zip |
More changes to eink
Diffstat (limited to 'content/posts/org-agenda-eink/index.org')
-rw-r--r-- | content/posts/org-agenda-eink/index.org | 54 |
1 files changed, 24 insertions, 30 deletions
diff --git a/content/posts/org-agenda-eink/index.org b/content/posts/org-agenda-eink/index.org index 7105f26..601fabe 100644 --- a/content/posts/org-agenda-eink/index.org +++ b/content/posts/org-agenda-eink/index.org @@ -7,49 +7,43 @@ #+SLUG: #+SUMMARY: -I recently made a [[{{< ref "/posts/org-agenda-new-tab" >}}][post]] about how I was able to configure my new tab -page to display my org agenda. Since then I've been working on another -project similar to that, trying to take the concept even further. +I recently made a [[{{< ref "/posts/org-agenda-new-tab" >}}][post]] about how I was able to configure the new tab +page in my browser to display my org agenda. Since then I've been +working on another project similar to that, trying to take the concept +even further. A while ago I purchased an [[https://inkplate.io/][Inkplate 6]] during its crowd funding stage -on [[https://www.crowdsupply.com/e-radionica/inkplate-6][crowd source]], with the exact intention of creating something like +on [[https://www.crowdsupply.com/e-radionica/inkplate-6][Crowd Supply]], with the exact intention of creating something like this. -Immediately after writing that blog post, I started working to change -[[https://github.com/dantecatalfamo/agenda-html][agenda-html]] in order to make render an output which would be -acceptable for this project. - At the core of the Inkplate 6 is the [[https://www.espressif.com/en/products/socs/esp32][ESP32]]. An [[https://www.arduino.cc/][Arduino]]-compatible -micro-controller which has built-in WiFi and Bluetooth. It draws very -little power, which makes it ideal for something like this, which -stays on 24/7. It also has the benefit of being able to draw from the +micro-controller which has integrated Bluetooth and WiFi. It draws +very little power, which makes it ideal for something like this, as I +leave on 24/7. It also has the benefit of being able to pull from the Arduino community, benefiting from the many libraries people have created. -The way it works is very similar to the org agenda new tab page. The -server-side cron job, instead of exporting exclusively to HTML, also -exports a text version of the agenda. The ESP32 then fetches this text -and prints it verbatim onto the screen. This happens on a loop every 5 -minutes, so it's always up to date with any changes I make to my org -files. The sketch for this project can be found on my github [[https://github.com/dantecatalfamo/inkplate-agenda][here]]. +The way it works is very similar to the org agenda new tab page. It +leverages the exact same [[https://github.com/dantecatalfamo/agenda-html][agenda-html]] script, which has been modified +to export a text version of the agenda, as well as the HTML version I +already used. This script is run by a cron job every 5 minutes. The +ESP32 fetches this text agenda export and prints it verbatim onto the +screen. This happens on a loop, also every 5 minutes, so it's always +up to date with any changes I make to my org files. The Arduino sketch +for this project can be found on my github [[https://github.com/dantecatalfamo/inkplate-agenda][here]]. To make the output look as good as possible for display, before exporting to a text file I replace all links with just their description text. I do the conversion because I have a lot of links in my org agenda, and if I don't the full link markup text would show up -in the export. It would look like the full -=[[https://example.com][Description]]= instead of just =Description=, -which would be quite ugly and takes up a lot of horizontal space. - -I also shortened the server-side cron job repeat rate to every 5 -minutes instead of 15, so it would work better with time-stamped -events. It also reflect new tasks and TODOs much more quickly, at -practically zero cost. - -This project has many benefits, at least to me. First and foremost, I -can check my org agenda without even turning on my computer. It's -always on, so I can check it out any time without having to open -either a new tab in my browser or Emacs. +in the export. It would look like +=[[https://example.com][Description]]= instead of =Description=, which +would be quite ugly and takes up a lot of horizontal space. + +This project been hugely beneficial for me. First and foremost, I can +check my org agenda without even turning on my computer. It's always +on, so I can check it out any time without having to open either a new +tab in my browser or Emacs. Being an eink display is very important, as it's not bright and distracting, and doesn't need to be turned off at night. It sort of |