{"id":134,"date":"2026-01-10T07:07:20","date_gmt":"2026-01-10T06:07:20","guid":{"rendered":"https:\/\/colline3.house\/?p=134"},"modified":"2026-01-10T07:10:23","modified_gmt":"2026-01-10T06:10:23","slug":"how-to-get-the-bthome-encryption-key-for-shelly-ht-home-assistant","status":"publish","type":"post","link":"https:\/\/colline3.house\/?p=134","title":{"rendered":"How to get the BTHome encryption key for Shelly H&amp;T (Home Assistant)"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Problem overview<\/h2>\n\n\n\n<p>When using a&nbsp;<strong>Shelly H&amp;T<\/strong>&nbsp;in&nbsp;<strong>BTHome (BLE)<\/strong>&nbsp;mode with <strong>encryption enabled<\/strong>,&nbsp;<strong>Home Assistant<\/strong>&nbsp;requires the&nbsp;<strong>128-bit (32-character hexadecimal) encryption key<\/strong>.<\/p>\n\n\n\n<p>However:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The&nbsp;<strong>Shelly mobile app does not display this key<\/strong><\/li>\n\n\n\n<li>The&nbsp;<strong>6-digit PIN shown in the app is NOT the BTHome encryption key<\/strong><\/li>\n\n\n\n<li>The key cannot be derived from the PIN<\/li>\n<\/ul>\n\n\n\n<p>As a result, pairing an&nbsp;<strong>encrypted<\/strong>&nbsp;BTHome Shelly H&amp;T seems impossible at first.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">The solution: Shelly BLE Debug app<\/h2>\n\n\n\n<p>Shelly provides a separate utility app called&nbsp;<strong>Shelly BLE Debug<\/strong>&nbsp;that&nbsp;<strong>reveals the BTHome encryption (bind) key<\/strong>broadcast by the device.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"961\" height=\"1024\" src=\"https:\/\/colline3.house\/wp-content\/uploads\/2026\/01\/8E3FF985-316C-4792-9F03-A6ADC7ECAE94_1_201_a-961x1024.jpeg\" alt=\"\" class=\"wp-image-137\" srcset=\"https:\/\/colline3.house\/wp-content\/uploads\/2026\/01\/8E3FF985-316C-4792-9F03-A6ADC7ECAE94_1_201_a-961x1024.jpeg 961w, https:\/\/colline3.house\/wp-content\/uploads\/2026\/01\/8E3FF985-316C-4792-9F03-A6ADC7ECAE94_1_201_a-281x300.jpeg 281w, https:\/\/colline3.house\/wp-content\/uploads\/2026\/01\/8E3FF985-316C-4792-9F03-A6ADC7ECAE94_1_201_a-768x819.jpeg 768w, https:\/\/colline3.house\/wp-content\/uploads\/2026\/01\/8E3FF985-316C-4792-9F03-A6ADC7ECAE94_1_201_a.jpeg 1170w\" sizes=\"auto, (max-width: 961px) 100vw, 961px\" \/><figcaption class=\"wp-element-caption\">Screenshot<\/figcaption><\/figure>\n\n\n\n<ol class=\"wp-block-list\">\n<li><\/li>\n<\/ol>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Important notes about BTHome encryption<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>BTHome supports both encrypted and non-encrypted modes<\/strong><\/li>\n\n\n\n<li>Apps like&nbsp;<strong>Home Assistant accept both<\/strong><\/li>\n\n\n\n<li>Encryption is&nbsp;<strong>optional<\/strong>, not mandatory<\/li>\n\n\n\n<li>Currently <strong>Home Assistant<\/strong> does not warn on encryption downgrade.  It should be solved shortly: <a href=\"https:\/\/github.com\/home-assistant\/core\/pull\/159646\">https:\/\/github.com\/home-assistant\/core\/pull\/159646<\/a><\/li>\n\n\n\n<li>Shelly BLU TRV devices cannot be encrypted (BTHome used to report temperatures); in addition, if you use an external Shelly sensor (eg. Shelly H&amp;T), it could not be encrypted.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>When using a\u00a0Shelly H&#038;T\u00a0in\u00a0BTHome (BLE)\u00a0mode with encryption enabled,\u00a0Home Assistant\u00a0requires the\u00a0128-bit (32-character hexadecimal) encryption key.  Where to find this key ?<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_coblocks_attr":"","_coblocks_dimensions":"","_coblocks_responsive_height":"","_coblocks_accordion_ie_support":"","footnotes":""},"categories":[22],"tags":[34,29],"class_list":["post-134","post","type-post","status-publish","format-standard","hentry","category-maison","tag-bthome","tag-home-assistant"],"_links":{"self":[{"href":"https:\/\/colline3.house\/index.php?rest_route=\/wp\/v2\/posts\/134","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/colline3.house\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/colline3.house\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/colline3.house\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/colline3.house\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=134"}],"version-history":[{"count":3,"href":"https:\/\/colline3.house\/index.php?rest_route=\/wp\/v2\/posts\/134\/revisions"}],"predecessor-version":[{"id":139,"href":"https:\/\/colline3.house\/index.php?rest_route=\/wp\/v2\/posts\/134\/revisions\/139"}],"wp:attachment":[{"href":"https:\/\/colline3.house\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=134"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/colline3.house\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=134"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/colline3.house\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=134"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}