<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Bugfix on Smart Home? Sure — But Secure!</title><link>https://smarthome-aber-sicher.de/en/tags/bugfix/</link><description>Recent content in Bugfix on Smart Home? Sure — But Secure!</description><generator>Hugo -- gohugo.io</generator><language>en</language><lastBuildDate>Thu, 01 Oct 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://smarthome-aber-sicher.de/en/tags/bugfix/index.xml" rel="self" type="application/rss+xml"/><item><title>Shelly via Matter was broken – so I fixed it in Home Assistant</title><link>https://smarthome-aber-sicher.de/en/blog/2026/10/01/shelly-matter-fix/</link><pubDate>Thu, 01 Oct 2026 00:00:00 +0000</pubDate><guid>https://smarthome-aber-sicher.de/en/blog/2026/10/01/shelly-matter-fix/</guid><description>&lt;img src="https://smarthome-aber-sicher.de/blog/2026/10/01/shelly-matter-fix/cover.jpeg" alt="Featured image of post Shelly via Matter was broken – so I fixed it in Home Assistant" /&gt;&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Ad:&lt;/strong&gt; Shelly provided the Shelly 2PM Gen4 devices free of charge. No payment, no content requirements, no approval before publication. Links marked &lt;em&gt;(paid link)&lt;/em&gt; are affiliate links.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Shelly sent me a whole box of the new &lt;strong&gt;Shelly 2PM Gen4&lt;/strong&gt; – my first Shellys with &lt;strong&gt;Matter over Wi-Fi&lt;/strong&gt;. So I tried it right away. And even though smart home is all I&amp;rsquo;ve been doing for years: I failed, right on the first device. The bug had been known for over a year. Since &lt;strong&gt;Home Assistant 2026.9.3&lt;/strong&gt; it&amp;rsquo;s gone – because I ended up fixing it myself.&lt;/p&gt;
&lt;div class="video-wrapper"&gt;
&lt;div class="video-placeholder" data-embed="https://www.youtube-nocookie.com/embed/VGnvdrnVeyo?autoplay=1" onclick="loadYtIframe(this)"&gt;
&lt;img src="https://smarthome-aber-sicher.de/maxresdefault_3517480879470482568_hu_830e6a430f3cdda1.jpg" alt="YouTube Video" loading="lazy"&gt;
&lt;div class="play-button"&gt;&lt;/div&gt;
&lt;div class="privacy-notice"&gt;
To load the video, please click the image. Please note that by doing so, data will be transmitted to YouTube.
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;h2 id="the-symptom-device-yes-shutter-no"&gt;The symptom: device yes, shutter no
&lt;/h2&gt;&lt;p&gt;Pairing via Matter is pleasant: scan the QR code in the Home Assistant app, done. No open Wi-Fi hotspot, no Wi-Fi password sent in plain text, no Shelly app – Matter transfers the credentials to the device encrypted.&lt;/p&gt;
&lt;p&gt;But: Home Assistant created &lt;strong&gt;no cover entity&lt;/strong&gt;. The device was there, firmware version and IP address too – but no up, no down, no stop.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://smarthome-aber-sicher.de/blog/2026/10/01/shelly-matter-fix/geraet-ohne-rollladen.jpeg"
width="1600"
height="754"
srcset="https://smarthome-aber-sicher.de/blog/2026/10/01/shelly-matter-fix/geraet-ohne-rollladen_hu_e2680c412222b8ee.webp 480w, https://smarthome-aber-sicher.de/blog/2026/10/01/shelly-matter-fix/geraet-ohne-rollladen_hu_2d0e08a86c6686ea.webp 1024w"
loading="lazy"
alt="Home Assistant device page “Rollladen Balkon nord”: Shelly 2PM Gen4 via Matter with firmware 1.3.0, but no shutter controls"
class="gallery-image"
data-flex-grow="212"
data-flex-basis="509px"
&gt;
&lt;em&gt;Device detected, firmware shown – but no shutter controls.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;I wasn&amp;rsquo;t the first: the problem has been documented since &lt;strong&gt;August 2025&lt;/strong&gt; in &lt;a class="link" href="https://github.com/home-assistant/core/issues/149876" target="_blank" rel="noopener"
&gt;home-assistant/core#149876&lt;/a&gt;, with more than 30 comments.&lt;/p&gt;
&lt;h2 id="the-clue-the-venetian-blind"&gt;The clue: the venetian blind
&lt;/h2&gt;&lt;p&gt;On the next install I swapped two devices: one for a regular roller shutter, one for external venetian blinds. For the blinds I enabled &lt;strong&gt;Slat Control&lt;/strong&gt; in the Shelly web interface – and suddenly the cover entity appeared, with sliders for position and tilt.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://smarthome-aber-sicher.de/blog/2026/10/01/shelly-matter-fix/raffstore-zwei-regler.jpeg"
width="1600"
height="900"
srcset="https://smarthome-aber-sicher.de/blog/2026/10/01/shelly-matter-fix/raffstore-zwei-regler_hu_2cd8dfc3454b89f4.webp 480w, https://smarthome-aber-sicher.de/blog/2026/10/01/shelly-matter-fix/raffstore-zwei-regler_hu_c4350f8e2facfdcd.webp 1024w"
loading="lazy"
alt="Home Assistant dialog for venetian blinds with two sliders: position on the left, tilt on the right"
class="gallery-image"
data-flex-grow="177"
data-flex-basis="426px"
&gt;
&lt;em&gt;This is what venetian blinds look like in Home Assistant: one slider for position, one for tilt.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;The regular shutter: still nothing. Enabled Slat Control there as a test – entity appeared, but with a second slider that does nothing.&lt;/p&gt;
&lt;h2 id="the-cause"&gt;The cause
&lt;/h2&gt;&lt;p&gt;With Matter, a device reports what it can do and delivers the matching values:&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;What the Shelly reports (no slats)&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;FeatureMap&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;lift yes, tilt &lt;strong&gt;no&lt;/strong&gt; – correct&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;AttributeList&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;still contains the tilt value &lt;code&gt;CurrentPositionTiltPercent100ths&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Value&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;null&lt;/code&gt; – i.e. &amp;ldquo;empty&amp;rdquo;, not the number 0&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;img src="https://smarthome-aber-sicher.de/blog/2026/10/01/shelly-matter-fix/matter-json-null.jpeg"
width="941"
height="880"
srcset="https://smarthome-aber-sicher.de/blog/2026/10/01/shelly-matter-fix/matter-json-null_hu_fef743369775e9a8.webp 480w, https://smarthome-aber-sicher.de/blog/2026/10/01/shelly-matter-fix/matter-json-null_hu_dbf379fd31783328.webp 1024w"
loading="lazy"
alt="Excerpt from the Shelly’s Matter server data: attribute 1/258/15 is null, attribute 1/258/65532 has the value 5"
class="gallery-image"
data-flex-grow="106"
data-flex-basis="256px"
&gt;
&lt;em&gt;Excerpt from the Matter server: cluster 258 is window covering. Attribute 15 (tilt) is &lt;code&gt;null&lt;/code&gt;, attribute 65532 (FeatureMap) is 5 – lift yes, tilt no.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Home Assistant used to treat the tilt value as &lt;strong&gt;required&lt;/strong&gt; during discovery. Required value empty → the device matches no schema → &lt;strong&gt;no&lt;/strong&gt; entity at all, not even a simple one for a shutter without slats.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://smarthome-aber-sicher.de/blog/2026/10/01/shelly-matter-fix/keine-schublade-passt.jpeg"
width="1600"
height="660"
srcset="https://smarthome-aber-sicher.de/blog/2026/10/01/shelly-matter-fix/keine-schublade-passt_hu_58580e072e81ec41.webp 480w, https://smarthome-aber-sicher.de/blog/2026/10/01/shelly-matter-fix/keine-schublade-passt_hu_a47977b4732f50d1.webp 1024w"
loading="lazy"
alt="Diagram: Home Assistant checks four schemas – no position, lift only, tilt only, lift plus tilt – and none matches the Shelly"
class="gallery-image"
data-flex-grow="242"
data-flex-basis="581px"
&gt;
&lt;em&gt;Four &amp;ldquo;drawers&amp;rdquo; for covers – because of the empty tilt value, the Shelly fits none of them.&lt;/em&gt;&lt;/p&gt;
&lt;h2 id="whose-fault-is-it"&gt;Whose fault is it?
&lt;/h2&gt;&lt;p&gt;You could argue that without slats, the Shelly shouldn&amp;rsquo;t report the tilt value at all. I asked Shelly support. Their answer: they can&amp;rsquo;t support individual smart home systems, and other Matter controllers such as Apple Home handle this behavior just fine. A fair point – so the fix had to happen in Home Assistant.&lt;/p&gt;
&lt;h2 id="the-fix"&gt;The fix
&lt;/h2&gt;&lt;p&gt;My pull request &lt;a class="link" href="https://github.com/home-assistant/core/pull/182042" target="_blank" rel="noopener"
&gt;home-assistant/core#182042&lt;/a&gt; changes two things in the Matter integration with 17 lines of code:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;The tilt value is &lt;strong&gt;optional&lt;/strong&gt; instead of required during discovery. If it&amp;rsquo;s empty, a cover entity is still created.&lt;/li&gt;
&lt;li&gt;The &lt;strong&gt;tilt slider&lt;/strong&gt; only appears if the device&amp;rsquo;s FeatureMap reports tilt – otherwise you&amp;rsquo;d get a slider that does nothing.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;On top of that: tests with a simulated Shelly and real-world tests on my own devices (with and without slats, calibrated and uncalibrated). Submitted Saturday evening, merged Sunday morning: after more than a year of an open issue, the review took less than 17 hours.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://smarthome-aber-sicher.de/blog/2026/10/01/shelly-matter-fix/pull-request-merged.jpeg"
width="1600"
height="900"
srcset="https://smarthome-aber-sicher.de/blog/2026/10/01/shelly-matter-fix/pull-request-merged_hu_f8b2d2a75736217a.webp 480w, https://smarthome-aber-sicher.de/blog/2026/10/01/shelly-matter-fix/pull-request-merged_hu_64f6d2ef33c28725.webp 1024w"
loading="lazy"
alt="Pull request home-assistant/core#182042 on GitHub with the status “Merged”"
class="gallery-image"
data-flex-grow="177"
data-flex-basis="426px"
&gt;
&lt;em&gt;My first pull request for Home Assistant – merged.&lt;/em&gt;&lt;/p&gt;
&lt;h2 id="what-you-need-to-do-now"&gt;What you need to do now
&lt;/h2&gt;&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;Update Home Assistant to 2026.9.3 or later.&lt;/strong&gt; The fix is listed in the &lt;a class="link" href="https://www.home-assistant.io/blog/2026/09/02/release-20269/" target="_blank" rel="noopener"
&gt;release notes&lt;/a&gt; under 2026.9.3.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Calibrate your Shelly:&lt;/strong&gt; start a calibration run in the Shelly web interface. Without calibration, no cover entity appears even with the fix.&lt;/li&gt;
&lt;li&gt;If the shutter still doesn&amp;rsquo;t show up: in the device view, open the three-dot menu and run &lt;strong&gt;&amp;ldquo;Re-interview device&amp;rdquo;&lt;/strong&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;img src="https://smarthome-aber-sicher.de/blog/2026/10/01/shelly-matter-fix/geraet-erneut-abfragen.jpeg"
width="776"
height="1281"
srcset="https://smarthome-aber-sicher.de/blog/2026/10/01/shelly-matter-fix/geraet-erneut-abfragen_hu_bd2edd3e72856eac.webp 480w, https://smarthome-aber-sicher.de/blog/2026/10/01/shelly-matter-fix/geraet-erneut-abfragen_hu_eb2d0506d16f05dd.webp 1024w"
loading="lazy"
alt="Three-dot menu on the Home Assistant device page with the entry “Re-interview device” (German UI: „Gerät erneut abfragen“)"
class="gallery-image"
data-flex-grow="60"
data-flex-basis="145px"
&gt;&lt;/p&gt;
&lt;p&gt;If you have venetian blinds: I show how to set up slat control and use it in automations in &lt;a class="link" href="https://smarthome-aber-sicher.de/en/blog/2026/09/17/shelly-raffstore-tilt/" &gt;Tilt Venetian Blind Slats to the Percent with Shelly and Home Assistant&lt;/a&gt;.&lt;/p&gt;
&lt;h2 id="your-opinion-matters"&gt;Your opinion matters
&lt;/h2&gt;&lt;p&gt;That an uncalibrated Shelly doesn&amp;rsquo;t show up as a shutter via Matter at all is confusing, especially for beginners. Should Home Assistant create it anyway – at least with up, down and stop? Or is &amp;ldquo;calibrate first&amp;rdquo; perfectly fine? Tell me in the comments. If many of you agree, I&amp;rsquo;ll look into it next.&lt;/p&gt;
&lt;h2 id="products-from-this-article"&gt;Products from this article
&lt;/h2&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Shelly 2PM Gen4&lt;/strong&gt; – directly from Shelly &lt;em&gt;(paid link)&lt;/em&gt;: &lt;a class="link" href="https://upf.ai/l24blt88" target="_blank" rel="noopener"
&gt;https://upf.ai/l24blt88&lt;/a&gt; · discount code &lt;code&gt;SMARTHOMEABERSICHER-10OFF&lt;/code&gt; for 10% off&lt;/li&gt;
&lt;/ul&gt;
&lt;blockquote&gt;
&lt;p&gt;Note: Links marked with &lt;em&gt;affiliate link&lt;/em&gt; are affiliate links. As a partner of various retailers and manufacturers (e.g. Amazon, OBI via the Awin network, Shelly) I earn from qualifying purchases. This means I receive a small commission if you purchase through these links — at no extra cost to you. The revenue helps me run this blog and YouTube channel and keep creating content. Thank you for your support!&lt;/p&gt;&lt;span class="cite"&gt;&lt;span&gt;― &lt;/span&gt;&lt;span&gt;Joachim&lt;/span&gt;&lt;cite&gt;&lt;/cite&gt;&lt;/span&gt;&lt;/blockquote&gt;</description></item></channel></rss>