
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">



<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    
<title>Starter Kit: Internet of Things – Tinkerforge</title>

<!--<link type="text/css" rel="stylesheet" href="http://www.tinkerforge.com/static/base_tf.css" />-->
<link type="text/css" rel="stylesheet" href="http://www.tinkerforge.com/static/jquery.lightbox-0.5.css" />
<meta name="keywords" content="Tinkerforge, Open Source Hardware, Bricks, Bricklets, USB Controllable, USB Sensing, USB Controlling" />
<meta name="description" content="Easy-to-use open source hardware. Control motors and sense the environment over USB, Ethernet or Wi-Fi/WLAN with C/C++, C#, Delphi/Lazarus, Java, JavaScript, LabVIEW, Mathematica, MATLAB/Octave, Perl, PHP, Python, Ruby, Shell, Visual Basic .NET or directly over TCP/IP." />
<meta name="copyright" content="Tinkerforge GmbH" />
<!--<script type="text/javascript">document.write('<style>.noscript { display: none; }</style>');</script>-->


    
    <link rel="stylesheet" href="../../_static/documentation_tf.css" type="text/css" />
    <link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
    
    <script type="text/javascript">
      var DOCUMENTATION_OPTIONS = {
        URL_ROOT:    '../../',
        VERSION:     '1.0',
        COLLAPSE_INDEX: false,
        FILE_SUFFIX: '.html',
        HAS_SOURCE:  true
      };
    </script>
    <script type="text/javascript" src="../../_static/jquery.js"></script>
    <script type="text/javascript" src="../../_static/underscore.js"></script>
    <script type="text/javascript" src="../../_static/doctools.js"></script>
    <link rel="top" title="Tinkerforge" href="../../index.html" />
    <link rel="up" title="Starter Kits" href="../../Kits.html" />
    <link rel="next" title="Starter Kit: Camera Slider" href="../CameraSlider/CameraSlider.html" />
    <link rel="prev" title="Construction of Starter Kit: Blinkenlights" href="../Blinkenlights/Construction.html" />

<script type="text/javascript" src="http://www.tinkerforge.com/static/jquery.lightbox-0.5.js"></script>
<script type="text/javascript">$(function() { $('#gallery a').lightBox(); });</script>
<script type="text/javascript">$(function() { $(".sphinxsidebarwrapper").filter(function() { return $.trim($(this).text()).length == 0; }).parent().hide(); });</script>


  </head>
  <body>
<div id="wrapper">
	<div id="tfcontent">
		<div class="boxContent3">


