<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to RaspberryPiSample</title><link>https://sourceforge.net/p/m2mlabs/wiki/RaspberryPiSample/</link><description>Recent changes to RaspberryPiSample</description><atom:link href="https://sourceforge.net/p/m2mlabs/wiki/RaspberryPiSample/feed" rel="self"/><language>en</language><lastBuildDate>Sat, 07 Mar 2015 17:02:24 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/m2mlabs/wiki/RaspberryPiSample/feed" rel="self" type="application/rss+xml"/><item><title>RaspberryPiSample modified by Jim</title><link>https://sourceforge.net/p/m2mlabs/wiki/RaspberryPiSample/</link><description>&lt;div class="markdown_content"&gt;&lt;h1 id="raspberry-pi-hardware-device"&gt;Raspberry Pi Hardware Device&lt;/h1&gt;
&lt;p&gt;This is a sample project that runs on a Raspberry Pi open source hardware device, For more information or Raspberry Pi please look at &lt;a href="http://www.raspberrypi.org." rel="nofollow"&gt;http://www.raspberrypi.org.&lt;/a&gt; The sample code is written in Python and reads the CPU temperature of the Raspberry PI every 5 seconds n times and sends it to the m2mlabs server.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;download the sample code from &lt;a href="http://sourceforge.net/projects/m2mlabs/files/samples/samples.zip/download"&gt;http://sourceforge.net/projects/m2mlabs/files/samples/samples.zip/download&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;create a device with sensor name "tcore" and attribute name "temperature" in the m2mlabs admin GUI. How to create device models, sensor models and devices is described in the &lt;a class="" href="https://sourceforge.net/p/m2mlabs/wiki/Tutorial"&gt;Tutorial&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;install Python on the Raspberry PI if it is not already installed&lt;/li&gt;
&lt;li&gt;edit config.txt in samples/python/config and change server url, apikey and device name to your settings&lt;/li&gt;
&lt;li&gt;run python m2mlabs_send.py in samples/python&lt;/li&gt;
&lt;li&gt;check if data was received on the m2mlabs admin GUI at &lt;a href="http://localhost/cs-ws:8080" rel="nofollow"&gt;http://localhost/cs-ws:8080&lt;/a&gt; or run the monitor at &lt;a href="http://localhost/cs-ws:8080/monitor.html." rel="nofollow"&gt;http://localhost/cs-ws:8080/monitor.html.&lt;/a&gt; The usage of the monitor is described in the &lt;a class="" href="https://sourceforge.net/p/m2mlabs/wiki/Tutorial-Monitor"&gt;Monitor Tutorial&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jim</dc:creator><pubDate>Sat, 07 Mar 2015 17:02:24 -0000</pubDate><guid>https://sourceforge.netf6fb3197d9b06f6420a9921794d6b4a10caf4f37</guid></item></channel></rss>