{"id":30886,"date":"2017-09-07T19:59:02","date_gmt":"2017-09-07T17:59:02","guid":{"rendered":"https:\/\/raspberrypi.dk\/produkt\/onoff-shim\/"},"modified":"2025-08-21T12:54:46","modified_gmt":"2025-08-21T10:54:46","slug":"onoff-shim","status":"publish","type":"product","link":"https:\/\/raspberrypi.dk\/en\/product\/onoff-shim\/","title":{"rendered":"OnOff SHIM"},"content":{"rendered":"<p><strong>Features<\/strong><\/p>\n<ul>\n<li>super-small SHIM-format board<\/li>\n<li>0.8mm thick PCB<\/li>\n<li>can be used with HATs and pHATs<\/li>\n<li>corner-mounted push button for on\/off<\/li>\n<li>micro-B connector for power supply<\/li>\n<li>red status LED<\/li>\n<li>optional breakout pins to connect an external momentary button<\/li>\n<li>2&#215;6 female header included<\/li>\n<li>supports up to 2.5A power supply<\/li>\n<li>software daemon to shutdown cleanly<\/li>\n<li><strong>requires soldering<\/strong><\/li>\n<\/ul>\n<p><strong>Software<\/strong><\/p>\n<p>We&#8217;ve put together a one-line-installer to install the clean shutdown daemon. It watches the state of BCM pin 17 and, when pulled low (pressed), it initiates a clean shutdown. Last thing, just before your Pi shuts down, BCM pin 4 is pulled low to completely cut power to your Pi.<\/p>\n<p>To install the software, open a terminal and type:\u00a0 <code>curl https:\/\/get.pimoroni.com\/onoffshim | bash<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p><strong>Pimoroni OnOff SHIM.<\/strong><\/p>\n<p>Add a tiny yet convenient power switch to your Pi with OnOff SHIM!<\/p>\n<p><span id=\"result_box\" class=\"\" lang=\"da\">Just plug your micro-USB power supply into the micro-B connector on OnOff SHIM, and then press the button once to switch on power and boot up your Pi. After installing our software (details below), you can press the button again to initiate a clean shutdown and completely cut the power to your Pi.<\/span><br \/>\n<strong>If<\/strong>\u00a0the product is on backorder: no guaranteed date of shipment.<\/p>\n","protected":false},"featured_media":30878,"comment_status":"open","ping_status":"closed","template":"","meta":[],"product_brand":[],"product_cat":[459,464],"product_tag":[],"class_list":{"0":"post-30886","1":"product","2":"type-product","3":"status-publish","4":"has-post-thumbnail","6":"product_cat-raspberry-pi-hats-gpio-en","7":"product_cat-raspberry-pi-power-supplies","9":"first","10":"instock","11":"taxable","12":"shipping-taxable","13":"purchasable","14":"product-type-simple"},"composite_virtual":false,"composite_layout":"","composite_add_to_cart_form_location":"","composite_editable_in_cart":false,"composite_sold_individually_context":"","composite_shop_price_calc":"","composite_components":[],"composite_scenarios":[],"bundled_by":[],"bundle_stock_status":"instock","bundle_stock_quantity":6,"bundle_virtual":false,"bundle_layout":"","bundle_add_to_cart_form_location":"","bundle_editable_in_cart":false,"bundle_sold_individually_context":"","bundle_item_grouping":"","bundle_min_size":"","bundle_max_size":"","bundle_price":[],"bundled_items":[],"bundle_sell_ids":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>OnOff SHIM \u2022 RaspberryPi.dk<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/raspberrypi.dk\/en\/product\/onoff-shim\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"OnOff SHIM \u2022 RaspberryPi.dk\" \/>\n<meta property=\"og:description\" content=\"Pimoroni OnOff SHIM.  Add a tiny yet convenient power switch to your Pi with OnOff SHIM!  Just plug your micro-USB power supply into the micro-B connector on OnOff SHIM, and then press the button once to switch on power and boot up your Pi. After installing our software (details below), you can press the button again to initiate a clean shutdown and completely cut the power to your Pi. If\u00a0the product is on backorder: no guaranteed date of shipment.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/raspberrypi.dk\/en\/product\/onoff-shim\/\" \/>\n<meta property=\"og:site_name\" content=\"RaspberryPi.dk\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/facebook.com\/RaspberryPiDanmark\" \/>\n<meta property=\"article:modified_time\" content=\"2025-08-21T10:54:46+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/raspberrypi.dk\/wp-content\/uploads\/2017\/09\/OnOff_Shim1.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1024\" \/>\n\t<meta property=\"og:image:height\" content=\"1024\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@raspberrypidk\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/raspberrypi.dk\/en\/product\/onoff-shim\/\",\"url\":\"https:\/\/raspberrypi.dk\/en\/product\/onoff-shim\/\",\"name\":\"OnOff SHIM \u2022 RaspberryPi.dk\",\"isPartOf\":{\"@id\":\"https:\/\/raspberrypi.dk\/en\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/raspberrypi.dk\/en\/product\/onoff-shim\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/raspberrypi.dk\/en\/product\/onoff-shim\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/raspberrypi.dk\/wp-content\/uploads\/2017\/09\/OnOff_Shim1.jpg\",\"datePublished\":\"2017-09-07T17:59:02+00:00\",\"dateModified\":\"2025-08-21T10:54:46+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/raspberrypi.dk\/en\/product\/onoff-shim\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/raspberrypi.dk\/en\/product\/onoff-shim\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/raspberrypi.dk\/en\/product\/onoff-shim\/#primaryimage\",\"url\":\"https:\/\/raspberrypi.dk\/wp-content\/uploads\/2017\/09\/OnOff_Shim1.jpg\",\"contentUrl\":\"https:\/\/raspberrypi.dk\/wp-content\/uploads\/2017\/09\/OnOff_Shim1.jpg\",\"width\":1024,\"height\":1024,\"caption\":\"pimoroni onoff shim\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/raspberrypi.dk\/en\/product\/onoff-shim\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Hjem\",\"item\":\"https:\/\/raspberrypi.dk\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Shop\",\"item\":\"https:\/\/raspberrypi.dk\/en\/shop-2\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"OnOff SHIM\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/raspberrypi.dk\/en\/#website\",\"url\":\"https:\/\/raspberrypi.dk\/en\/\",\"name\":\"RaspberryPi.dk\",\"description\":\"Leading Raspberry Pi shop in the Nordic region!\",\"publisher\":{\"@id\":\"https:\/\/raspberrypi.dk\/en\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/raspberrypi.dk\/en\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/raspberrypi.dk\/en\/#organization\",\"name\":\"RaspberryPi.dk\",\"url\":\"https:\/\/raspberrypi.dk\/en\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/raspberrypi.dk\/en\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/raspberrypi.dk\/wp-content\/uploads\/2017\/05\/RaspberryPidk_logo-2.png\",\"contentUrl\":\"https:\/\/raspberrypi.dk\/wp-content\/uploads\/2017\/05\/RaspberryPidk_logo-2.png\",\"width\":470,\"height\":110,\"caption\":\"RaspberryPi.dk\"},\"image\":{\"@id\":\"https:\/\/raspberrypi.dk\/en\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/facebook.com\/RaspberryPiDanmark\",\"https:\/\/x.com\/raspberrypidk\",\"https:\/\/instagram.com\/raspberrypi.dk\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"OnOff SHIM \u2022 RaspberryPi.dk","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/raspberrypi.dk\/en\/product\/onoff-shim\/","og_locale":"en_US","og_type":"article","og_title":"OnOff SHIM \u2022 RaspberryPi.dk","og_description":"Pimoroni OnOff SHIM.  Add a tiny yet convenient power switch to your Pi with OnOff SHIM!  Just plug your micro-USB power supply into the micro-B connector on OnOff SHIM, and then press the button once to switch on power and boot up your Pi. After installing our software (details below), you can press the button again to initiate a clean shutdown and completely cut the power to your Pi. If\u00a0the product is on backorder: no guaranteed date of shipment.","og_url":"https:\/\/raspberrypi.dk\/en\/product\/onoff-shim\/","og_site_name":"RaspberryPi.dk","article_publisher":"https:\/\/facebook.com\/RaspberryPiDanmark","article_modified_time":"2025-08-21T10:54:46+00:00","og_image":[{"width":1024,"height":1024,"url":"https:\/\/raspberrypi.dk\/wp-content\/uploads\/2017\/09\/OnOff_Shim1.jpg","type":"image\/jpeg"}],"twitter_card":"summary_large_image","twitter_site":"@raspberrypidk","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/raspberrypi.dk\/en\/product\/onoff-shim\/","url":"https:\/\/raspberrypi.dk\/en\/product\/onoff-shim\/","name":"OnOff SHIM \u2022 RaspberryPi.dk","isPartOf":{"@id":"https:\/\/raspberrypi.dk\/en\/#website"},"primaryImageOfPage":{"@id":"https:\/\/raspberrypi.dk\/en\/product\/onoff-shim\/#primaryimage"},"image":{"@id":"https:\/\/raspberrypi.dk\/en\/product\/onoff-shim\/#primaryimage"},"thumbnailUrl":"https:\/\/raspberrypi.dk\/wp-content\/uploads\/2017\/09\/OnOff_Shim1.jpg","datePublished":"2017-09-07T17:59:02+00:00","dateModified":"2025-08-21T10:54:46+00:00","breadcrumb":{"@id":"https:\/\/raspberrypi.dk\/en\/product\/onoff-shim\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/raspberrypi.dk\/en\/product\/onoff-shim\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/raspberrypi.dk\/en\/product\/onoff-shim\/#primaryimage","url":"https:\/\/raspberrypi.dk\/wp-content\/uploads\/2017\/09\/OnOff_Shim1.jpg","contentUrl":"https:\/\/raspberrypi.dk\/wp-content\/uploads\/2017\/09\/OnOff_Shim1.jpg","width":1024,"height":1024,"caption":"pimoroni onoff shim"},{"@type":"BreadcrumbList","@id":"https:\/\/raspberrypi.dk\/en\/product\/onoff-shim\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Hjem","item":"https:\/\/raspberrypi.dk\/en\/"},{"@type":"ListItem","position":2,"name":"Shop","item":"https:\/\/raspberrypi.dk\/en\/shop-2\/"},{"@type":"ListItem","position":3,"name":"OnOff SHIM"}]},{"@type":"WebSite","@id":"https:\/\/raspberrypi.dk\/en\/#website","url":"https:\/\/raspberrypi.dk\/en\/","name":"RaspberryPi.dk","description":"Leading Raspberry Pi shop in the Nordic region!","publisher":{"@id":"https:\/\/raspberrypi.dk\/en\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/raspberrypi.dk\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/raspberrypi.dk\/en\/#organization","name":"RaspberryPi.dk","url":"https:\/\/raspberrypi.dk\/en\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/raspberrypi.dk\/en\/#\/schema\/logo\/image\/","url":"https:\/\/raspberrypi.dk\/wp-content\/uploads\/2017\/05\/RaspberryPidk_logo-2.png","contentUrl":"https:\/\/raspberrypi.dk\/wp-content\/uploads\/2017\/05\/RaspberryPidk_logo-2.png","width":470,"height":110,"caption":"RaspberryPi.dk"},"image":{"@id":"https:\/\/raspberrypi.dk\/en\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/facebook.com\/RaspberryPiDanmark","https:\/\/x.com\/raspberrypidk","https:\/\/instagram.com\/raspberrypi.dk"]}]}},"_links":{"self":[{"href":"https:\/\/raspberrypi.dk\/en\/wp-json\/wp\/v2\/product\/30886","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/raspberrypi.dk\/en\/wp-json\/wp\/v2\/product"}],"about":[{"href":"https:\/\/raspberrypi.dk\/en\/wp-json\/wp\/v2\/types\/product"}],"replies":[{"embeddable":true,"href":"https:\/\/raspberrypi.dk\/en\/wp-json\/wp\/v2\/comments?post=30886"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/raspberrypi.dk\/en\/wp-json\/wp\/v2\/media\/30878"}],"wp:attachment":[{"href":"https:\/\/raspberrypi.dk\/en\/wp-json\/wp\/v2\/media?parent=30886"}],"wp:term":[{"taxonomy":"product_brand","embeddable":true,"href":"https:\/\/raspberrypi.dk\/en\/wp-json\/wp\/v2\/product_brand?post=30886"},{"taxonomy":"product_cat","embeddable":true,"href":"https:\/\/raspberrypi.dk\/en\/wp-json\/wp\/v2\/product_cat?post=30886"},{"taxonomy":"product_tag","embeddable":true,"href":"https:\/\/raspberrypi.dk\/en\/wp-json\/wp\/v2\/product_tag?post=30886"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}