<?xml-stylesheet type="text/xsl" href="https://community.element14.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Automatically powering down the mains supply for a Raspberry Pi</title><link>/products/raspberry-pi/raspberrypi_projects/b/blog/posts/automatically-powering-down-the-mains-supply-for-a-raspberry-pi</link><description>One of the few things that bugs me about shutting down the the Raspberry Pi is how I need to toggle the power supply to start it back up. There are a few solutions around, like an inline power switch, or the MoPi shield.. or just pull the micro USB p</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Automatically powering down the mains supply for a Raspberry Pi</title><link>https://community.element14.com/products/raspberry-pi/raspberrypi_projects/b/blog/posts/automatically-powering-down-the-mains-supply-for-a-raspberry-pi</link><pubDate>Wed, 02 Jun 2021 09:39:57 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:15208cbb-8ee9-4bb1-bfcf-104693e3497d</guid><dc:creator>amgalbu</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Hello Matt&lt;/p&gt;&lt;p&gt;interesting solution!&lt;/p&gt;&lt;p&gt;what is the power consumption of the energenie plug? May be it worth comparing the consumption of the socket with the consumption of the Raspberry pi in shutdown state. If the consumption are comparable, you could switch on the raspberry using Gpio 5 (and create a simple script to start the shutdown procedure when the status of another GPIO changes - unfortunately GPIO 5 is used for the I2C interface)&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;cheers&lt;/p&gt;&lt;p&gt;Ambrogio&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=4706&amp;AppID=84&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>