<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Mark's Thoughts</title><link>https://www.markwilson.co.uk/thoughts/</link><description>markwilson.it, rebooted for 2026 and beyond...</description><generator>Hugo</generator><language>en-GB</language><managingEditor>markw@markwilson.co.uk (Mark Wilson)</managingEditor><webMaster>markw@markwilson.co.uk (Mark Wilson)</webMaster><copyright>© 2004-2026, Mark Wilson</copyright><lastBuildDate>Thu, 12 Nov 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://www.markwilson.co.uk/thoughts/rss.xml" rel="self" type="application/rss+xml"/><xhtml:meta content="noindex" name="robots" xmlns:xhtml="http://www.w3.org/1999/xhtml"/><item><title>Škoda Journey Atlas</title><link>https://www.markwilson.co.uk/thoughts/2026/11/12/skoda-journey-atlas/</link><pubDate>Thu, 12 Nov 2026 00:00:00 +0000</pubDate><author>markw@markwilson.co.uk (Mark Wilson)</author><guid>https://www.markwilson.co.uk/thoughts/2026/11/12/skoda-journey-atlas/</guid><description>&lt;p&gt;I&amp;rsquo;d only had my new car for a few days when I found myself building software to work around one of its shortcomings. Not the car itself, which I&amp;rsquo;m enjoying driving, but the journey history recorded by the MyŠkoda app.&lt;/p&gt;
&lt;p&gt;The MyŠkoda connected car app records useful statistics about each journey, including distance, duration and energy consumption. It also displays each journey on its own small map, with intermediate points where the car has stopped. Unfortunately, the data can be rather sketchy. In the first few days I&amp;rsquo;ve encountered incomplete location information, missing journeys and inconsistencies between what the app displays and what it exports to CSV. In particular, intermediate stops visible in the app aren&amp;rsquo;t included in the export. Some journeys only appear after MyŠkoda has processed them overnight, so what initially looks like missing data may simply be delayed. And sometimes, getting a complete and reliable export from MyŠkoda is less straightforward than it should be.&lt;/p&gt;
&lt;p&gt;I wanted to see all my journeys together, correct incomplete records and build up a history that I could keep. And, while MyŠkoda knows where a journey started and finished, that isn&amp;rsquo;t necessarily enough to work out which roads I travelled.&lt;/p&gt;
&lt;h2 id="introducing-škoda-journey-atlas"&gt;Introducing Škoda Journey Atlas&lt;/h2&gt;
&lt;p&gt;The result is &lt;a href="https://github.com/mark-wilson/skoda-journey-atlas"&gt;&lt;strong&gt;Škoda Journey Atlas&lt;/strong&gt;&lt;/a&gt;, a free, open-source companion to MyŠkoda.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://www.markwilson.co.uk/thoughts/images/skoda-journey-atlas-overview.png" alt="Škoda Journey Atlas showing four demonstration journeys on an interactive map"&gt;&lt;/p&gt;
&lt;p&gt;Journey Atlas imports journey statistics from MyŠkoda&amp;rsquo;s CSV exports and displays them on an interactive map. It can estimate road routes between recorded locations, which can be refined by adding shaping points, intermediate stops, charging stops and turnarounds. It can also correct locations and times, add notes, mark journeys for review and compare the distance recorded by MyŠkoda with the estimated road distance.&lt;/p&gt;
&lt;p&gt;The distinction between recorded and estimated information matters. Journey Atlas doesn&amp;rsquo;t recover a GPS track that MyŠkoda hasn&amp;rsquo;t exported. It reconstructs a plausible route using the information available, supplemented by points added manually.&lt;/p&gt;
&lt;p&gt;For mapping, it uses &lt;a href="https://openfreemap.org/"&gt;OpenFreeMap&lt;/a&gt;, which provides maps based on &lt;a href="https://www.openstreetmap.org/"&gt;OpenStreetMap&lt;/a&gt; data, rendered using &lt;a href="https://maplibre.org/"&gt;MapLibre GL JS&lt;/a&gt; and &lt;a href="https://leafletjs.com/"&gt;Leaflet&lt;/a&gt;. Road routing is handled by &lt;a href="https://project-osrm.org/"&gt;OSRM&lt;/a&gt;. It&amp;rsquo;s a useful combination of open-source technologies that avoids the need for commercial mapping API keys.&lt;/p&gt;
&lt;h2 id="keeping-things-simple"&gt;Keeping things simple&lt;/h2&gt;
&lt;p&gt;I wanted something lightweight rather than another online service. Journey Atlas is written in HTML, CSS and JavaScript, with no server, database or installation process. Download the files, open &lt;code&gt;index.html&lt;/code&gt; in a browser and import a CSV export from MyŠkoda.&lt;/p&gt;
&lt;p&gt;Journeys and corrections are stored locally in the browser, with JSON backup and restore functionality to preserve the data or move it elsewhere. Subsequent CSV imports are checked for duplicates and possible revisions, so it&amp;rsquo;s possible to build up a history without repeatedly importing the same records. Map tiles and routing still use external services, but there&amp;rsquo;s no central Journey Atlas database holding anyone&amp;rsquo;s travel history.&lt;/p&gt;
&lt;p&gt;I developed the application with assistance from &lt;a href="https://chatgpt.com/"&gt;ChatGPT&lt;/a&gt;, which made it possible to quickly move from an idea to working software. That didn&amp;rsquo;t mean everything worked first time. We spent considerable time refining the import process, route editing, map controls and handling of incomplete records. As with any AI-assisted development, understanding the problem, making design decisions and testing the results remained essential.&lt;/p&gt;
&lt;h2 id="a-public-beta"&gt;A public beta&lt;/h2&gt;
&lt;p&gt;I&amp;rsquo;ve published &lt;a href="https://github.com/mark-wilson/skoda-journey-atlas/releases/tag/v1.0.0-beta.1"&gt;v1.0.0-beta.1&lt;/a&gt; on GitHub under the MIT licence, along with a user guide and a backlog of possible enhancements. I&amp;rsquo;m particularly interested in adding energy-efficiency analysis, using the journey statistics to explore trends in consumption over time.&lt;/p&gt;
&lt;p&gt;For now, though, I&amp;rsquo;d like to see how it works for other Škoda owners. I&amp;rsquo;ve developed and tested Journey Atlas using my 2026 Enyaq, running vehicle software 6.0.1, and MyŠkoda for iOS v8.18.0. Other vehicles and app versions may produce different exports, so feedback and bug reports are welcome through GitHub Issues. Just be careful not to share personal journey data in public reports.&lt;/p&gt;
&lt;p&gt;Journey Atlas won&amp;rsquo;t fix the underlying problems with MyŠkoda&amp;rsquo;s data, but it does give me a way to make better use of what the app records, correct what I know is wrong and preserve a more useful history of my travels. What started as a minor frustration with a new car has turned into an open-source project that I hope others will find useful too.&lt;/p&gt;
&lt;p&gt;Although Journey Atlas currently supports MyŠkoda exports, there&amp;rsquo;s no reason the underlying approach couldn&amp;rsquo;t work with connected car apps from other manufacturers. Indeed, I had intended to do something similar with the data from the Volvo I previously drove. The main challenge would be adapting the import process to their data formats. For now, I&amp;rsquo;m concentrating on making the Škoda experience work well, but broader compatibility could be an interesting direction for the future.&lt;/p&gt;
</description></item><item><title>Monitoring EV charging and costs with Home Assistant</title><link>https://www.markwilson.co.uk/thoughts/2026/11/09/monitoring-ev-charging-costs-home-assistant/</link><pubDate>Mon, 9 Nov 2026 00:00:00 +0000</pubDate><author>markw@markwilson.co.uk (Mark Wilson)</author><guid>https://www.markwilson.co.uk/thoughts/2026/11/09/monitoring-ev-charging-costs-home-assistant/</guid><description>&lt;p&gt;After eight years with my Volvo V60, I&amp;rsquo;ve made the switch to electric motoring with a new Škoda Enyaq 85. The Volvo had some useful connected services, including checking whether I&amp;rsquo;d locked the doors and remotely starting the car on cold winter mornings. But an electric vehicle introduces a whole new set of data to explore, particularly around battery charge, energy consumption and electricity costs.&lt;/p&gt;
&lt;p&gt;I wanted to bring that data into &lt;a href="https://www.home-assistant.io/"&gt;Home Assistant&lt;/a&gt;.&lt;/p&gt;
&lt;h2 id="getting-started"&gt;Getting started&lt;/h2&gt;
&lt;p&gt;My Enyaq arrived on 5 November, although the &lt;a href="https://octopus.energy/octopus-charge/"&gt;Octopus Charge&lt;/a&gt; home charger, supplied as part of the lease, had been installed during the summer.&lt;/p&gt;
&lt;p&gt;Unfortunately, after the car was delivered, I found my charger wasn&amp;rsquo;t playing ball. A visit to a nearby InstaVolt rapid charger confirmed that the car could charge, and Octopus Energy support subsequently resolved the problem by remotely resetting the home charger.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://www.markwilson.co.uk/thoughts/images/skoda-enyaq-charging-instavolt.jpg" alt="Testing public charging at a local InstaVolt charging station" title="Testing public charging at a local InstaVolt charging station"&gt;&lt;/p&gt;
&lt;p&gt;After the charger was remotely reset, I was able to confirm that it worked with a short boost charge, and then I left it for a full, scheduled overnight charge..&lt;/p&gt;
&lt;h2 id="bringing-the-data-into-home-assistant"&gt;Bringing the data into Home Assistant&lt;/h2&gt;
&lt;p&gt;The timing was fortunate. Home Assistant 2026.11, released the day before my car arrived, introduced an &lt;a href="https://www.home-assistant.io/integrations/skoda/"&gt;official Škoda integration&lt;/a&gt;. After enabling the Smart Home API in MyŠkoda and obtaining an API key, I could access battery level, estimated range, charging status and charging power in Home Assistant.&lt;/p&gt;
&lt;p&gt;The integration uses Škoda&amp;rsquo;s cloud service, so updates aren&amp;rsquo;t instantaneous, but they&amp;rsquo;re frequent enough for monitoring charging.&lt;/p&gt;
&lt;p&gt;I already had the community-developed &lt;a href="https://github.com/BottlecapDave/HomeAssistant-OctopusEnergy"&gt;Octopus Energy integration&lt;/a&gt;, together with an &lt;a href="https://octopus.energy/blog/octopus-home-mini/"&gt;Octopus Home Mini&lt;/a&gt;, providing electricity pricing and near-real-time household demand.&lt;/p&gt;
&lt;p&gt;Combining these data sources makes it possible to monitor charging alongside household electricity consumption and estimate the associated costs.&lt;/p&gt;
&lt;h2 id="calculating-charging-costs"&gt;Calculating charging costs&lt;/h2&gt;
&lt;p&gt;I&amp;rsquo;m currently on an Octopus fixed tariff rather than an Intelligent EV tariff. My overnight electricity costs approximately 9.48p/kWh between 00:30 and 07:30, compared with around 25.42p/kWh during the day. Although Intelligent tariffs offer cheaper overnight electricity, my existing tariff provides seven hours at the lower rate (rather than six), with a lower daytime rate. Given our household&amp;rsquo;s annual electricity consumption of around 6000kWh before adding the car, the whole-house cost matters.&lt;/p&gt;
&lt;p&gt;To estimate charging costs (and with assistance from ChatGPT), I created five Home Assistant helpers. These accumulate the car&amp;rsquo;s reported charging power to calculate energy consumption in kWh, and combine that power with the current Octopus electricity rate to estimate costs. Daily totals are calculated using Utility Meters.&lt;/p&gt;
&lt;p&gt;The results aren&amp;rsquo;t billing-grade measurements. Charging losses and delays in cloud telemetry introduce some uncertainty, and the calculation currently applies my domestic tariff even when charging away from home. That&amp;rsquo;s a limitation I&amp;rsquo;d like to address, eventually.&lt;/p&gt;
&lt;h2 id="the-dashboard"&gt;The dashboard&lt;/h2&gt;
&lt;p&gt;Next, I built a dedicated Home Assistant dashboard that brings everything together.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://www.markwilson.co.uk/thoughts/images/home-assistant-ev-dashboard-redacted.png" alt="EV Charging dashboard in Home Assistant (redacted)" title="EV Charging dashboard in Home Assistant (redacted)"&gt;&lt;/p&gt;
&lt;p&gt;It has three sections: vehicle information and charging totals; 24-hour graphs of charging power, battery level and electricity pricing; and household electricity demand with the current tariff.&lt;/p&gt;
&lt;p&gt;I also added mobile notifications for starting and stopping charging, with a two-minute delay to avoid transient state changes. The MyŠkoda app already notifies me when charging ends, but the Home Assistant charging-start notification is useful confirmation that a scheduled charge has actually begun.&lt;/p&gt;
&lt;p&gt;None of this requires my Home Assistant installation to be exposed directly to the Internet. It retrieves the vehicle information from Škoda&amp;rsquo;s cloud service, and notifications can be delivered to my phone.&lt;/p&gt;
&lt;h2 id="sharing-the-configuration"&gt;Sharing the configuration&lt;/h2&gt;
&lt;p&gt;I&amp;rsquo;ve published the dashboard, five helpers and two optional notification automations as a documented, anonymised GitHub Gist, released under the MIT licence: &lt;a href="https://gist.github.com/mark-wilson/08af39674f49a098a7887d2d95ff4dad"&gt;Škoda Enyaq EV charging dashboard for Home Assistant&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This configuration has been developed and tested with my 2026 Škoda Enyaq 85. However, the underlying techniques — monitoring charging power, estimating energy consumption and costs, and triggering notifications from charging status changes — should be adaptable to other vehicle manufacturers with suitable Home Assistant integrations. The Gist explains what&amp;rsquo;s needed to reproduce the setup.&lt;/p&gt;
&lt;h2 id="whats-next"&gt;What&amp;rsquo;s next?&lt;/h2&gt;
&lt;p&gt;I&amp;rsquo;d particularly like to distinguish charging at home from charging elsewhere, so that public charging isn&amp;rsquo;t incorrectly priced at my domestic electricity rate. &lt;a href="https://github.com/BottlecapDave/HomeAssistant-OctopusEnergy/pull/1854"&gt;Work in progress on the Octopus Energy integration&lt;/a&gt; may eventually expose more information from Octopus Charge to help with this.&lt;/p&gt;
&lt;p&gt;For now, I have a useful view of when my Enyaq is charging, how much energy it&amp;rsquo;s consuming and approximately what it&amp;rsquo;s costing me. Not bad for the first few days of EV ownership.&lt;/p&gt;
</description></item><item><title>Two Zigbee pairing tricks I wish I'd known earlier</title><link>https://www.markwilson.co.uk/thoughts/2026/11/08/zigbee-pairing-touchlink-zha-router/</link><pubDate>Sun, 8 Nov 2026 00:00:00 +0000</pubDate><author>markw@markwilson.co.uk (Mark Wilson)</author><guid>https://www.markwilson.co.uk/thoughts/2026/11/08/zigbee-pairing-touchlink-zha-router/</guid><description>&lt;h1 id="two-zigbee-pairing-tricks-i-wish-id-known-earlier"&gt;Two Zigbee pairing tricks I wish I&amp;rsquo;d known earlier&lt;/h1&gt;
&lt;p&gt;During my migration from Philips Hue to Home Assistant&amp;rsquo;s Zigbee Home Automation (ZHA) integration, I spent a surprising amount of time persuading smart bulbs to join the network. Most behaved, but a few were less cooperative (there&amp;rsquo;s a reason that IKEA TRÅDFRI bulbs were cheap&amp;hellip;).&lt;/p&gt;
&lt;p&gt;I&amp;rsquo;d been using ChatGPT to help troubleshoot a particularly stubborn IKEA GU10 spotlight. It was being discovered by ZHA but repeatedly failing to complete its interview. ChatGPT concentrated on analysing the Zigbee logs, investigating routing and security errors, and suggesting changes to the pairing environment. Despite all that investigation, we weren&amp;rsquo;t getting anywhere.&lt;/p&gt;
&lt;p&gt;When I Googled for another perspective, I got some AI results from Gemini. Rather than concentrating on why the pairing was failing, Gemini suggested two alternative ways to approach the problem. Neither ultimately fixed the IKEA bulb, but both proved useful elsewhere in the migration.&lt;/p&gt;
&lt;h2 id="resetting-a-bulb-with-a-philips-hue-dimmer"&gt;Resetting a bulb with a Philips Hue dimmer&lt;/h2&gt;
&lt;p&gt;The first technique uses a Philips Hue dimmer switch to perform a TouchLink reset on a compatible Zigbee bulb.&lt;/p&gt;
&lt;p&gt;TouchLink is a Zigbee mechanism that can be used for commissioning and resetting certain lighting devices. Importantly, it can work without the bulb being connected to the same Zigbee network as the dimmer.&lt;/p&gt;
&lt;p&gt;With the dimmer held very close to the bulb, pressing and holding the &lt;strong&gt;On and Off buttons together for approximately 15 seconds&lt;/strong&gt; can initiate a reset. I used this successfully with an Innr bulb in my son&amp;rsquo;s bedroom. The bulb had become unavailable on Hue, possibly because it was powered off when the Hue Bridge changed Zigbee channels. After resetting it, I was able to pair it with ZHA. The same technique didn&amp;rsquo;t work with the troublesome IKEA GU10, so compatibility shouldn&amp;rsquo;t be assumed.&lt;/p&gt;
&lt;p&gt;There is also a reason to be careful with TouchLink. During an earlier experiment using Hue Essentials, I accidentally transferred a nearby Innr bulb from ZHA to Hue instead of targeting the IKEA bulb I was trying to recover. Fortunately, I was able to reset and rejoin the Innr bulb to ZHA, but the experience demonstrated that TouchLink can affect a device other than the intended target. If there are other Zigbee bulbs nearby, it&amp;rsquo;s sensible to switch them off before experimenting.&lt;/p&gt;
&lt;h2 id="adding-devices-through-a-specific-zigbee-router"&gt;Adding devices through a specific Zigbee router&lt;/h2&gt;
&lt;p&gt;The second technique is a feature of ZHA that I&amp;rsquo;d completely overlooked.&lt;/p&gt;
&lt;p&gt;Normally, when adding a Zigbee device in Home Assistant, I go to &lt;strong&gt;Settings → Devices &amp;amp; services → ZHA&lt;/strong&gt; and select &lt;strong&gt;Add device&lt;/strong&gt;. But there&amp;rsquo;s another option.&lt;/p&gt;
&lt;p&gt;From the ZHA device list, open the page for an existing mains-powered Zigbee router, such as a compatible smart bulb or smart plug. On its device page, use the three-dot menu beside &lt;strong&gt;Reconfigure&lt;/strong&gt; and select &lt;strong&gt;Add devices via this device&lt;/strong&gt;. This initiates joining through the selected router. It&amp;rsquo;s useful when the device being paired is some distance from the coordinator but close to another Zigbee device that can act as a router.&lt;/p&gt;
&lt;p&gt;It doesn&amp;rsquo;t guarantee that the new device will permanently use that router as its parent. Zigbee networks can change their routing arrangements over time, but it provides a more targeted starting point for pairing.&lt;/p&gt;
&lt;p&gt;In my case, I used this technique when migrating the last Innr bulb in my son&amp;rsquo;s bedroom, after resetting it with the Hue dimmer. It joined successfully. I subsequently tried the same approach with my stubborn IKEA GU10, using nearby working bulbs as routers. Unfortunately, that device still failed to complete its interview.&lt;/p&gt;
&lt;h2 id="useful-techniques-not-universal-fixes"&gt;Useful techniques, not universal fixes&lt;/h2&gt;
&lt;p&gt;Both techniques would have saved me some time if I&amp;rsquo;d known about them at the start of the migration. The Hue dimmer reset provides an alternative when the usual power-cycle procedure isn&amp;rsquo;t working or is inconvenient,&lt;/p&gt;
</description></item><item><title>Getting Philips Hue dimmer switches working with Home Assistant ZHA</title><link>https://www.markwilson.co.uk/thoughts/2026/11/07/philips-hue-dimmer-switches-home-assistant-zha/</link><pubDate>Sat, 7 Nov 2026 00:00:00 +0000</pubDate><author>markw@markwilson.co.uk (Mark Wilson)</author><guid>https://www.markwilson.co.uk/thoughts/2026/11/07/philips-hue-dimmer-switches-home-assistant-zha/</guid><description>&lt;h1 id="getting-philips-hue-dimmer-switches-working-with-home-assistant-zha"&gt;Getting Philips Hue dimmer switches working with Home Assistant ZHA&lt;/h1&gt;
&lt;p&gt;Moving my remaining IKEA and Innr bulbs from Philips Hue to Home Assistant&amp;rsquo;s Zigbee Home Automation (ZHA) integration was a bit step, but it was only part of the job of consolidating my Zigbee networks. I also needed to migrate the Philips Hue dimmer switches that controlled some of the lights.&lt;/p&gt;
&lt;p&gt;I have two RWL021 dimmers. One controls six IKEA TRÅDFRI GU10 spotlights in my loft room, while the other controls an Innr bulb in my son&amp;rsquo;s bedroom. Both are now working through ZHA, although getting all four buttons to behave correctly required some changes to an existing Home Assistant automation blueprint.&lt;/p&gt;
&lt;h2 id="pairing-the-dimmer"&gt;Pairing the dimmer&lt;/h2&gt;
&lt;p&gt;After removing the dimmer from the Hue Bridge, I opened &lt;strong&gt;Settings → Devices &amp;amp; services → ZHA&lt;/strong&gt; in Home Assistant and started adding a device. I used the recessed Setup button on the back of the dimmer to put it into pairing mode, and ZHA discovered it without difficulty.&lt;/p&gt;
&lt;p&gt;Unlike a bulb, though, pairing a dimmer doesn&amp;rsquo;t automatically make it control anything. Its button presses generate Zigbee events, which Home Assistant needs to interpret and act upon.&lt;/p&gt;
&lt;p&gt;Rather than create all the automations myself, I used an existing &lt;a href="https://community.home-assistant.io/t/zha-philips-hue-dimmer-switch-rwl020-rwl021/255048"&gt;community blueprint for the Philips Hue RWL020 and RWL021 dimmers&lt;/a&gt;. A blueprint is a reusable automation template, allowing the same logic to be applied to different devices and lights.&lt;/p&gt;
&lt;p&gt;That seemed like a sensible starting point, but the initial results were mixed.&lt;/p&gt;
&lt;h2 id="when-only-some-buttons-work"&gt;When only some buttons work&lt;/h2&gt;
&lt;p&gt;The On button worked, but Off and the brightness controls didn&amp;rsquo;t behave correctly. ZHA was receiving the button presses, so the problem appeared to be in the automation rather than the Zigbee connection.&lt;/p&gt;
&lt;p&gt;I enlisted ChatGPT to help me diagnose the problem, working through the &lt;code&gt;zha_event&lt;/code&gt; messages generated by the dimmer and comparing them with the conditions in the blueprint. This was a useful example of AI assisting with troubleshooting, although it still needed me to capture the events, test the suggested changes and confirm that they worked.&lt;/p&gt;
&lt;p&gt;The Off button generated an &lt;code&gt;off_with_effect&lt;/code&gt; command on cluster 6, endpoint 1, but the blueprint was attempting to match the event using assumptions about the &lt;code&gt;args&lt;/code&gt; data that didn&amp;rsquo;t correspond with the events my dimmer was producing. Changing the automation to recognise the command directly fixed the Off button.&lt;/p&gt;
&lt;p&gt;The brightness buttons needed a similar adjustment. They generated &lt;code&gt;step&lt;/code&gt; commands on cluster 8, with the relevant values available in the structured event parameters. In particular, &lt;code&gt;params.step_mode&lt;/code&gt; distinguished brightness up (&lt;code&gt;0&lt;/code&gt;) from brightness down (&lt;code&gt;1&lt;/code&gt;), while &lt;code&gt;params.step_size&lt;/code&gt; indicated the size of the adjustment, with values of 30 and 56 appearing in the events.&lt;/p&gt;
&lt;p&gt;With ChatGPT&amp;rsquo;s help, I modified the blueprint to use these parameters rather than comparing string representations of the event arguments. The two step sizes are handled as 10% and 25% brightness adjustments respectively, rather than exact conversions from Zigbee&amp;rsquo;s brightness scale. That fixed the brightness controls on my dimmers.&lt;/p&gt;
&lt;h2 id="controlling-six-lights-together"&gt;Controlling six lights together&lt;/h2&gt;
&lt;p&gt;The loft room has six IKEA GU10 spotlights, which I&amp;rsquo;d already added to a ZHA Zigbee group. I used that group as the target for the dimmer automation.&lt;/p&gt;
&lt;p&gt;This is different from targeting the Home Assistant area. A Zigbee group allows supported devices to receive group commands, whereas an area is primarily an organisational construct within Home Assistant. For six spotlights that should behave as one light, the Zigbee group was the more appropriate target.&lt;/p&gt;
&lt;h2 id="improving-responsiveness"&gt;Improving responsiveness&lt;/h2&gt;
&lt;p&gt;Once the buttons were working, I noticed that the blueprint included one-second transitions in several light actions. That introduced a deliberate fade, even when I wanted the lights to respond immediately.&lt;/p&gt;
&lt;p&gt;I changed seven occurrences of &lt;code&gt;transition: 1&lt;/code&gt; to &lt;code&gt;transition: 0&lt;/code&gt; in my local blueprint. The result was noticeably better for switching, although the brightness buttons still have some latency. Removing the programmed transitions doesn&amp;rsquo;t eliminate the time required for Home Assistant to process events and send commands to the lights.&lt;/p&gt;
&lt;p&gt;There may be scope to improve this further using more direct Zigbee commands, but I haven&amp;rsquo;t investigated that yet.&lt;/p&gt;
&lt;h2 id="reusing-and-sharing-the-corrected-blueprint"&gt;Reusing and sharing the corrected blueprint&lt;/h2&gt;
&lt;p&gt;I saved the modified blueprint locally in Home Assistant, retaining the original community blueprint as the starting point and correcting the event handling and transitions. I&amp;rsquo;ve also &lt;a href="https://gist.github.com/mark-wilson/e15b4613c23ef225e3853a53d9ef3bdc"&gt;published my modified blueprint as a GitHub Gist&lt;/a&gt; for anyone encountering similar problems.&lt;/p&gt;
&lt;p&gt;The blueprint has been tested with my two RWL021 dimmers, although I can&amp;rsquo;t guarantee compatibility with other firmware versions or event formats. It explicitly handles brightness step sizes of 30 and 56, so other values may require additional changes.&lt;/p&gt;
&lt;p&gt;Once the first dimmer was working, I migrated the second one from Hue to ZHA. There was no need to duplicate the blueprint. I simply created another automation from the same corrected version, selected the second dimmer and targeted the bedroom light.&lt;/p&gt;
&lt;p&gt;I now have one blueprint and two automations, each assigned to its respective Home Assistant area. I&amp;rsquo;ve also deleted the original, unmodified blueprint, leaving just the corrected version.&lt;/p&gt;
&lt;h2 id="two-working-dimmers-no-hue-bridge"&gt;Two working dimmers, no Hue Bridge&lt;/h2&gt;
&lt;p&gt;Both dimmers now control their respective lights, including On, Off and brightness adjustment. The setup isn&amp;rsquo;t entirely perfect — the bedroom dimmer seems a little less responsive, and I&amp;rsquo;d still like to investigate that — but both are usable for everyday lighting control.&lt;/p&gt;
&lt;p&gt;More importantly, I can maintain one corrected blueprint rather than two independent sets of automation logic. With the last dimmer migrated, there was nothing left requiring the Hue Bridge, so it could be removed from the network and factory reset.&lt;/p&gt;
&lt;p&gt;This is the second post in my Home Assistant ZHA migration series. The &lt;a href="https://www.markwilson.co.uk/thoughts/2026/11/06/goodbye-philips-hue-bridge-home-assistant-zha/"&gt;first post, yesterday&lt;/a&gt; covers moving the bulbs and retiring the Hue Bridge, while the &lt;a href="https://www.markwilson.co.uk/thoughts/2026/11/08/zigbee-pairing-touchlink-zha-router/"&gt;final post, tomorrow&lt;/a&gt; looks at two useful Zigbee pairing techniques I discovered along the way.&lt;/p&gt;
</description></item><item><title>Goodbye Philips Hue Bridge: moving my lighting to Home Assistant ZHA</title><link>https://www.markwilson.co.uk/thoughts/2026/11/06/goodbye-philips-hue-bridge-home-assistant-zha/</link><pubDate>Fri, 6 Nov 2026 00:00:00 +0000</pubDate><author>markw@markwilson.co.uk (Mark Wilson)</author><guid>https://www.markwilson.co.uk/thoughts/2026/11/06/goodbye-philips-hue-bridge-home-assistant-zha/</guid><description>&lt;h1 id="goodbye-philips-hue-bridge-moving-my-lighting-to-home-assistant-zha"&gt;Goodbye Philips Hue Bridge: moving my lighting to Home Assistant ZHA&lt;/h1&gt;
&lt;p&gt;I&amp;rsquo;ve used Philips Hue for years, although many of the bulbs connected to my Hue Bridge weren&amp;rsquo;t made by Philips. Over time, I&amp;rsquo;d added IKEA TRÅDFRI and Innr bulbs, which generally worked well enough. Meanwhile, I&amp;rsquo;d started building a separate Zigbee network using Home Assistant, leaving me with two Zigbee networks in the same house.&lt;/p&gt;
&lt;p&gt;With a &lt;a href="https://www.home-assistant.io/green/"&gt;Home Assistant Green&lt;/a&gt; (a dedicated device for running Home Assistant), a &lt;a href="https://www.home-assistant.io/connectzbt1"&gt;Home Assistant SkyConnect&lt;/a&gt; Zigbee coordinator (now sold as Connect ZBT-1) and an increasingly useful Zigbee mesh, I decided it was time to consolidate the lighting onto Zigbee Home Automation (ZHA).&lt;/p&gt;
&lt;p&gt;The aim was straightforward: move the remaining devices to ZHA and retire the Hue Bridge.&lt;/p&gt;
&lt;h2 id="resetting-and-migrating-the-bulbs"&gt;Resetting and migrating the bulbs&lt;/h2&gt;
&lt;p&gt;The main task involved nine IKEA TRÅDFRI GU10 spotlights and an E14 candle bulb, together with several Innr bulbs.&lt;/p&gt;
&lt;p&gt;For the IKEA bulbs, the process was to remove them from Hue, put ZHA into pairing mode and reset each bulb by switching its power on and off six times. This is &lt;a href="https://www.ikea.com/gb/en/customer-service/product-support/smart-lighting/troubleshooting-pub7a4dc271/"&gt;IKEA&amp;rsquo;s documented factory reset procedure&lt;/a&gt;, although the timing took some experimentation. I had more success with very brief, momentary periods of power on, followed by longer periods of around a second with the power off. When the sequence worked, the bulb visibly changed brightness to indicate that it had reset.&lt;/p&gt;
&lt;p&gt;To reconfigure the bulbs, I bought a GU10-to-B22 adapter so I could plug each spotlight into an ordinary bayonet lamp holder. That also meant I could work on the bulbs next to the Home Assistant Green and SkyConnect coordinator, reducing the distance involved during initial pairing.&lt;/p&gt;
&lt;p&gt;After a lot of persistence and many failed attempts, I had most of the bulbs joined to ZHA. Once paired, I assigned them to the appropriate Home Assistant areas. I also wanted Home Assistant to check for IKEA firmware updates. ZHA supports over-the-air (OTA) firmware updates, but the IKEA update provider isn&amp;rsquo;t enabled by default. To enable it, I added the following to my Home Assistant &lt;code&gt;configuration.yaml&lt;/code&gt;:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-yaml" data-lang="yaml"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#f92672"&gt;zha&lt;/span&gt;:
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#f92672"&gt;zigpy_config&lt;/span&gt;:
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#f92672"&gt;ota&lt;/span&gt;:
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#f92672"&gt;extra_providers&lt;/span&gt;:
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; - &lt;span style="color:#f92672"&gt;type&lt;/span&gt;: &lt;span style="color:#ae81ff"&gt;ikea&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;After restarting Home Assistant, ZHA could check IKEA&amp;rsquo;s firmware feed for updates. Available updates appear through Home Assistant&amp;rsquo;s firmware update entities, where they can be reviewed and installed.&lt;/p&gt;
&lt;p&gt;This doesn&amp;rsquo;t mean every bulb will have an update available, and it&amp;rsquo;s worth checking for known issues before installing one. Firmware updates can occasionally affect device behaviour, including Zigbee group functionality. The &lt;a href="https://www.home-assistant.io/integrations/zha/#ota-updates-of-zigbee-device-firmware"&gt;Home Assistant ZHA documentation&lt;/a&gt; explains the OTA functionality and its limitations.&lt;/p&gt;
&lt;p&gt;One GU10 proved particularly troublesome. Despite repeated resets and various pairing attempts, ZHA discovered it but couldn&amp;rsquo;t complete the device interview. I eventually substituted another successfully paired bulb and put the troublesome one aside. It remains unresolved, although I&amp;rsquo;ll mention some of the techniques I tried later in this series.&lt;/p&gt;
&lt;h2 id="creating-a-zigbee-group-for-the-loft-room"&gt;Creating a Zigbee group for the loft room&lt;/h2&gt;
&lt;p&gt;Six of the GU10s are installed in my loft room, where I want them to behave as a single set of lights.&lt;/p&gt;
&lt;p&gt;Home Assistant has the concept of areas, but an area isn&amp;rsquo;t the same as a Zigbee group. Areas organise devices within Home Assistant, whereas Zigbee groups allow compatible devices to receive group commands over the Zigbee network.&lt;/p&gt;
&lt;p&gt;I created a group in ZHA and added the six spotlights, giving me a single light entity for switching and dimming the room rather than controlling six bulbs individually. This also provided a suitable target for the Philips Hue dimmer switch that I&amp;rsquo;d planned to migrate.&lt;/p&gt;
&lt;h2 id="the-last-innr-bulb"&gt;The last Innr bulb&lt;/h2&gt;
&lt;p&gt;The final bulb to migrate was an Innr bulb in my son&amp;rsquo;s bedroom. It had become unavailable in Hue, possibly because it was switched off when I changed the Hue Bridge&amp;rsquo;s Zigbee channel during troubleshooting.&lt;/p&gt;
&lt;p&gt;I eventually recovered it using a TouchLink reset initiated by a Philips Hue dimmer switch, followed by ZHA&amp;rsquo;s option to add devices through a selected nearby Zigbee router. Both techniques were new to me, and I&amp;rsquo;ll explain how they work in &lt;a href="https://www.markwilson.co.uk/thoughts/2026/11/08/zigbee-pairing-touchlink-zha-router/"&gt;the final post in this series, on Sunday&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;With that last Innr bulb connected to ZHA, the remaining task was to migrate its dimmer switch.&lt;/p&gt;
&lt;h2 id="retiring-the-hue-bridge"&gt;Retiring the Hue Bridge&lt;/h2&gt;
&lt;p&gt;I now have the IKEA and Innr lighting on ZHA, apart from the single GU10 that refuses to complete pairing. Both Philips Hue dimmer switches have also moved across, with one controlling the loft room spotlights and the other controlling my son&amp;rsquo;s bedroom light.&lt;/p&gt;
&lt;p&gt;The dimmer switches required more work than the bulbs, particularly to get the Off and brightness buttons behaving correctly. That&amp;rsquo;s the subject of &lt;a href="https://www.markwilson.co.uk/thoughts/2026/11/07/philips-hue-dimmer-switches-home-assistant-zha/"&gt;the next post in this series, tomorrow&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;There were more complications than I&amp;rsquo;d anticipated, but the result is what I wanted: one Zigbee network, managed through Home Assistant, with the lighting integrated alongside the rest of my smart home. The Hue Bridge is no longer needed and can finally be retired.&lt;/p&gt;
</description></item><item><title>A little more thought, please</title><link>https://www.markwilson.co.uk/thoughts/2026/11/04/a-little-more-thought-please/</link><pubDate>Wed, 4 Nov 2026 00:00:00 +0000</pubDate><author>markw@markwilson.co.uk (Mark Wilson)</author><guid>https://www.markwilson.co.uk/thoughts/2026/11/04/a-little-more-thought-please/</guid><description>&lt;h1 id="a-little-more-thought-please"&gt;A little more thought, please&lt;/h1&gt;
&lt;p&gt;I&amp;rsquo;ve spent most of my career working in technology, and I spend a lot of my working life online. Generally speaking, I think the Internet is a wonderful thing (social media excepted). But there are some things that really get on my nerves, ranging from minor irritations to things that make me question how we communicate and how little consideration we sometimes give to the people on the receiving end.&lt;/p&gt;
&lt;p&gt;So, in no particular order, here are a few things that have been winding me up lately.&lt;/p&gt;
&lt;h2 id="the-language-of-warfare"&gt;The language of warfare&lt;/h2&gt;
&lt;p&gt;I recently saw a LinkedIn post from a defence company proudly explaining how its engineers were working alongside the British Army to &amp;ldquo;compress its kill chain&amp;rdquo;.&lt;/p&gt;
&lt;p&gt;Urgh. &lt;em&gt;Kill chain.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;I understand that defence is a serious business, and that military operations have their own terminology. I also understand that the phrase has a specific operational meaning. But there&amp;rsquo;s something deeply uncomfortable about seeing a company celebrating its contribution to making the process of killing people more efficient. Perhaps that&amp;rsquo;s the point of the terminology: abstract the activity into a process, give it a technical name, and remove the human consequences from the conversation.&lt;/p&gt;
&lt;p&gt;And it&amp;rsquo;s not just defence. The technology industry has borrowed plenty of military language, particularly in cybersecurity. We have bastion hosts, demilitarised zones (DMZs), firewalls, red teams, blue teams, attack surfaces, threat hunting and cyber warfare. Even &amp;ldquo;kill chain&amp;rdquo; has found its way into cybersecurity.&lt;/p&gt;
&lt;p&gt;Some of these terms have useful technical meanings, and a few have been around for decades. But does everything have to sound like a military operation? Sometimes it feels as though we&amp;rsquo;ve built an entire vocabulary designed to make protecting computers sound more macho.&lt;/p&gt;
&lt;p&gt;I&amp;rsquo;m not suggesting we rename every firewall or abandon established terminology. But perhaps we could think a little more carefully about the language we use, especially when it starts to obscure what we&amp;rsquo;re actually talking about.&lt;/p&gt;
&lt;h2 id="salespeople-who-havent-done-their-homework"&gt;Salespeople who haven&amp;rsquo;t done their homework&lt;/h2&gt;
&lt;p&gt;I know that junior salespeople have a difficult job. They&amp;rsquo;ve been given a list of prospects, a CRM system and some targets to hit. They need to make contact, start conversations and generate opportunities. I get it. Really, I do.&lt;/p&gt;
&lt;p&gt;But please, do some research.&lt;/p&gt;
&lt;p&gt;My personal website and email address are not an invitation to pitch services to my employer. If you&amp;rsquo;re contacting me about something related to Node4, at least have the courtesy to use my work contact details. And, before you pick up the phone, perhaps spend thirty seconds finding out what Node4 actually does.&lt;/p&gt;
&lt;p&gt;In the last few weeks, I&amp;rsquo;ve had someone send me a cybersecurity report as part of a pitch for their services. We have our own Security Operations Centre. Another caller started pitching IT managed services. To a managed services provider.&lt;/p&gt;
&lt;p&gt;These aren&amp;rsquo;t obscure details buried in an annual report. They&amp;rsquo;re fundamental to what the company does. I don&amp;rsquo;t expect every salesperson to have an encyclopaedic knowledge of their prospects, but I do expect them to understand enough to establish whether their proposition is even remotely relevant. Otherwise, you&amp;rsquo;re not selling. You&amp;rsquo;re just interrupting people.&lt;/p&gt;
&lt;h2 id="cold-emails-and-the-inevitable-follow-ups"&gt;Cold emails, and the inevitable follow-ups&lt;/h2&gt;
&lt;p&gt;Then there are the unsolicited emails. &amp;ldquo;Just reaching out&amp;hellip;&amp;rdquo;, &amp;ldquo;Following up on my previous email&amp;hellip;&amp;rdquo;, &amp;ldquo;Bringing this back to the top of your inbox&amp;hellip;&amp;rdquo;, &amp;ldquo;I know you&amp;rsquo;re busy&amp;hellip;&amp;rdquo;&lt;/p&gt;
&lt;p&gt;Yes. I am busy. And you&amp;rsquo;ve just made me busier.&lt;/p&gt;
&lt;p&gt;I particularly dislike the assumption that a lack of response means I need reminding. Perhaps I didn&amp;rsquo;t reply because I wasn&amp;rsquo;t interested. Perhaps your proposition wasn&amp;rsquo;t relevant. Perhaps I simply didn&amp;rsquo;t want to engage. Silence is not an invitation to send another five emails.&lt;/p&gt;
&lt;p&gt;And if you&amp;rsquo;re sending unsolicited marketing messages, provide a proper unsubscribe mechanism. Not a line at the bottom saying I can reply and ask to be removed from your list. An actual unsubscribe link.&lt;/p&gt;
&lt;p&gt;There are rules around electronic marketing, consent and legitimate interests, and the precise requirements depend on who you&amp;rsquo;re contacting and in what capacity. But regardless of the legal position, making it difficult for someone to opt out is a terrible way to build a relationship. If I can&amp;rsquo;t easily unsubscribe, there&amp;rsquo;s a good chance your message is going straight into my junk folder.&lt;/p&gt;
&lt;h2 id="dont-put-things-in-my-calendar"&gt;Don&amp;rsquo;t put things in my calendar&lt;/h2&gt;
&lt;p&gt;This one really makes my blood boil. An unsolicited invitation to a webinar arrives, not as an email, but as a calendar appointment. Suddenly, something I have expressed absolutely no interest in attending is sitting in my diary.&lt;/p&gt;
&lt;p&gt;Who thought that was acceptable?&lt;/p&gt;
&lt;p&gt;I have a meeting booking link. People who genuinely need to arrange time with me can use it. And I&amp;rsquo;m perfectly capable of reading an email invitation to a webinar and deciding whether I want to attend. If I register, by all means send me a calendar invitation. Until then, stay out of my diary.&lt;/p&gt;
&lt;p&gt;It&amp;rsquo;s presumptuous, intrusive and disrespectful of my time.&lt;/p&gt;
&lt;h2 id="ai-generated-presentations-that-all-look-the-same"&gt;AI-generated presentations that all look the same&lt;/h2&gt;
&lt;p&gt;Finally, a more recent irritation: the explosion of presentations generated by tools like Claude and Copilot.&lt;/p&gt;
&lt;p&gt;Before anyone accuses me of being anti-AI, I&amp;rsquo;m absolutely not. I use generative AI regularly, including to help structure ideas, draft content and improve my writing. There&amp;rsquo;s nothing inherently wrong with using AI to help create a presentation, either. But could we please put a little effort into the finished product?&lt;/p&gt;
&lt;p&gt;I&amp;rsquo;m seeing more and more slide decks that have clearly been generated by an AI tool and then presented without much further thought. They look attractive enough at first glance, with clean layouts, tasteful colours and neatly arranged content. The problem is that they all look the same. By the fourth almost-identical presentation of the week, the novelty has worn off.&lt;/p&gt;
&lt;p&gt;What happened to corporate templates? Visual identity? Personal style? Actually thinking about how best to communicate an idea to a particular audience?&lt;/p&gt;
&lt;p&gt;A presentation isn&amp;rsquo;t just a document. It&amp;rsquo;s a visual aid to a conversation, a story or an explanation. The slides should support the speaker, not substitute for the effort of communicating. If you&amp;rsquo;ve used AI to help with the structure, great. If it&amp;rsquo;s helped you develop an argument or identify a clearer way to explain something, even better. But at least make the effort to turn the output into something that&amp;rsquo;s yours.&lt;/p&gt;
&lt;p&gt;Because if you can&amp;rsquo;t be bothered to put any thought into the presentation, why should I spend my time watching and listening? I could just ask an LLM myself.&lt;/p&gt;
&lt;h2 id="and-yes-i-used-ai-to-help-write-this"&gt;And yes, I used AI to help write this&lt;/h2&gt;
&lt;p&gt;Before anyone points out the irony, yes, I used ChatGPT to help organise this rant into something vaguely coherent. The frustrations are mine, the examples are real, and the opinions are very much my own. But I had a collection of things that were annoying me, and rather than spend an evening rearranging paragraphs, I asked an AI to help turn them into a blog post.&lt;/p&gt;
&lt;p&gt;And then I spent time editing it, because the first draft sounded rather too much like something written by ChatGPT. Too many short paragraphs, overly tidy conclusions and a tendency to explain the obvious. Sound familiar?&lt;/p&gt;
&lt;p&gt;That&amp;rsquo;s rather the point. AI is a useful tool, but it doesn&amp;rsquo;t remove the need for human judgement, originality or a bit of personality. Whether it&amp;rsquo;s a presentation, a blog post or something else entirely, I think the person putting their name to it should still take responsibility for the finished result.&lt;/p&gt;
&lt;h2 id="show-some-consideration"&gt;Show some consideration&lt;/h2&gt;
&lt;p&gt;I suppose what connects all these irritations is a lack of consideration for other people. Technology makes it easier than ever to communicate, automate tasks, create content and reach an audience. But the convenience of the person sending a message, making a sales pitch or generating a presentation shouldn&amp;rsquo;t come at the expense of the person receiving it.&lt;/p&gt;
&lt;p&gt;I&amp;rsquo;m certainly not perfect, and I&amp;rsquo;m sure I&amp;rsquo;ve annoyed plenty of people over the years. But I do think we could all benefit from considering how our words and actions might be received, rather than simply taking advantage of what technology allows us to do.&lt;/p&gt;
&lt;p&gt;Anyway, that&amp;rsquo;s enough grumbling for one day. I&amp;rsquo;m sure I&amp;rsquo;ll find something else to complain about before long.&lt;/p&gt;
</description></item><item><title>Sovereign AI: preserving choice in an intelligent world</title><link>https://www.markwilson.co.uk/thoughts/2026/11/03/sovereign-ai-preserving-choice-in-an-intelligent-world/</link><pubDate>Tue, 3 Nov 2026 00:00:00 +0000</pubDate><author>markw@markwilson.co.uk (Mark Wilson)</author><guid>https://www.markwilson.co.uk/thoughts/2026/11/03/sovereign-ai-preserving-choice-in-an-intelligent-world/</guid><description>&lt;h1 id="sovereign-ai-preserving-choice-in-an-intelligent-world"&gt;Sovereign AI: preserving choice in an intelligent world&lt;/h1&gt;
&lt;p&gt;It&amp;rsquo;s not every day that I get to present at the &lt;a href="https://experiences.redbullracing.com/conferences-events/mk7-event-space"&gt;Red Bull Technology Campus MK-7 Events Venue&lt;/a&gt; in Milton Keynes. Well, last month, as part of &lt;a href="https://miltonkeynestechweek.com/"&gt;Milton Keynes Tech Week&lt;/a&gt;, &lt;a href="https://www.ukaiusers.co.uk/groups/bletchleyai/"&gt;BletchleyAI&lt;/a&gt; hosted an event at this fantastic venue, and I was fortunate enough to be one of the speakers.&lt;/p&gt;
&lt;p&gt;It was a brilliant experience, made even better by the fact that &lt;a href="https://members.parliament.uk/member/5139/contact"&gt;Emily Darlington, MP&lt;/a&gt; for Milton Keynes Central, spoke immediately before me. Emily spoke about the UK&amp;rsquo;s AI opportunity, with Milton Keynes at its heart, providing an excellent introduction to some of the issues I wanted to explore in my own 20-minute session.&lt;/p&gt;
&lt;p&gt;I&amp;rsquo;d delivered a similar talk at &lt;a href="https://www.ukaiusers.co.uk/groups/birminghamai/"&gt;BirminghamAI&lt;/a&gt; the previous month, but the Bletchley event gave me another opportunity to explore a subject that&amp;rsquo;s already attracting considerable attention. As organisations move beyond AI experimentation and embed it in their operations, questions about sovereignty, control and dependency are becoming increasingly important.&lt;/p&gt;
&lt;p&gt;My talk was titled &lt;strong&gt;&amp;ldquo;Sovereign AI: preserving choice in an intelligent world&amp;rdquo;&lt;/strong&gt; (&lt;a href="https://www.ukaiusers.co.uk/assets/groups/bletchleyai/slides/20261013-bletchley-ai-mark-wilson-sovereign-ai.pdf"&gt;slides available here&lt;/a&gt;). Despite the title, this wasn&amp;rsquo;t really a discussion about where to host AI models, or whether UK organisations should avoid American technology providers. It was about understanding our dependencies and retaining meaningful choices when circumstances change.&lt;/p&gt;
&lt;h2 id="from-road-atlases-to-artificial-intelligence"&gt;From road atlases to artificial intelligence&lt;/h2&gt;
&lt;p&gt;Twenty years ago, I kept a road atlas in my car. Today, I enter a destination into Waze, connect my phone to CarPlay and follow the directions.&lt;/p&gt;
&lt;p&gt;It&amp;rsquo;s brilliant. But that convenience comes with dependencies on GPS, connectivity, mapping data and the organisations providing those services. Most of the time, we don&amp;rsquo;t think about any of that. Everything just works.&lt;/p&gt;
&lt;p&gt;Of course, we&amp;rsquo;ve all seen examples of drivers blindly following their sat-nav into unsuitable roads. The technology may have provided a perfectly valid route for a car, but the driver failed to recognise its limitations or apply their own judgement.&lt;/p&gt;
&lt;p&gt;We&amp;rsquo;re increasingly using AI in much the same way, consuming intelligence as a service, sometimes without even realising it because AI functionality is embedded in the applications and business processes we already use.&lt;/p&gt;
&lt;p&gt;But what happens when something changes? A provider introduces new pricing, removes a capability or restricts access. Suddenly, an organisation discovers just how dependent it has become on something it doesn&amp;rsquo;t control.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Dependence isn&amp;rsquo;t necessarily the problem. Failing to recognise it might be.&lt;/strong&gt;&lt;/p&gt;
&lt;h2 id="ai-is-becoming-infrastructure"&gt;AI is becoming infrastructure&lt;/h2&gt;
&lt;p&gt;Electricity, internet connectivity, GPS and cloud computing have all become capabilities we expect to be available whenever we need them. But most organisations don&amp;rsquo;t generate their own electricity, and many have moved away from running parts of their own computing infrastructure, choosing instead to consume services from cloud providers.&lt;/p&gt;
&lt;p&gt;AI is already being consumed in much the same way. For most users, it arrives through applications and SaaS platforms, often as functionality added to products they already use. Others access models through APIs and managed services, while a smaller number develop or operate their own AI infrastructure.&lt;/p&gt;
&lt;p&gt;As AI becomes embedded in everyday operations, losing access, experiencing service disruption or facing unexpected costs could have serious consequences. Organisations may become dependent on AI capabilities without ever having made an explicit decision to adopt a particular model or provider.&lt;/p&gt;
&lt;p&gt;We spend plenty of time discussing which AI model performs best or what the latest agents can achieve. We should also be asking who controls the capabilities we&amp;rsquo;re becoming dependent upon, and what alternatives exist if circumstances change.&lt;/p&gt;
&lt;h2 id="sovereignty-is-about-more-than-location"&gt;Sovereignty is about more than location&lt;/h2&gt;
&lt;p&gt;When people talk about sovereign AI, the conversation often starts with where the data is stored or where the models run. Both matter, but they&amp;rsquo;re only part of the picture.&lt;/p&gt;
&lt;p&gt;In my presentation, I identified six areas of dependency: &lt;strong&gt;data, models, infrastructure, operations, economics and skills&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;An organisation might run AI on its own infrastructure but still depend on external suppliers for models, maintenance or specialist expertise. Conversely, using a global cloud provider doesn&amp;rsquo;t automatically mean surrendering meaningful control.&lt;/p&gt;
&lt;p&gt;I shared an example of an organisation that invested in local GPU infrastructure and models to gain greater control over its AI capabilities and costs. That provided more control over where processing happened, but it also introduced operational responsibilities that hadn&amp;rsquo;t been fully considered. Who would maintain the models and agents? Who would monitor performance and consumption? Who would manage security, incidents and updates?&lt;/p&gt;
&lt;p&gt;These responsibilities don&amp;rsquo;t disappear once the hardware is installed.&lt;/p&gt;
&lt;p&gt;There&amp;rsquo;s an interesting parallel with email. Over the past couple of decades, many organisations moved their email systems to cloud services, accepting greater dependence on external providers in exchange for reduced operational complexity. Now, in pursuit of sovereign AI, some organisations are considering bringing key infrastructure and services back under their direct control.&lt;/p&gt;
&lt;p&gt;That may be entirely appropriate, but it means taking responsibility for operating and maintaining those services, along with the skills and costs involved. Sovereignty requires us to consider those operational dependencies alongside questions of data residency and infrastructure ownership.&lt;/p&gt;
&lt;p&gt;Owning more technology can give us greater control, but it also brings greater responsibility.&lt;/p&gt;
&lt;h2 id="moving-beyond-sovereignty-claims"&gt;Moving beyond sovereignty claims&lt;/h2&gt;
&lt;p&gt;As more technology providers promote their sovereign AI credentials, we need to look beyond the marketing.&lt;/p&gt;
&lt;p&gt;&amp;ldquo;Our data stays in-country&amp;rdquo; sounds reassuring, but what about prompts, telemetry and metadata? &amp;ldquo;We run locally&amp;rdquo; tells us where the computing takes place, but not necessarily who controls the models or operates the service.&lt;/p&gt;
&lt;p&gt;My colleague, &lt;a href="https://www.linkedin.com/in/andrewslater/"&gt;Andy Slater&lt;/a&gt;, introduced me to an interesting assessment model at &lt;a href="https://sovereignty.posetiv.co.uk/"&gt;sovereignty.posetiv.co.uk&lt;/a&gt;. It provides a structured way to examine sovereignty claims, asking for evidence that can be verified rather than simply accepting a supplier&amp;rsquo;s assurances.&lt;/p&gt;
&lt;p&gt;The approach encourages us to move from &lt;strong&gt;claims to evidence, verification and confidence&lt;/strong&gt;. So, rather than treating sovereignty as a simple yes-or-no question, we should be asking who controls the service, which laws apply, what dependencies remain and whether we could realistically change providers.&lt;/p&gt;
&lt;p&gt;The answers will vary between organisations and use cases.&lt;/p&gt;
&lt;h2 id="not-everything-needs-maximum-sovereignty"&gt;Not everything needs maximum sovereignty&lt;/h2&gt;
&lt;p&gt;If I&amp;rsquo;m using AI to plan a holiday, I&amp;rsquo;m comfortable accepting considerable dependency. If it&amp;rsquo;s supporting healthcare or critical infrastructure, I&amp;rsquo;d expect a very different level of control.&lt;/p&gt;
&lt;p&gt;Maximum sovereignty everywhere would be expensive, complicated and, in many cases, unnecessary. We need to understand the risks, make informed decisions and retain appropriate control over the capabilities that matter.&lt;/p&gt;
&lt;p&gt;It&amp;rsquo;s much easier to preserve those choices before a dependency becomes essential.&lt;/p&gt;
&lt;h2 id="keeping-our-options-open"&gt;Keeping our options open&lt;/h2&gt;
&lt;p&gt;I finished the presentation by returning to the navigation analogy. I might normally follow Waze, but I can choose another route, consult a paper map or even take the train.&lt;/p&gt;
&lt;p&gt;Organisations need equivalent choices for AI, especially as it becomes part of their everyday operations.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Sovereign AI isn&amp;rsquo;t about owning everything. It&amp;rsquo;s about ensuring we still have choices when circumstances change.&lt;/strong&gt;&lt;/p&gt;
&lt;h1 id="postscript"&gt;PostScript&lt;/h1&gt;
&lt;p&gt;The Bletchley AI event was about much more than my presentation. Stephanie Okumi opened proceedings with a series of One Minute Wonders, featuring Laura Graham-Brown, Zee Bielske, Steve Lamb and Yatindra Ranpura. Phil Kermeen followed my talk with his regular AI News and Views feature, before hosting a panel discussion with Manish Patel, Russell Bundy, Stephanie Stasey and me.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://www.markwilson.co.uk/thoughts/images/bletchley-ai-sovereign-panel.jpg" alt="BletchleyAI Sovereign Panel" title="BletchleyAI Sovereign Panel"&gt;&lt;/p&gt;
&lt;p&gt;I think this might have been our best Bletchley AI event yet! My thanks to everyone involved in organising it, to the other speakers and panellists, and to everyone who attended. I particularly appreciated the conversations and feedback afterwards.&lt;/p&gt;
&lt;p&gt;If you&amp;rsquo;d like to join us at a future event, take a look at &lt;a href="https://ukaiusers.co.uk/"&gt;UK AI User Groups&lt;/a&gt; and Bletchley AI.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;I delivered this presentation in a personal capacity. My professional role is vCTO at Node4.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Image credits: &lt;a href="https://www.chris-henley.co.uk/"&gt;Chris Henley&lt;/a&gt;/&lt;a href="https://miltonkeynestechweek.com/"&gt;Milton Keynes Tech Week&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;
</description></item><item><title>Cybersecurity's growing decision-speed gap</title><link>https://www.markwilson.co.uk/thoughts/2026/11/02/cybersecurity-decision-speed-gap/</link><pubDate>Mon, 2 Nov 2026 00:00:00 +0000</pubDate><author>markw@markwilson.co.uk (Mark Wilson)</author><guid>https://www.markwilson.co.uk/thoughts/2026/11/02/cybersecurity-decision-speed-gap/</guid><description>&lt;p&gt;&lt;em&gt;October was National Cybersecurity Awareness Month, and I was recently asked to provide some commentary for Node4 on how AI is changing the cybersecurity landscape, and what businesses should be doing in response.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;I&amp;rsquo;m pleased that some of my comments were picked up by journalists, appearing in articles published by &lt;a href="https://www.cybersecurity-insiders.com/people-or-technology-what-is-the-last-line-of-defence-in-an-ai-powered-threat-landscape/"&gt;Cybersecurity Insiders&lt;/a&gt; and &lt;a href="https://cyberprotection-magazine.com/rethinking-cybersecurity-in-the-age-of-ai"&gt;Cyber Protection Magazine&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Those articles brought together perspectives from several contributors, so I thought I&amp;rsquo;d share my original commentary here, in full. We also posted an edited version as the &amp;ldquo;CTO Corner&amp;rdquo; this month&amp;rsquo;s Node4 customer newsletter.&lt;/em&gt;&lt;/p&gt;
&lt;h1 id="cybersecuritys-growing-decision-speed-gap"&gt;Cybersecurity&amp;rsquo;s growing decision-speed gap&lt;/h1&gt;
&lt;p&gt;National Cybersecurity Awareness Month often focuses on the latest threats, the latest attack techniques and, increasingly, AI. Those things matter, but they’re not the most important lesson businesses should take from what’s happening in cybersecurity today.&lt;/p&gt;
&lt;p&gt;The bigger issue is the growing gap between the speed at which attackers can operate and the speed at which many businesses make decisions.&lt;/p&gt;
&lt;h2 id="ai-is-changing-the-economics-not-the-fundamentals"&gt;AI is changing the economics, not the fundamentals&lt;/h2&gt;
&lt;p&gt;AI is changing the economics of cybercrime. It can help attackers automate research, improve phishing campaigns and carry out activities at a scale that once required much more time and expertise. But attacks still tend to rely on weaknesses we’ve understood for years: stolen credentials, excessive privileges, poor visibility, weak governance and slow remediation.&lt;/p&gt;
&lt;p&gt;The difference is that attackers can now exploit those weaknesses more efficiently.&lt;/p&gt;
&lt;p&gt;Too many businesses still respond through operating models designed for a slower world. Security reviews happen periodically. Access rights are reviewed to a schedule. Vulnerabilities compete with other priorities, while changes move through governance processes before anyone acts. That’s not necessarily a technology problem. In many cases, it’s an organisational one.&lt;/p&gt;
&lt;p&gt;The &lt;a href="https://www.microsoft.com/en-us/corporate-responsibility/topics/cybersecurity/reports/microsoft-digital-defense-report/"&gt;Microsoft Digital Defense Report 2026&lt;/a&gt; (sic) says AI is &amp;ldquo;compressing attack timelines&amp;rdquo; and that security teams must prepare for attackers and defenders increasingly operating at machine speed. That supports my view that the cyber gap is becoming a decision-speed gap. The challenge often isn’t spotting the risk – it’s making a decision and doing something about it quickly enough.&lt;/p&gt;
&lt;p&gt;Businesses won’t close that gap simply by buying more tools. They need to identify risk, decide what matters and act before an attacker exploits the opportunity.&lt;/p&gt;
&lt;p&gt;For most businesses, the priority isn’t a new security programme. Instead, the focus should be on reducing unnecessary privilege, improving visibility, tightening control over identities and shortening the time between identifying a risk and acting on it.&lt;/p&gt;
&lt;h2 id="stop-blaming-people-for-poorly-designed-processes"&gt;Stop blaming people for poorly designed processes&lt;/h2&gt;
&lt;p&gt;We also need to stop calling people the weakest link in security.&lt;/p&gt;
&lt;p&gt;For years, us IT folks have talked about human error as though employees are a problem to be fixed. But most people are working within processes, systems and incentives that somebody else designed.&lt;/p&gt;
&lt;p&gt;If one person can expose sensitive information, approve a fraudulent payment or create a serious incident by clicking a convincing phishing link, we shouldn’t only ask why they made a mistake. We should ask why one human decision was allowed to create that level of risk.&lt;/p&gt;
&lt;p&gt;Good security doesn’t assume people will behave perfectly. It assumes mistakes will happen and designs around that reality. Multi-stage approvals, proper segregation of duties, conditional access and stronger control over access and permissions can all reduce the chance of an error and limit the damage when one occurs. That’s more useful than another round of awareness training telling people to be more careful.&lt;/p&gt;
&lt;h2 id="govern-ai-agents-as-identities"&gt;Govern AI agents as identities&lt;/h2&gt;
&lt;p&gt;This becomes even more important as businesses adopt AI agents.&lt;/p&gt;
&lt;p&gt;Most organisations are currently thinking about AI agents in terms of productivity and automation. The more important security question is whether they’re treating them as identities.&lt;/p&gt;
&lt;p&gt;An agent can access information, use tools and take actions on somebody’s behalf. It may operate across systems that were originally designed around human interaction. That doesn’t automatically make it dangerous, but it does mean the organisation needs to know what it can access, what it’s allowed to do and how those permissions can be changed or removed.&lt;/p&gt;
&lt;p&gt;Many businesses already struggle to govern human identities, service accounts and application permissions. Adding AI agents without clear ownership and accountability risks making an existing challenge harder to manage.&lt;/p&gt;
&lt;p&gt;For at least a decade, we’ve been talking about identity as the primary control plane for defence and Microsoft now notes that this now extends beyond human users to include applications and agents. Whilst identity-led security isn’t new, what’s changing is the number of non-human identities organisations now need to govern, and the level of autonomy some of those identities may be given.&lt;/p&gt;
&lt;p&gt;The question to ask is whether businesses are prepared to apply the same discipline to AI agents that they already know they should be applying to people, applications and service accounts.&lt;/p&gt;
&lt;h2 id="dont-lose-sight-of-the-fundamentals"&gt;Don&amp;rsquo;t lose sight of the fundamentals&lt;/h2&gt;
&lt;p&gt;It’s easy to understand why AI dominates so many cybersecurity conversations. The technology is influencing both attack and defence, and its role will only grow over time.&lt;/p&gt;
&lt;p&gt;The risk is that businesses become so focused on what AI might change that they overlook the factors that continue to determine whether most attacks succeed.&lt;/p&gt;
&lt;p&gt;Identity, governance, resilience and operational discipline aren’t particularly fashionable topics, but they remain the foundations of effective security. AI can help security teams detect threats faster, analyse more data and automate routine activity. Those are valuable capabilities. What it can’t do is compensate for weak processes, unclear ownership or slow decision-making.&lt;/p&gt;
&lt;p&gt;This is one area where a good MSP can genuinely help. The challenge is rarely a complete lack of technology. More often it’s a lack of visibility, operational capacity or access to specialist expertise. The value isn’t another security dashboard. It’s helping businesses improve visibility, strengthen governance, access specialist expertise and act more quickly when risks emerge.&lt;/p&gt;
&lt;p&gt;The biggest cyber risk facing many businesses isn’t that attackers have suddenly become unstoppable. It’s that attack speed is increasing while decision-making, governance and control remain stubbornly human-paced.&lt;/p&gt;
&lt;p&gt;If that gap continues to grow, no amount of security technology will close it on its own.&lt;/p&gt;
</description></item><item><title>A PHP security alert and a long-overdue WordPress fix</title><link>https://www.markwilson.co.uk/thoughts/2026/11/01/php-security-alert-wordpress-caching/</link><pubDate>Sun, 1 Nov 2026 00:00:00 +0000</pubDate><author>markw@markwilson.co.uk (Mark Wilson)</author><guid>https://www.markwilson.co.uk/thoughts/2026/11/01/php-security-alert-wordpress-caching/</guid><description>&lt;h1 id="a-php-security-alert-and-a-long-overdue-wordpress-fix"&gt;A PHP security alert and a long-overdue WordPress fix&lt;/h1&gt;
&lt;p&gt;I&amp;rsquo;ve been blogging since 2004. Over that time, my WordPress site has accumulated around 2,500 posts, covering everything from technology and work to cycling, photography and whatever else happened to interest me at the time.&lt;/p&gt;
&lt;p&gt;But WordPress had become increasingly unreliable. Intermittent HTTP 503 errors were a recurring frustration, and attempts to upgrade PHP seemed to make matters worse. It was one of the reasons I decided to start afresh with &lt;a href="https://gohugo.io/"&gt;Hugo&lt;/a&gt;, a static site generator, at the beginning of 2026.&lt;/p&gt;
&lt;p&gt;My &lt;a href="https://www.markwilson.co.uk/thoughts/"&gt;new blog&lt;/a&gt; uses Hugo, but the &lt;a href="https://www.markwilson.co.uk/blog/"&gt;old WordPress installation&lt;/a&gt; remains online as an archive. Eventually, I&amp;rsquo;d like to convert those posts to static HTML too, removing the need to maintain WordPress altogether. That&amp;rsquo;s a project for another day, though.&lt;/p&gt;
&lt;p&gt;In the meantime, the old blog still needs to be kept secure. And in October, &lt;a href="https://www.ncsc.gov.uk/news/critical-security-issue-affecting-php"&gt;a PHP security alert&lt;/a&gt; gave me a reason to revisit the reliability problems I&amp;rsquo;d previously worked around rather than resolved.&lt;/p&gt;
&lt;h2 id="the-problem-with-keeping-old-software-running"&gt;The problem with keeping old software running&lt;/h2&gt;
&lt;p&gt;My WordPress installation had been running on PHP 7.4. Not because I thought that was a good idea, but because previous attempts to upgrade PHP had resulted in the site repeatedly exhausting its hosting resources.&lt;/p&gt;
&lt;p&gt;The symptoms were frustratingly familiar: intermittent HTTP 503 errors, accompanied by messages suggesting that the server was temporarily too busy to respond.&lt;/p&gt;
&lt;p&gt;Rolling back PHP had restored stability, but it wasn&amp;rsquo;t a satisfactory solution. PHP 7.4 reached end of life in November 2022, so it no longer receives security updates.&lt;/p&gt;
&lt;p&gt;Then, in October 2026, the PHP project released security updates addressing critical vulnerabilities, including CVE-2026-109618 and CVE-2026-109619. The &lt;a href="https://www.php.net/archive/2026.php#2026-10-21-5"&gt;PHP 8.4.27 release&lt;/a&gt; provided the necessary motivation to try again.&lt;/p&gt;
&lt;p&gt;I upgraded to PHP 8.4.27 through cPanel, checked that WordPress and its plugins were up to date, and hoped for the best.&lt;/p&gt;
&lt;p&gt;Unfortunately, the 503 errors returned.&lt;/p&gt;
&lt;h2 id="following-the-evidence"&gt;Following the evidence&lt;/h2&gt;
&lt;p&gt;Rather than immediately reverting to PHP 7.4, I decided to investigate properly.&lt;/p&gt;
&lt;p&gt;My hosting account has a 1GB physical memory limit. Looking at cPanel&amp;rsquo;s resource monitoring, it was clear that memory exhaustion, rather than CPU utilisation, was the immediate problem. At one point, I could see 17 concurrent PHP processes associated with WordPress. Individually, they weren&amp;rsquo;t particularly demanding, but collectively they were putting considerable pressure on the available memory.&lt;/p&gt;
&lt;p&gt;My hosting provider had previously suggested Jetpack might be responsible. That&amp;rsquo;s not an unreasonable suspicion — Jetpack provides a substantial collection of WordPress functionality — but I use several of its features and didn&amp;rsquo;t particularly want to start disabling things without evidence.&lt;/p&gt;
&lt;p&gt;Wordfence was another possibility. Again, it&amp;rsquo;s a relatively substantial plugin, but there was nothing to suggest that a scheduled malware scan was responsible for the problems I&amp;rsquo;d observed.&lt;/p&gt;
&lt;p&gt;I downloaded the web server access logs and used ChatGPT to help analyse them. They showed substantial automated traffic, including more than 1,800 requests from a crawler called Barkrowler during approximately 14 hours of HTTPS logging.&lt;/p&gt;
&lt;p&gt;That&amp;rsquo;s not necessarily malicious activity. Search engines and other crawlers are part of running a public website, particularly one with more than two decades of content. But every request potentially adds to the load.&lt;/p&gt;
&lt;p&gt;And that led me to something rather obvious.&lt;/p&gt;
&lt;h2 id="why-wasnt-i-caching-the-pages"&gt;Why wasn&amp;rsquo;t I caching the pages?&lt;/h2&gt;
&lt;p&gt;WordPress generates pages dynamically, using PHP and a database. That&amp;rsquo;s useful when you&amp;rsquo;re publishing content, managing comments or delivering personalised functionality.&lt;/p&gt;
&lt;p&gt;It&amp;rsquo;s less useful when somebody — or something — requests a blog post from 2010 that hasn&amp;rsquo;t changed in years. Without effective page caching, WordPress may need to execute PHP and load its plugins each time that page is requested. Multiply that by concurrent visitors and crawlers, and it&amp;rsquo;s easy to see how a relatively modest hosting account might struggle.&lt;/p&gt;
&lt;p&gt;I checked cPanel and discovered that LiteSpeed Cache was already available and enabled at the hosting level. All I needed to do was install the corresponding WordPress plugin and configure it.&lt;/p&gt;
&lt;p&gt;I kept things deliberately simple. Public page caching was enabled, but I left object caching, image optimisation and other optional features alone. I also confirmed that LiteSpeed&amp;rsquo;s built-in crawler was disabled — the last thing I needed was another process systematically requesting thousands of archived pages to warm the cache.&lt;/p&gt;
&lt;p&gt;Then I tested the result from my Mac using &lt;code&gt;curl&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;The first request returned:&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;x-litespeed-cache: miss
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;And the second:&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;x-litespeed-cache: hit
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Success. LiteSpeed had generated and cached the page on the first request, then served the cached version on the second.&lt;/p&gt;
&lt;p&gt;That means subsequent requests for the same public page can be handled without running WordPress again.&lt;/p&gt;
&lt;h2 id="a-week-without-a-crash"&gt;A week without a crash&lt;/h2&gt;
&lt;p&gt;At the time of writing, it&amp;rsquo;s been just over a week since I enabled LiteSpeed Cache, and I haven&amp;rsquo;t seen another 503 error.&lt;/p&gt;
&lt;p&gt;That&amp;rsquo;s a considerable improvement on the previous situation, when the site was repeatedly exhausting its hosting resources. I can&amp;rsquo;t claim to have conclusively diagnosed every aspect of the original problem, but the evidence strongly suggests that repeated requests to uncached WordPress pages were a significant contributor.&lt;/p&gt;
&lt;p&gt;More importantly, I&amp;rsquo;ve been able to keep PHP 8.4.27, Jetpack and Wordfence running without increasing my hosting resources or sacrificing useful functionality.&lt;/p&gt;
&lt;p&gt;For now, I&amp;rsquo;m leaving the configuration alone. If the errors return, there are other avenues to investigate, including aggressive crawler traffic and PHP worker concurrency. But after more than a week of stability, I&amp;rsquo;m reasonably confident that caching has made a substantial difference.&lt;/p&gt;
&lt;h2 id="a-reminder-about-technical-debt"&gt;A reminder about technical debt&lt;/h2&gt;
&lt;p&gt;There&amp;rsquo;s a broader lesson here about maintaining older systems.&lt;/p&gt;
&lt;p&gt;My WordPress blog isn&amp;rsquo;t a business-critical application, but it&amp;rsquo;s still a public-facing service that needs security updates, dependencies and hosting resources. Leaving it on an unsupported PHP version wasn&amp;rsquo;t a sustainable answer, even if it appeared to make the immediate problem disappear.&lt;/p&gt;
&lt;p&gt;Moving my new content to Hugo reduced my dependence on WordPress, but it didn&amp;rsquo;t eliminate the technical debt associated with maintaining the old archive. The security alert forced me to revisit an issue I&amp;rsquo;d worked around rather than resolved.&lt;/p&gt;
&lt;p&gt;In the end, the improvement didn&amp;rsquo;t require more memory, a hosting migration or removing useful functionality. It came from recognising that most requests to a long-established blog shouldn&amp;rsquo;t need to execute the entire WordPress application.&lt;/p&gt;
&lt;p&gt;Eventually, I&amp;rsquo;ll finish moving the archive to static HTML and remove that dependency altogether.&lt;/p&gt;
&lt;p&gt;Until then, a little caching seems to have bought me some breathing space.&lt;/p&gt;
</description></item><item><title>Adding my Somfy garage door to Home Assistant</title><link>https://www.markwilson.co.uk/thoughts/2026/10/30/somfy-garage-door-home-assistant/</link><pubDate>Fri, 30 Oct 2026 00:00:00 +0000</pubDate><author>markw@markwilson.co.uk (Mark Wilson)</author><guid>https://www.markwilson.co.uk/thoughts/2026/10/30/somfy-garage-door-home-assistant/</guid><description>&lt;p&gt;I&amp;rsquo;ve been gradually connecting more devices to Home Assistant, and my garage door was next on the list.&lt;/p&gt;
&lt;p&gt;It&amp;rsquo;s a roller shutter door controlled by a Somfy Rollixo RTS. The existing radio remotes work perfectly well, but I wanted to operate it from Home Assistant without replacing the controller or adding another proprietary hub.&lt;/p&gt;
&lt;p&gt;After discussing the options with ChatGPT, I settled on a &lt;strong&gt;SONOFF MINI-ZBD&lt;/strong&gt;. It&amp;rsquo;s a small Zigbee relay with volt-free (dry) contacts, which makes it suitable for connecting to the Somfy&amp;rsquo;s external keyswitch input.&lt;/p&gt;
&lt;h2 id="wiring-it-up"&gt;Wiring it up&lt;/h2&gt;
&lt;p&gt;The Rollixo RTS has a keyswitch input that operates the door when two terminals are briefly connected. The MINI-ZBD can provide that connection through its normally open relay. Better still, the Somfy has a 24V DC auxiliary supply, so there&amp;rsquo;s no need for a separate power adapter.&lt;/p&gt;
&lt;p&gt;For my Rollixo RTS, I used these connections:&lt;/p&gt;
&lt;table&gt;
	&lt;thead&gt;
			&lt;tr&gt;
					&lt;th&gt;Somfy terminal&lt;/th&gt;
					&lt;th&gt;SONOFF connection&lt;/th&gt;
					&lt;th&gt;Purpose&lt;/th&gt;
			&lt;/tr&gt;
	&lt;/thead&gt;
	&lt;tbody&gt;
			&lt;tr&gt;
					&lt;td&gt;14 (+24V DC)&lt;/td&gt;
					&lt;td&gt;DC+&lt;/td&gt;
					&lt;td&gt;Power&lt;/td&gt;
			&lt;/tr&gt;
			&lt;tr&gt;
					&lt;td&gt;15 (0V)&lt;/td&gt;
					&lt;td&gt;DC−&lt;/td&gt;
					&lt;td&gt;Power&lt;/td&gt;
			&lt;/tr&gt;
			&lt;tr&gt;
					&lt;td&gt;10 (keyswitch)&lt;/td&gt;
					&lt;td&gt;NO&lt;/td&gt;
					&lt;td&gt;Relay contact&lt;/td&gt;
			&lt;/tr&gt;
			&lt;tr&gt;
					&lt;td&gt;11 (keyswitch)&lt;/td&gt;
					&lt;td&gt;COM&lt;/td&gt;
					&lt;td&gt;Relay contact&lt;/td&gt;
			&lt;/tr&gt;
	&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;The relay simply closes the keyswitch circuit. It doesn&amp;rsquo;t introduce any voltage to those terminals.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://www.markwilson.co.uk/thoughts/images/somfy-sonoff-garage-door-wiring.png" alt="Wiring diagram for adding the SONOFF MINI-ZBD relay to the Somfy Rollixo RTS garage door controller" title="Wiring diagram for adding the SONOFF MINI-ZBD relay to the Somfy Rollixo RTS garage door controller"&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;I isolated the controller from the mains before making the connections. If you&amp;rsquo;re doing something similar, check the terminal assignments for your particular controller.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;The MINI-ZBD is small enough that I was able to mount it &lt;strong&gt;inside the existing Somfy Rollixo housing&lt;/strong&gt;, keeping everything neatly contained rather than having another box mounted alongside it.&lt;/p&gt;