<div class="toctree">
<ul class="current">
<li class="toctree-l1"><a class="reference internal" href="../../Getting_Started.html">Getting Started</a><ul>
<li class="toctree-l2"><a class="reference internal" href="../../Primer.html">Primer</a></li>
<li class="toctree-l2"><a class="reference internal" href="../../Tutorials.html">Tutorials</a></li>
<li class="toctree-l2"><a class="reference internal" href="../../FAQ.html">FAQ</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="../../Hardware.html">Hardware</a><ul>
<li class="toctree-l2"><a class="reference internal" href="../../Hardware/Bricks/Bricks.html">Bricks</a></li>
<li class="toctree-l2"><a class="reference internal" href="../../Hardware/Bricklets/Bricklets.html">Bricklets</a></li>
<li class="toctree-l2"><a class="reference internal" href="../../Hardware/Master_Extensions/Master_Extensions.html">Master Extensions</a></li>
<li class="toctree-l2"><a class="reference internal" href="../../Hardware/Power_Supplies/Power_Supplies.html">Power Supplies</a></li>
<li class="toctree-l2"><a class="reference internal" href="../../Hardware/Accessories/Accessories.html">Accessories</a></li>
<li class="toctree-l2"><a class="reference internal" href="../../Timeline.html">Timeline</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="../../Software.html">Software</a><ul>
<li class="toctree-l2"><a class="reference internal" href="../../Software/Brickd.html">Brick Daemon (brickd)</a></li>
<li class="toctree-l2"><a class="reference internal" href="../../Software/Brickv.html">Brick Viewer (brickv)</a></li>
<li class="toctree-l2"><a class="reference internal" href="../../Software/API_Bindings.html">API Bindings</a></li>
<li class="toctree-l2"><a class="reference internal" href="../../Software/Firmwares_And_Plugins.html">Firmwares and Plugins</a></li>
<li class="toctree-l2"><a class="reference internal" href="../../Software/Device_Identifier.html">Device Identifier</a></li>
<li class="toctree-l2"><a class="reference internal" href="../../Source_Code.html">Source Code and Bug Tracking</a></li>
<li class="toctree-l2"><a class="reference internal" href="../../Programming_Interface.html">Programming Interface</a></li>
</ul>
</li>
<li class="toctree-l1 current"><a class="reference internal" href="../../Kits.html">Starter Kits</a><ul class="current">
<li class="toctree-l2"><a class="reference internal" href="../WeatherStation/WeatherStation.html">Weather Station</a></li>
<li class="toctree-l2"><a class="reference internal" href="../HardwareHacking/HardwareHacking.html">Hardware Hacking</a></li>
<li class="toctree-l2"><a class="reference internal" href="../ServerRoomMonitoring/ServerRoomMonitoring.html">Server Room Monitoring</a></li>
<li class="toctree-l2"><a class="reference internal" href="../Blinkenlights/Blinkenlights.html">Blinkenlights</a></li>
<li class="toctree-l2 current"><a class="current reference internal" href="">Internet of Things</a><ul>
<li class="toctree-l3"><a class="reference internal" href="#features">Features</a></li>
<li class="toctree-l3"><a class="reference internal" href="#description">Description</a></li>
<li class="toctree-l3"><a class="reference internal" href="#technical-specifications">Technical Specifications</a></li>
<li class="toctree-l3"><a class="reference internal" href="#resources">Resources</a></li>
<li class="toctree-l3"><a class="reference internal" href="#firmware-updating-and-first-tests">Firmware updating and first tests</a></li>
<li class="toctree-l3"><a class="reference internal" href="#construction">Construction</a><ul>
<li class="toctree-l4"><a class="reference internal" href="#step-0-remove-protective-foils">Step 0: Remove protective foils</a></li>
<li class="toctree-l4"><a class="reference internal" href="#step-1-use-mounting-kit">Step 1: Use mounting kit</a></li>
<li class="toctree-l4"><a class="reference internal" href="#step-2-screw-to-bottom">Step 2: Screw to bottom</a></li>
<li class="toctree-l4"><a class="reference internal" href="#step-3-attach-dome">Step 3: Attach dome</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="#applications">Applications</a><ul>
<li class="toctree-l4"><a class="reference internal" href="#control-by-your-own-tablet-smart-phone-or-pc">Control by your own tablet, smart phone or PC</a></li>
<li class="toctree-l4"><a class="reference internal" href="#develop-your-own-programs">Develop your own programs</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="#ethernet-extension">Ethernet Extension</a></li>
<li class="toctree-l3"><a class="reference internal" href="#interaction-with-other-things">Interaction with other things</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../CameraSlider/CameraSlider.html">Camera Slider</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="../../Embedded.html">Embedded Boards</a><ul>
<li class="toctree-l2"><a class="reference internal" href="../../Embedded/Raspberry_Pi.html">Raspberry Pi</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="../../Specifications.html">Specifications</a><ul>
<li class="toctree-l2"><a class="reference internal" href="../../Technical_Data.html">Technical Data</a></li>
<li class="toctree-l2"><a class="reference internal" href="../../Low_Level_Protocols/TCPIP.html">TCP/IP Protocol</a></li>
<li class="toctree-l2"><a class="reference internal" href="../../Low_Level_Protocols/Modbus.html">Modbus Protocol</a></li>
<li class="toctree-l2"><a class="reference internal" href="../../Low_Level_Protocols/Wireshark_Dissector.html">Wireshark Dissector</a></li>
</ul>
</li>
</ul>

</div>
<div class="breadcrumbs">
<a href="../../Kits.html">Starter Kits</a> / Internet of Things
</div>



