05 Dec 2026
Every December the same thing happens. My wife is in bed, reading on her Kobo, and says:
“Can you turn off the Christmas lights outside?”
Usually I’m the one who’s already half asleep. So this year I decided to solve the problem properly. If she’s holding an e-reader anyway, why can’t the e-reader turn off the lights?
🎄 The idea
We already run Home Assistant for most things in the house, including the Christmas tree and the outdoor Christmas lights. Both of our Kobos have NickelMenu installed, which lets you add your own items to the Kobo menu and run shell commands from them.
So the plan was simple:
- Add menu items on the Kobo: Julgran På/Av (Christmas tree on/off) and Julute På/Av (outdoor lights on/off).
- Let each button call Home Assistant over the local Wi-Fi.
- While I’m at it, add a Temperatur button that shows the temperature in every room. Nice to know before getting out from under the covers.
Here’s how all the pieces fit together. Home Assistant runs on a Raspberry Pi with a ConBee Zigbee USB stick. The Christmas tree is on an IKEA TRETAKT Zigbee plug, the outdoor lights are on two Tuya Wi-Fi plugs, and the temperatures come from eleven Zigbee sensors around the house.

💡 Controlling the lights
On the Home Assistant side there is a webhook automation. The Kobo calls a URL with the entity and the state it wants, and the automation turns it on or off. It only accepts calls from the local network, and only for entities on an allow list, so the Kobo can’t control anything else in the house.
triggers:
- trigger: webhook
webhook_id: <secret-id>
allowed_methods: [POST, GET]
local_only: true
variables:
allowed:
- switch.julgran
- light.julbelysning_utomhus
entity: "{{ trigger.query.entity | default('') }}"
state: "{{ trigger.query.state | default('toggle') }}"
conditions:
- "{{ entity in allowed }}"
- "{{ state in ['on', 'off', 'toggle'] }}"
actions:
- action: >-
{{ 'homeassistant.toggle' if state == 'toggle'
else 'homeassistant.turn_' ~ state }}
target:
entity_id: "{{ entity }}"
On the Kobo, a small script calls the webhook with BusyBox wget, and a NickelMenu file adds the buttons. Each button first asks the Kobo to connect to Wi-Fi, then runs the script:
menu_item :main :Julute Av :nickel_wifi :autoconnect
chain_success :cmd_output :8000:sh /mnt/onboard/.adds/ha/ha.sh light.julbelysning_utomhus off
One tap, and the lights outside go dark. Nobody has to get up.
🌡️ Temperatures on the Kobo
The temperature button works the other way around. Instead of the Kobo asking Home Assistant for every sensor, Home Assistant writes a small text file every five minutes into its www folder, which it serves at /local/. The Kobo just downloads the file and shows it in a popup.
The automation picks up every temperature sensor, labels it with its room, and adds a timestamp at the bottom so you can see how fresh the numbers are:
Arbetsrum: 20.8°C
Garage: 11.2°C
Kök: 23.7°C
Sovrum: 21.1°C
Vardagsrum: 23.6°C
...
Uppdaterad: 2026-12-05 14:10
🐛 The bug that took the longest
The first version of the shell_command looked perfectly reasonable:
kobo_temps: "printf '%s\\n' \"{{ text }}\" > /config/www/kobo_temps.txt"
It ran without errors, but the file never showed up and the URL returned 404. It turns out that when a shell_command contains a template, Home Assistant runs it without a shell, for safety. Without a shell, > isn’t a redirect, so printf simply printed > and the file path as extra text.
The fix is to start the shell yourself and pass the text in as an argument:
kobo_temps: >-
/bin/sh -c 'mkdir -p /config/www && printf "%s\n" "$1" > /config/www/kobo_temps.txt' kobo '{{ text }}'
A bonus is that the text is passed as $1, so nothing in it gets executed by the shell.
Two other small gotchas:
- NickelMenu’s
cmd_output timeout has to be under 10 seconds, so the script retries for about 8 seconds while Wi-Fi connects.
- The Kobo’s BusyBox
wget is very limited. It can’t send POST requests and has no SSL support at all, so HTTPS is out. That’s why the webhook accepts GET with the entity and state in the query string, and why everything runs over plain http:// on the local network.
🤖 Built together with Claude
I did most of this together with Claude Code. It talked to Home Assistant through the API to find the 404 bug, rewrote the temperature automation to use room names instead of “Temperatur Temperature” eleven times, and wrote the NickelMenu files directly to the Kobo over USB. When my wife’s Kobo was plugged in, it copied the same setup to hers.
✅ The result
Now the conversation goes like this:
“Can you turn off the Christmas lights outside?”
“There’s a button for that on your Kobo.”
She taps Julute Av, and the lights go out. Problem solved. 🎄
🔗 Open source projects used
13 Mar 2026
Day two at Vuejs.amsterdam continued the momentum with an equally impressive lineup of speakers diving into tooling evolution, accessibility, scaling experiences, and innovative architectural patterns.
Here are the standout insights from day two.
-
Evan You Creator of Vue.
Speaking on Improving Vue Language Tools and the state of the ecosystem, Evan highlighted the launch of Vite 8 with significant performance gains. Notably, Rolldown (the Rust-based bundler replacement) delivers 5-30% faster build times. Game changer for larger projects.
He also introduced VitePlus, positioning Vue’s toolchain as a truly unified solution for modern web development. One tool to rule them all!
Evan’s talk was truly intensive with a lot of releases and new stuff to cover.
-
Dragan Elijas.
With 7 years of Vue.js at scale, Dragan brought insights on maintaining large-scale Vue applications, emphasizing architectural patterns and team coordination strategies.
-
Tim Benniks.
Explored performance optimization strategies, drawing parallels to “Need for Speed Rivals”. The key insight was the importance of consistent, predictable performance in modern applications.
Presentation-wise, he delivered the A-game but maybe not too many takeaways.
♿ Accessibility: A Core Design Principle
- Julian Burr.
Focused on A11Y (Accessibility) as a gateway to Usability. Julian emphasized Dan Norman’s classic “The Design of Everyday Things,” arguing that accessibility isn’t a feature. Fundamental to great design. When you build for accessibility, you build for everyone.
I’ve added the book to my Reading List.
🏗️ Learning from Real-World Experience
- Louella Creemers, Microsoft MVP.
Shared “One Year of Vue.js Mistakes” a look at common pitfalls and lessons learned. Her insights bridged the gap between theory and practical development challenges.
📱 Local-First Architecture: The New Paradigm
- Alexander Opalic.
Introduced the concept of Local-First Software (based on the influential 2019 paper by Ink & Switch). Alexander explained how modern applications can prioritize offline-first capabilities using IndexedDB or SQLite as local data stores, with synchronization strategies like LWW (Last Write Wins) ensuring consistency. This shift enables better user experience, privacy, and resilience.
He also made a great pitch for the Local First Conf 2026 in July, Berlin. Would be great to visit!
🎯 Bundle Analysis & Tree-Shaking Pitfalls
- Serko Vincent Ngai, based in Hong Kong.
Tackled a critical but often overlooked issue: When Tree-Shaking Fails. Serko explained how side effects in dependencies (like z.objects()) can prevent proper tree-shaking, inflating bundle sizes. He recommended tools like vite-bundle-analyzer to visualize and debug these issues before they hit production.
Really enjoyed this talk from this great humble guy and it was his first visit in Europe.
🎨 Graphics & Web Interoperability
-
Ramona Schwering.
Presented “Let’s Draw Security” bringing attention to security considerations. Her whole presentation she drew with a pencil and gave a great visual representation of the domain and problem to solve.
-
Jakob Schröter and Helian Riviera.
Showcased PixiJS integration with Vue.js, demonstrating how to port a huge legacy app in an agile manner to a future proof Vue.js application and describing a lot of hurdles they had to overcome.
12 Mar 2026
An intense and inspiring two days at Vuejs.amsterdam. Great venue and awesome people in the midst of Amsterdam!
Here are the top insights from the leading voices from day one.
🚀 Core Vue & Nuxt Evolution
-
Eduardo San Martin Morote creator of Vue Router, Pinia.
You should really look into File-Based Routing: in Vue Router which I haven’t used yet.
Eduardo introduced Type-Safe URL/Paths 💯.
-
Guillaume Chau introduced rstore.
Powerful alternative for Pinia with quite a lot of transport protocols already implemented WS and offline-first.
-
Reza Baar emphasized “Thinking in Signals.”
Pro tip: Use shallowRef() for large data lists to optimize reactivity.
-
Daniel Roe leading Nuxt.
Me and Daniel have in common having climbed the “mountain” Arthur’s Seat.
-
Julien Huang stop making these mistakes in vue.js and Nuxt.
Issues could be Hydration mismatch or CLS (Cumulative Layout Shift).
🤖 The Rise of AI in Vue
-
Elise Patrikainen hosting the Paris vue.js meetup.
Showed how to build an MCP Sever for Vue using the Anthropic SDK, bridging the gap between LLMs and your local code.
new McpServer()
-
Rijk van Zanten Dutch in Brooklyn, NYC.
Talked about Agentic AI and building a Todo App where the AI agent interacts directly with Pinia, either showing the UI or communicating directly with the backend.
-
Jeroen de Kruijf Identity Specialist working for auth0.
talked about HITL (Human in the Loop) framework for Trustworthy AI.
-
Pooya Parsa creator of Nitro, h3, and unJS.
Pooya pushed the boundaries of the web by demonstrating an entire operating system built in the browser.
15 Sep 2018
Noticed that GitHub Pages gained support for HTTPS over customer domains. Actually quite a few months ago.
Adding HTTPS was a breeze. I just needed to update my DNS editor with four new IP address found here.
Wait five minutes for your newly configured DNS settings to spread around the Internet. Then reconfirm the DNS configuration with below command in the terminal window.
dig wramdemark.se +nostats +nocomments +nocmd
The above mentioned IP addresses should appear. After that I went into the Settings page on my GitHub Pages repository and re-added the custom domain. Voila, HTTPS spot on.
GitHub Pages are working together with the great organization Let’s Encrypt who is working for securing the Internet. I have already used Let’s Encrypt in other projects, for instance when running my home automation system, Home Assistant.
08 Oct 2017
Finally got this website up and runnig thanks to Jekyll, Lanyon and Github Pages. They have all been around for a couple of years, but I have missed them.
Jekyll is a static site generator, an open-source tool for creating simple yet powerful websites of all shapes and sizes.
Lanyon is the theme used for this web site. Great looking and perfect for a small blog site.
Github Pages is hosting the web site, so it’s all administered and version controlled through Github.