&lt;h2 id="adding-it-to-home-assistant"&gt;Adding it to Home Assistant&lt;/h2&gt;
&lt;p&gt;My setup uses a &lt;strong&gt;Home Assistant Green&lt;/strong&gt; with a &lt;strong&gt;Connect ZBT-1 Zigbee adapter&lt;/strong&gt; (originally called SkyConnect), running Zigbee Home Automation (ZHA).&lt;/p&gt;
&lt;p&gt;Pairing the MINI-ZBD was straightforward. Home Assistant discovered it as a switch, which I named &lt;em&gt;Garage Door Controller&lt;/em&gt; and assigned to the Garage area.&lt;/p&gt;
&lt;p&gt;Switching the relay on and off operated the door, but there was a catch. The Somfy expects a momentary contact, like pressing and releasing a button. The MINI-ZBD, however, appears in ZHA as an ordinary on/off switch. Once switched on, it stays on. SONOFF calls the momentary function &lt;em&gt;inching&lt;/em&gt;. Although the MINI-ZBD supports it, the option isn&amp;rsquo;t currently exposed through my ZHA installation. It is available through Zigbee2MQTT, but I didn&amp;rsquo;t want to change my Zigbee setup just for one device.&lt;/p&gt;
&lt;p&gt;With some guidance from ChatGPT, I created a simple Home Assistant script instead:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-yaml" data-lang="yaml"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#f92672"&gt;alias&lt;/span&gt;: &lt;span style="color:#ae81ff"&gt;Garage Door Trigger&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#f92672"&gt;mode&lt;/span&gt;: &lt;span style="color:#ae81ff"&gt;single&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#f92672"&gt;sequence&lt;/span&gt;:
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; - &lt;span style="color:#f92672"&gt;action&lt;/span&gt;: &lt;span style="color:#ae81ff"&gt;switch.turn_on&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#f92672"&gt;target&lt;/span&gt;:
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#f92672"&gt;entity_id&lt;/span&gt;: &lt;span style="color:#ae81ff"&gt;switch.garage_roller_shutter_door_controller&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; - &lt;span style="color:#f92672"&gt;delay&lt;/span&gt;:
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#f92672"&gt;milliseconds&lt;/span&gt;: &lt;span style="color:#ae81ff"&gt;500&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; - &lt;span style="color:#f92672"&gt;action&lt;/span&gt;: &lt;span style="color:#ae81ff"&gt;switch.turn_off&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#f92672"&gt;target&lt;/span&gt;:
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#f92672"&gt;entity_id&lt;/span&gt;: &lt;span style="color:#ae81ff"&gt;switch.garage_roller_shutter_door_controller&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;This switches the relay on for half a second, then switches it off again. Testing confirmed that the Somfy responds just as it does to the original remote control.&lt;/p&gt;
&lt;p&gt;There is an important limitation. This is a software-controlled pulse, not hardware-enforced inching. If the second command fails, the relay could remain energised. For a motorised door, hardware-enforced momentary operation would be preferable.&lt;/p&gt;
&lt;h2 id="tidying-up-the-dashboard"&gt;Tidying up the dashboard&lt;/h2&gt;
&lt;p&gt;I didn&amp;rsquo;t want the underlying SONOFF switch appearing on my Home Assistant dashboards, where it could accidentally be left on. Fortunately, Home Assistant lets you hide an entity without disabling it. In the switch&amp;rsquo;s settings, I turned &lt;strong&gt;Visible&lt;/strong&gt; off but left &lt;strong&gt;Enabled&lt;/strong&gt; on. I then assigned the &lt;em&gt;Garage Door Trigger&lt;/em&gt; script to the Garage area. That gives me a simple way to activate the door without exposing the underlying switch.&lt;/p&gt;
&lt;p&gt;I also have an &lt;strong&gt;IKEA PARASOLL Zigbee contact sensor&lt;/strong&gt; on the garage door, so Home Assistant can tell whether it&amp;rsquo;s open or closed. I&amp;rsquo;ve used that to create automations that turn the garage light on and off according to the door&amp;rsquo;s position.&lt;/p&gt;
&lt;p&gt;That means Home Assistant can now operate the door, report its status and control the garage lighting, all through Zigbee.&lt;/p&gt;
&lt;h2 id="a-familiar-somfy-problem"&gt;A familiar Somfy problem&lt;/h2&gt;
&lt;p&gt;While working on the integration, I also encountered an old problem with the Somfy&amp;rsquo;s wireless safety-edge transmitter. The door would stop part-way down, just as it did when I &lt;a href="https://www.markwilson.co.uk/blog/2016/11/somfy-roller-shutter-garage-door-stopping-part-way-down.htm"&gt;wrote about the problem back in 2016&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Once again, the battery was the culprit. I had a spare Tadiran SL-760 3.6V lithium AA battery, but although it measured 3.56V on a multimeter, it didn&amp;rsquo;t resolve the issue. On closer inspection, it was marked May 2018, so it had been sitting around for more than eight years.&lt;/p&gt;
&lt;p&gt;I replaced it with a new &lt;strong&gt;Saft LS14500&lt;/strong&gt;, also a 3.6V lithium AA battery, but with a slightly higher nominal capacity (2600mAh compared with the Tadiran&amp;rsquo;s 2200mAh). That did the trick. Whether the difference was down to the battery&amp;rsquo;s age or its electrical characteristics under load, I can&amp;rsquo;t say. But the safety edge is behaving again.&lt;/p&gt;
&lt;h2 id="whats-next"&gt;What&amp;rsquo;s next?&lt;/h2&gt;
&lt;p&gt;The MINI-ZBD is a neat way to connect an existing garage door controller to Home Assistant. It uses the Somfy&amp;rsquo;s own power supply, works over Zigbee and leaves the original radio controls intact.&lt;/p&gt;
&lt;p&gt;The only disappointment is the lack of hardware inching support through ZHA. I&amp;rsquo;ll revisit that when support becomes available. For now, I&amp;rsquo;ve brought another part of the house into Home Assistant without introducing another hub or cloud dependency.&lt;/p&gt;
</description></item></channel></rss>