<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Raspberry Pi on Robert van Bregt</title>
    <link>https://blog-vanbregt-eu.statichost.page/tags/raspberry-pi/</link>
    <description>Recent content in Raspberry Pi on Robert van Bregt</description>
    <generator>Hugo</generator>
    <language>nl</language>
    <lastBuildDate>Fri, 13 May 2016 14:00:00 +0000</lastBuildDate>
    <atom:link href="https://blog-vanbregt-eu.statichost.page/tags/raspberry-pi/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Include Raspberry Pi System Temperature in openHAB</title>
      <link>https://blog-vanbregt-eu.statichost.page/2016/05/13/include-raspberry-pi-system-temperature-in-openhab/</link>
      <pubDate>Fri, 13 May 2016 14:00:00 +0000</pubDate>
      <guid>https://blog-vanbregt-eu.statichost.page/2016/05/13/include-raspberry-pi-system-temperature-in-openhab/</guid>
      <description>&lt;p&gt;(This post is also contributed to the openHAB wiki)&lt;/p&gt;
&lt;p&gt;The &lt;a href=&#34;https://github.com/openhab/openhab/wiki/Systeminfo-Binding&#34;&gt;Systeminfo Binding&lt;/a&gt; enables you to read system information through &lt;a href=&#34;http://sigar.hyperic.com/&#34;&gt;Sigar&lt;/a&gt;. The system information provided through this library can be extended with some additional important features. For example, reading system temperatures for your Raspberry Pi.&lt;/p&gt;
&lt;h2 id=&#34;cpu-temperature&#34;&gt;CPU temperature&lt;/h2&gt;
&lt;p&gt;The CPU temperature can be read with a terminal command:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;$ cat /sys/class/thermal/thermal_zone0/temp
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#ae81ff&#34;&gt;46540&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;This output can be captured using the Exec binding. The value returned represents millidegrees Celsius. (I’m not sure if another OS localization returns Fahrenheit). So the actual needed CPU temperature is computed through a Javascript transformation.&lt;/p&gt;</description>
    </item>
    <item>
      <title>My First Raspberry Pi</title>
      <link>https://blog-vanbregt-eu.statichost.page/2015/04/03/my-first-raspberry-pi/</link>
      <pubDate>Fri, 03 Apr 2015 06:57:08 +0000</pubDate>
      <guid>https://blog-vanbregt-eu.statichost.page/2015/04/03/my-first-raspberry-pi/</guid>
      <description>&lt;p&gt;Earlier this week my first &lt;a href=&#34;http://raspberrypi.org/&#34;&gt;Raspberry Pi&lt;/a&gt; arrived by mail. What a great little device. I intend to use it to replace my Mac Mini. That Mac is currently running an &lt;a href=&#34;http://openhab.org/&#34;&gt;openHAB&lt;/a&gt; server. Where the previous model B was said to be somewhat slow for larger openHAB installations, the hardware specs of this new &lt;a href=&#34;https://www.raspberrypi.org/products/raspberry-pi-2-model-b/&#34;&gt;Raspberry Pi 2 model B&lt;/a&gt; have increased. I expect it to be faster and fast enough for  my purposes.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
