<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de">
	<id>https://raz0rsedge.de/mediawiki/index.php?action=history&amp;feed=atom&amp;title=RPi_GPIO_Temp_Fan_Switch</id>
	<title>RPi GPIO Temp Fan Switch - Versionsgeschichte</title>
	<link rel="self" type="application/atom+xml" href="https://raz0rsedge.de/mediawiki/index.php?action=history&amp;feed=atom&amp;title=RPi_GPIO_Temp_Fan_Switch"/>
	<link rel="alternate" type="text/html" href="https://raz0rsedge.de/mediawiki/index.php?title=RPi_GPIO_Temp_Fan_Switch&amp;action=history"/>
	<updated>2026-05-06T15:05:26Z</updated>
	<subtitle>Versionsgeschichte dieser Seite in AirSpaceWatch &amp; More</subtitle>
	<generator>MediaWiki 1.34.2</generator>
	<entry>
		<id>https://raz0rsedge.de/mediawiki/index.php?title=RPi_GPIO_Temp_Fan_Switch&amp;diff=175&amp;oldid=prev</id>
		<title>Raz0rsedge am 30. September 2020 um 15:25 Uhr</title>
		<link rel="alternate" type="text/html" href="https://raz0rsedge.de/mediawiki/index.php?title=RPi_GPIO_Temp_Fan_Switch&amp;diff=175&amp;oldid=prev"/>
		<updated>2020-09-30T15:25:47Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;de&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Version vom 30. September 2020, 15:25 Uhr&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Zeile 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot; line=&amp;#039;line&amp;#039;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot; line=&amp;#039;line&amp;#039;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#!/bin/bash&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#!/bin/bash&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# I&amp;#039;m usin {apt get install pigpiod} for the GPIO&amp;#039;s of the RaspberryPi&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# I&amp;#039;m usin {apt get install pigpiod &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;pigpio&lt;/ins&gt;} for the GPIO&amp;#039;s of the RaspberryPi&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;pigs modes 21 w #set GPIO 21 to mode output&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;pigs modes 21 w #set GPIO 21 to mode output&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;while true&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;while true&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key wiki:diff::1.12:old-75:rev-175 --&gt;
&lt;/table&gt;</summary>
		<author><name>Raz0rsedge</name></author>
		
	</entry>
	<entry>
		<id>https://raz0rsedge.de/mediawiki/index.php?title=RPi_GPIO_Temp_Fan_Switch&amp;diff=75&amp;oldid=prev</id>
		<title>Raz0rsedge: Die Seite wurde neu angelegt: „&lt;syntaxhighlight lang=&quot;bash&quot; line=&#039;line&#039;&gt; #!/bin/bash # I&#039;m usin {apt get install pigpiod} for the GPIO&#039;s of the RaspberryPi pigs modes 21 w #set GPIO 21 to mo…“</title>
		<link rel="alternate" type="text/html" href="https://raz0rsedge.de/mediawiki/index.php?title=RPi_GPIO_Temp_Fan_Switch&amp;diff=75&amp;oldid=prev"/>
		<updated>2020-09-14T08:47:31Z</updated>

		<summary type="html">&lt;p&gt;Die Seite wurde neu angelegt: „&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot; line=&amp;#039;line&amp;#039;&amp;gt; #!/bin/bash # I&amp;#039;m usin {apt get install pigpiod} for the GPIO&amp;#039;s of the RaspberryPi pigs modes 21 w #set GPIO 21 to mo…“&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Neue Seite&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot; line=&amp;#039;line&amp;#039;&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
# I&amp;#039;m usin {apt get install pigpiod} for the GPIO&amp;#039;s of the RaspberryPi&lt;br /&gt;
pigs modes 21 w #set GPIO 21 to mode output&lt;br /&gt;
while true&lt;br /&gt;
do&lt;br /&gt;
        let throttle=$(vcgencmd get_throttled | egrep -o &amp;#039;[^|x]*[0-9]+$&amp;#039;)&lt;br /&gt;
        let temp=$(vcgencmd measure_temp | egrep -o &amp;#039;[^|=]*[0-9]{2}&amp;#039;)&lt;br /&gt;
        let clock=$(vcgencmd measure_clock arm | egrep -o &amp;#039;[^|=]*$&amp;#039;)&lt;br /&gt;
        let clockmhz=$clock/1000000&lt;br /&gt;
        let fan=$throttle%80000&lt;br /&gt;
        echo &amp;quot;_____________________________&amp;quot;&lt;br /&gt;
        echo &amp;quot;|CPU Core Temp     = $temp *C   |&amp;quot;&lt;br /&gt;
        echo &amp;quot;|CPU Throttle Byte = $fan       |&amp;quot;&lt;br /&gt;
        if [ $fan != 0 ]&lt;br /&gt;
                then&lt;br /&gt;
                        echo &amp;quot;|Throttling, a fan is needed!|&amp;quot;&lt;br /&gt;
                        pigs w 21 1&lt;br /&gt;
                else&lt;br /&gt;
                        echo &amp;quot;|Normal temp, all fine!      |&amp;quot;&lt;br /&gt;
                        pigs w 21 0&lt;br /&gt;
        fi&lt;br /&gt;
        let output=$(pigs r 21)&lt;br /&gt;
        echo &amp;quot;|FAN Switch State  = $output       |&amp;quot;&lt;br /&gt;
        echo &amp;quot;|CPU Clock Mode    = $clockmhz MHz|&amp;quot;&lt;br /&gt;
        echo &amp;quot;|____________________________|&amp;quot;&lt;br /&gt;
        sleep 5&lt;br /&gt;
done&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Raz0rsedge</name></author>
		
	</entry>
</feed>