<div id="shoplink_img">
	<a href="../../../shop/kits/starter-kit-internet-of-things.html"><img alt="Shop" width="32" height="40" src="../../_images/Misc/cart-icon.png" /></a>
</div>
<div id="shoplink_a">
	<a href="../../../shop/kits/starter-kit-internet-of-things.html">In Shop</a>
</div>



    <div class="document">
      <div class="documentwrapper">
        <div class="bodywrapper">
          <div class="body">
            
  <div class="section" id="starter-kit-internet-of-things">
<span id="starter-kit-iot"></span><h1>Starter Kit: Internet of Things<a class="headerlink" href="#starter-kit-internet-of-things" title="Permalink to this headline">¶</a></h1>
{% from "macros.html" import tfdocstart, tfdocimg, tfdocend %}
{{
        tfdocstart("Kits/iot_on_table_350.jpg",
                           "Kits/iot_on_table_800.jpg",
                           "Starter Kit: Internet of Things")
}}
{{
        tfdocimg("Kits/iot_front_350.jpg",
                         "Kits/iot_front_800.jpg",
                         "Starter Kit: Internet of Things")
}}
{{
        tfdocimg("Kits/iot_back_ethernet_100.jpg",
                         "Kits/iot_back_ethernet_800.jpg",
                         "Internet of Things: Back side with Ethernet")
}}
{{
        tfdocimg("Kits/iot_rpi_100.jpg",
                         "Kits/iot_rpi_800.jpg",
                         "Internet of Things: Connected to Raspberry PI")
}}
{{
        tfdocimg("Kits/iot_half_open_100.jpg",
                         "Kits/iot_half_open_800.jpg",
                         "Internet of Things: Open")
}}
{{
        tfdocimg("Kits/iot_half_open_ethernet_100.jpg",
                         "Kits/iot_half_open_ethernet_800.jpg",
                         "Internet of Things: Open with Ethernet")
}}
{{
        tfdocimg("Kits/iot_content_100.jpg",
                         "Kits/iot_content_800.jpg",
                         "Internet of Things: Content")
}}
{{
        tfdocimg("Kits/iot_packaging_open_100.jpg",
                         "Kits/iot_packaging_open_800.jpg",
                         "Internet of Things: Packaging")
}}
{{
        tfdocimg("Kits/iot_website_iot_remote_switch_100.jpg",
                         "Kits/iot_website_iot_remote_switch_600.jpg",
                         "Screenshot of iot-remote.com")

}}
{{ tfdocend() }}<div class="section" id="features">
<h2>Features<a class="headerlink" href="#features" title="Permalink to this headline">¶</a></h2>
<ul class="simple">
<li>Allows to control devices over the Internet</li>
<li>Supports 433MHz actuators</li>
<li>External antenna, big range</li>
<li>Controllable by <a class="reference external" href="http://www.iot-remote.com/">www.iot-remote.com</a></li>
</ul>
</div>
<div class="section" id="description">
<h2>Description<a class="headerlink" href="#description" title="Permalink to this headline">¶</a></h2>
<p>The <a class="reference external" href="http://en.wikipedia.org/wiki/Internet_of_Things">Internet of Things</a>
is an evolution of the Internet. It interconnects not only human and computer
as before but also physical objects (things).</p>
<p>The <em>Starter Kit: Internet of Things</em> offers an easy access into the
world of the Internet of Things. It allows to control many devices
over the Internet. For that the kit is equipped with a
<a class="reference internal" href="../../Hardware/Bricklets/Remote_Switch.html#remote-switch-bricklet">Remote Switch Bricklet</a>. It can be
used to remotely control 433MHz mains switches, dimmers and home automation components.
You can find a <a class="reference internal" href="../../Hardware/Bricklets/Remote_Switch.html#remote-switch-supported-devices">list of supported actuators</a>
in the documentation of the Bricklet.</p>
<p>With the <a class="reference internal" href="../../Software/API_Bindings.html#api-bindings">API Bindings</a> it is possible to control the
wireless actuators with any (Embedded-)PC, smart phone or tablet over the
Internet.</p>
<p>With the kit nothing stands in the way of turning your coffee maker on
while you are heading home or to dim your living room illumination
with your own cloud or with a Raspberry Pi. The website
<a class="reference external" href="http://www.iot-remote.com/">www.iot-remote.com</a> gives you direct
access to wireless actuators from any web-enabled device.</p>
<p>The kit basically consists of a <a class="reference internal" href="../../Hardware/Bricks/Master_Brick.html#master-brick">Master Brick</a> and a
<a class="reference internal" href="../../Hardware/Bricklets/Remote_Switch.html#remote-switch-bricklet">Remote Switch Bricklet</a> which is
equipped with a 433MHz transceiver. Over the USB connection of the
Master Brick you can control remote control mains switches or similar.
An (Embedded-)PC (e.g. Raspberry Pi) either does the switching itself
or it can serve as a gateway. With an additional
<a class="reference internal" href="../../Hardware/Master_Extensions/Ethernet_Extension.html#ethernet-extension">Ethernet Master Extension</a> it is possible
to go without a gateway.</p>
<p>With additional modules from the Tinkerforge building blocks you can
extend the kit. It is for example possible to measure temperature
(<a class="reference internal" href="../../Hardware/Bricklets/Temperature.html#temperature-bricklet">Temperature</a>,
<a class="reference internal" href="../../Hardware/Bricklets/Temperature_IR.html#temperature-ir-bricklet">Temperature IR</a> or
<a class="reference internal" href="../../Hardware/Bricklets/PTC.html#ptc-bricklet">PTC Bricklet</a>) or to react on movements
(<a class="reference internal" href="../../Hardware/Bricklets/Motion_Detector.html#motion-detector-bricklet">Motion Detector Bricklet</a>).</p>
<center><iframe width="640" height="360" src="http://www.youtube-nocookie.com/embed/GMKdzA5X1Q4" frameborder="0" allowfullscreen></iframe></center></div>
<div class="section" id="technical-specifications">
<h2>Technical Specifications<a class="headerlink" href="#technical-specifications" title="Permalink to this headline">¶</a></h2>
<table border="1" class="docutils">
<colgroup>
<col width="40%" />
<col width="60%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">Property</th>
<th class="head">Value</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td>Radio Module</td>
<td>RFM69HW</td>
</tr>
<tr class="row-odd"><td>Current Consumption</td>
<td>10mA (idle), 40mA (sending)</td>
</tr>
<tr class="row-even"><td>Radio Frequency</td>
<td>433MHz</td>
</tr>
<tr class="row-odd"><td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr class="row-even"><td>Dimensions (W x D x H)</td>
<td>11cm x 6.5cm x 4.5cm (assembled kit)</td>
</tr>
<tr class="row-odd"><td>Weight</td>
<td>130g (assembled kit)</td>
</tr>
</tbody>
</table>
</div>
<div class="section" id="resources">
<span id="starter-kit-iot-resources"></span><h2>Resources<a class="headerlink" href="#resources" title="Permalink to this headline">¶</a></h2>
<ul class="simple">
<li>Internet of Things kit case FreeCAD CAD files (<a class="reference external" href="https://github.com/Tinkerforge/internet-of-things/tree/master/case">Download</a>)</li>
<li>iot-remote.com web site (<a class="reference external" href="https://github.com/Tinkerforge/internet-of-things/tree/master/web">Download</a>)</li>
<li>iot-remote.com server Implementation (<a class="reference external" href="https://github.com/Tinkerforge/internet-of-things/tree/master/server">Download</a>)</li>
</ul>
</div>
<div class="section" id="firmware-updating-and-first-tests">
<h2>Firmware updating and first tests<a class="headerlink" href="#firmware-updating-and-first-tests" title="Permalink to this headline">¶</a></h2>
<p>As a very first step you should try out and update your Bricks and Bricklets.</p>
<p>For that you need to install the <a class="reference internal" href="../../Software/Brickd.html#brickd-installation">Brick Daemon</a> and
the <a class="reference internal" href="../../Software/Brickv.html#brickv-installation">Brick Viewer</a>. Connect the Remote Switch Bricklet
to the Master Brick and connect it via USB to your PC. Afterwards use Brick
Viewer to check if all of the firmwares are up to date (Updates / Flashing
button). If not, you can <a class="reference internal" href="../../Software/Brickv.html#brickv-flash-firmware">update the Bricks</a> and
<a class="reference internal" href="../../Software/Brickv.html#brickv-flash-plugin">update the Bricklets</a> with the Brick
Viewer too:</p>
<a class="reference internal image-reference" href="../../_images/iot_update.jpg"><img alt="Internet of Things update in Brick Viewer" class="align-center" src="../../_images/iot_update.jpg" style="width: 507.0px; height: 277.0px;" /></a>
<p>As the next step test the Remote Switch Bricklet with a remotely controlled
mains switch. After that you can start to assemble the kit!</p>
</div>
<div class="section" id="construction">
<h2>Construction<a class="headerlink" href="#construction" title="Permalink to this headline">¶</a></h2>
<p>The Starter Kit: Internet of Things comes with <a class="reference internal" href="../../Hardware/Bricks/Master_Brick.html#master-brick">Master Brick</a>,
<a class="reference internal" href="../../Hardware/Bricklets/Remote_Switch.html#remote-switch-bricklet">Remote Switch Bricklet</a>, a 6cm Bricklet cable,
two mounting kits and self-adhesive non-slip rubber feet.</p>
<p>Building the case can be done in four easy steps.</p>
<a class="reference external image-reference" href="../../_images/Kits/iot_construction_exploded_w_lines.png"><img alt="Exploded assembly drawing" class="align-center" src="../../_images/iot_construction_exploded_w_lines_500.jpg" style="width: 458.0px; height: 500.0px;" /></a>
<div class="section" id="step-0-remove-protective-foils">
<h3>Step 0: Remove protective foils<a class="headerlink" href="#step-0-remove-protective-foils" title="Permalink to this headline">¶</a></h3>
<p>At first the protective foils on all case parts have to be removed.
There is a foil on the front and back side. In some cases the protective
foils may be hard to remove, you can use a cutter or similar as a
lever to get to the foil.</p>
</div>
<div class="section" id="step-1-use-mounting-kit">
<h3>Step 1: Use mounting kit<a class="headerlink" href="#step-1-use-mounting-kit" title="Permalink to this headline">¶</a></h3>
<p>Screw the 10mm spacers (thread inside/inside) to the Master Brick
and the Remote Switch Bricklet.</p>
<a class="reference external image-reference" href="../../_images/Kits/iot_construction_step1.png"><img alt="Construction Step 1" class="align-center" src="../../_images/iot_construction_step1_350.jpg" style="width: 915.0px; height: 350.0px;" /></a>
<p>If you want to use the Ethernet Extension, you should attach it to the
Master Brick with 12mm spacers (thread inside/outside).</p>
<a class="reference external image-reference" href="../../_images/Kits/iot_construction_ethernet_step1.png"><img alt="Construction Step 1 (Ethernet Extension)" class="align-center" src="../../_images/iot_construction_ethernet_step1_350.jpg" style="width: 803.0px; height: 350.0px;" /></a>
</div>
<div class="section" id="step-2-screw-to-bottom">
<h3>Step 2: Screw to bottom<a class="headerlink" href="#step-2-screw-to-bottom" title="Permalink to this headline">¶</a></h3>
<p>Now screw the Master Brick (with or without Ethernet Extension) and the
Remote Switch Bricklet to the bottom part of the case. You should use
the following sequence:</p>
<ul class="simple">
<li>Plug front part of case into bottom part</li>
<li>Screw Master Brick and Remote Switch Bricklet to bottom part</li>
<li>Add self-adhesive non-slip rubber feet to bottom part</li>
<li>Add Bricklet cable between Master Brick and Remote Switch Bricklet</li>
<li>Screw antenna to Remote Switch Bricklet</li>
</ul>
<a class="reference external image-reference" href="../../_images/Kits/iot_construction_step2.png"><img alt="Construction Step 2" class="align-center" src="../../_images/iot_construction_step2_350.jpg" style="width: 875.0px; height: 350.0px;" /></a>
</div>
<div class="section" id="step-3-attach-dome">
<h3>Step 3: Attach dome<a class="headerlink" href="#step-3-attach-dome" title="Permalink to this headline">¶</a></h3>
<p>In the last step you just have to plug the back part of the case into
the bottom part. After that bend and attach the top part. Thats it, we
are done already!</p>
<a class="reference external image-reference" href="../../_images/Kits/iot_construction_step3.png"><img alt="Construction Step 3" class="align-center" src="../../_images/iot_construction_step3_350.jpg" style="width: 435.0px; height: 350.0px;" /></a>
</div>
</div>
<div class="section" id="applications">
<h2>Applications<a class="headerlink" href="#applications" title="Permalink to this headline">¶</a></h2>
<div class="section" id="control-by-your-own-tablet-smart-phone-or-pc">
<h3>Control by your own tablet, smart phone or PC<a class="headerlink" href="#control-by-your-own-tablet-smart-phone-or-pc" title="Permalink to this headline">¶</a></h3>
<p>433MHz mains switches, dimmers and home automation components can be
controlled through <a class="reference external" href="http://www.iot-remote.com/">www.iot-remote.com</a>
without any programming. The web site uses JavaScript, which is directly
executed by the browser. After the web site is loaded there is no
communication between a server and the local device or the hardware
that should be controlled. For offline usage the web site can be
downloaded.</p>
<a class="reference external image-reference" href="../../_images/Kits/iot_website_iot_remote_start.jpg"><img alt="iot-remote.com web site" class="align-center" src="../../_images/iot_website_iot_remote_start_350.jpg" style="width: 350.0px; height: 261.0px;" /></a>
<p>The web site is very easy to use. With &quot;+ New Remote...&quot; you can add
new devices. There are four types: A (Switch), B (Switch), B (Dimmer),
C (Switch). The types can be configured dependent on the actuators
that will be controlled (see <a class="reference internal" href="../../Hardware/Bricklets/Remote_Switch.html#remote-switch-supported-devices">list of supported
actuators</a>).</p>
<p>Depending on the actuator there are different forms to fill. A precise
description of the actuator types can be found in the
<a class="reference internal" href="../../Hardware/Bricklets/Remote_Switch.html#remote-switch-bricklet-addressing-types">documentation</a> of
the Remote Switch Bricklet.</p>
<p>Type A (Switch):</p>
<a class="reference external image-reference" href="../../_images/Kits/iot_website_iot_remote_configure_a.jpg"><img alt="Configuration for type A" class="align-center" src="../../_images/iot_website_iot_remote_configure_a_350.jpg" style="width: 350.0px; height: 261.0px;" /></a>
<p>Type B (Switch):</p>
<a class="reference external image-reference" href="../../_images/Kits/iot_website_iot_remote_configure_b.jpg"><img alt="Configuration for type B" class="align-center" src="../../_images/iot_website_iot_remote_configure_b_350.jpg" style="width: 350.0px; height: 261.0px;" /></a>
<p>Type B (Dimmer):</p>
<a class="reference external image-reference" href="../../_images/Kits/iot_website_iot_remote_configure_b2.jpg"><img alt="Configuration for type B (Dimmer)" class="align-center" src="../../_images/iot_website_iot_remote_configure_b2_350.jpg" style="width: 350.0px; height: 261.0px;" /></a>
<p>Type C (Switch):</p>
<a class="reference external image-reference" href="../../_images/Kits/iot_website_iot_remote_configure_c.jpg"><img alt="Configuration for type C" class="align-center" src="../../_images/iot_website_iot_remote_configure_c_350.jpg" style="width: 350.0px; height: 261.0px;" /></a>
<p><strong>Controlling a device</strong></p>
<p>Devices can be controlled by clicking on the appropriate entry in the
list. In the following we have the controlling site of a type A switch.</p>
<a class="reference external image-reference" href="../../_images/Kits/iot_website_iot_remote_switch.jpg"><img alt="Configured type A switch" class="align-center" src="../../_images/iot_website_iot_remote_switch_350.jpg" style="width: 350.0px; height: 261.0px;" /></a>
<p><strong>Save/Load configuration</strong></p>
<p>The web site <a class="reference external" href="http://www.iot-remote.com/">www.iot-remote.com</a> does
not have a log-in function. This keeps the site simple and to it is simple
to start your own instance of the web site. The configuration is saved
locally in the browser with a cookie, by default it is not transferred
to a server. If you only use the web site from one browser this is
good enough.</p>
<p>To use an already created configuration in different browsers it is
possible to save the configuration on www.iot-remote.com and load
it again in another browser.</p>
<a class="reference external image-reference" href="../../_images/Kits/iot_website_iot_remote_save.jpg"><img alt="Save/Load of configuration" class="align-center" src="../../_images/iot_website_iot_remote_save_350.jpg" style="width: 350.0px; height: 261.0px;" /></a>
<p>After a configuration is created it can be saved. You just have to click
on &quot;Settings&quot; and then on &quot;Save configuration&quot;. The server creates
an configuration ID that represents the current configuration.</p>
<p>Loading a configuration can be done analogously. Just enter the configuration
ID in the appropriate field and click on &quot;Load configuration&quot;.
Subsequently the devices that are saved by this ID are shown on the left.</p>
<p><strong>Offline/Local usage</strong></p>
<p>The complete web site can be downloaded (including the JavaScript) and used
locally. After that it is not necessary to use
<a class="reference external" href="http://www.iot-remote.com/">www.iot-remote.com</a>. The easiest way is
to download the <a class="reference external" href="https://github.com/Tinkerforge/internet-of-things">project from GitHub</a>
as a <a class="reference external" href="https://github.com/Tinkerforge/internet-of-things/archive/master.zip">ZIP</a>.
The web site can be found in the &quot;web&quot; folder.</p>
<p>Unfortunately Chrome/Chromium does not support File-Cookies by default.
Those are necessary to use cookies offline. To circumvent this problem
you can start Chrome/Chromium with the following parameter:</p>
<div class="highlight-none"><div class="highlight"><pre>--enable-file-cookies
</pre></div>
</div>
<p>If used locally, the web site can still use the www.iot-remote.com server
to save/load configurations. It is however also easy to host the
server yourself. You have to adjust the following source code parts:</p>
<ul class="simple">
<li><tt class="docutils literal"><span class="pre">web/js/remote/pages/PageSettings</span></tt>: <tt class="docutils literal"><span class="pre">this.HOST</span></tt>,  <tt class="docutils literal"><span class="pre">this.PORT</span></tt> as well as</li>
<li><tt class="docutils literal"><span class="pre">server/server.py</span></tt>: <tt class="docutils literal"><span class="pre">CONFIGURATION_PATH</span></tt> and <tt class="docutils literal"><span class="pre">LOCAL_PROXY_PORT</span></tt>.</li>
</ul>
<p>The dependencies of the Python server are python-twisted and python-autobahn.
The server can be started with Python:</p>
<div class="highlight-python"><div class="highlight"><pre>python server.py
</pre></div>
</div>
<p>It is as easy as that to host your own Internet of Things web server that
can save configurations over WebSockets!</p>
</div>
<div class="section" id="develop-your-own-programs">
<h3>Develop your own programs<a class="headerlink" href="#develop-your-own-programs" title="Permalink to this headline">¶</a></h3>
<p>Beside the direct usage of <a class="reference external" href="http://www.iot-remote.com/">www.iot-remote.com</a>
it is of course also possible to develop your own programs. The basis
of this is the
<a class="reference internal" href="../../Hardware/Bricklets/Remote_Switch.html#remote-switch-bricklet-programming-interface">API of the Remote Switch Bricklets</a>.
The API is available for many different programming languages. The
documentation of the API does have example applications for all
of the programing languages that we support. Those examples are
a good starting point if you are just starting to program the
Tinkerforge hardware.</p>
</div>
</div>
<div class="section" id="ethernet-extension">
<h2>Ethernet Extension<a class="headerlink" href="#ethernet-extension" title="Permalink to this headline">¶</a></h2>
<p>If you don't want to use a USB &lt;-&gt; Ethernet Gateway (PC, Raspberry PI, etc),
you can use the <a class="reference internal" href="../../Hardware/Master_Extensions/Ethernet_Extension.html#ethernet-extension">Ethernet Master Extension</a>. With
the Ethernet Master Extension it is possible to directly communicate with
the kit by a smart phone or tablet. The case of the IoT kit does have the
necessary slits to accommodate the Extension. The documentation has
<a class="reference internal" href="../../Hardware/Bricklets/Remote_Switch.html#remote-switch-supported-devices">more information</a> regarding the
usage of the Ethernet Extension.</p>
</div>
<div class="section" id="interaction-with-other-things">
<h2>Interaction with other things<a class="headerlink" href="#interaction-with-other-things" title="Permalink to this headline">¶</a></h2>
<p>The kit can communicate with lots of different other &quot;things&quot;. It is
very easy to integrate other Bricks and Bricklets from the Tinkerforge
building blocks. You can also use product specific interfaces or online
services such as <a class="reference external" href="https://xively.com/">Xively</a>,
<a class="reference external" href="http://www.cumulocity.com/">Cumulocity</a>,
<a class="reference external" href="http://www.carriots.com/">Carriots</a> or similar to interact with
other devices. In the following we will show some examples:</p>
<p><strong>Motion detection with Motion Detector Bricklet:</strong>
The <a class="reference internal" href="../../Hardware/Bricklets/Motion_Detector.html#motion-detector-bricklet">Motion Detector Bricklet</a> allows
to detect movement. Together with the kit it is possible to turn
devices on or off dependent on the presence of persons.</p>
<p><strong>Temperature-based control of window motors:</strong>
With Bricklets such as <a class="reference internal" href="../../Hardware/Bricklets/Temperature.html#temperature-bricklet">Temperature</a>,
<a class="reference internal" href="../../Hardware/Bricklets/Temperature_IR.html#temperature-ir-bricklet">Temperature IR</a> or the
<a class="reference internal" href="../../Hardware/Bricklets/PTC.html#ptc-bricklet">PTC Bricklet</a> you can measure temperatures.
Together with 433MHz home automation components you can open and
close windows depending on the temperature.</p>
<p><strong>Daylight dependent blind control:</strong>
With the <a class="reference internal" href="../../Hardware/Bricklets/Ambient_Light.html#ambient-light-bricklet">Ambient Light Bricklet</a> you
can measure the light intensity, it allows to control blinds
dependent on light level.</p>
<p><strong>GPS based home automation:</strong>
By using the <a class="reference internal" href="../../Hardware/Bricklets/GPS.html#gps-bricklet">GPS Bricklet</a> or your smart phone
with GPS you can control your home dependent on your position.
As an example you could turn on the outdoor lighting if it is dark
and you are approaching your home.</p>
<p><strong>Load switching dependent on electricity prices:</strong>
If your electricity price depends on the time of day or on the current
market prices you can switch loads on if the prices are cheap and
off if they are expensive.</p>
<p><strong>Load switching dependent on power usage:</strong>
Many intelligent electricity meters allow you to get access to the
current power usage. Alternatively you can read the revolutions of an
electromechanical meter with the
<a class="reference internal" href="../../Hardware/Bricklets/Hall_Effect.html#hall-effect-bricklet">Hall-Effect Bricklet</a>. With this information
you can control devices dependent on power usage.</p>
</div>
</div>


          </div>
        </div>
      </div>
      <div class="clearer"></div>
    </div>
		<div id="tf_license">
			<a rel="license" href="http://creativecommons.org/licenses/by-sa/3.0/">
				<img alt="Creative Commons Licence" width="88" height="31" style="border-width:0" src="/static/images/cc_license_logo.png" />
			</a>
			The content of this page is licensed under
			<a rel="license" href="http://creativecommons.org/licenses/by-sa/3.0/">Creative Commons Attribution 3.0 Unported License</a>.
		</div>
		</div>
	</div>
</div>

  </body>
</html>