Changes between Version 3 and Version 4 of WikiStart


Ignore:
Timestamp:
2013-08-26 10:47:10 (11 years ago)
Author:
hek
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WikiStart

    v3 v4  
    11[[Image(nano.jpg, align=right, 300px)]] 
    22= Arduino Sensor Plugin = 
    3 The Arduino sensor plugin allows you to build your own cheap wireless sensors (<$10) and hook them up wireless to your Vera.  
     3The Arduino sensor plugin allows you to build your own cheap wireless sensors (<$10) and communicate with them. The plugin automatically creates Vera devices it finds. The Arduino wireless network uses Nordic Semiconductors chip rf2401. See separate pages for how to hook up it to your Arduino. 
    44 
    55 
     
    3838==== From downloaded source ==== 
    3939 
    40 1. Download '''D_Dune.json, D_Dune.xml, I_Dune.xml, S_Dune.xml, xmlSimple.lua''' found under "Browse Source">trunk above. 
    41 i. Go to: Apps -> Develop Apps -> Luup files in Vera UI 
    42 i. Add the five files using "Browse"-button. Click "Restart Luup after upload" checkbox and press Go. 
    43 i. Go to: Apps -> Develop Apps -> Create Device 
    44 i. Set "Upnp Device Filename" to "D_Dune.xml" 
    45 i. Set "Upnp Implementation Filename" to "I_Dune.xml" 
    46 i. Click "Create Device" 
    47 i. Reload 
    48 i. Go to device settings and update the default ip of your Dune box.  
    49 i. Reload 
    50 i. OPTIONAL: If you want an icon download '''dune_icon.png''' and SCP it to your vera box under ''/www/cmh/skins/default/icons/dune_icon.png'' 
     40 
     41=== Arduino Receiver Sketch === 
     42 
     43This sketch should be downloaded to a Arduino Nano which is connected to your Vera using the serial usb cable.  
     44Connect the the radio module to your Nano board. 
     45 
     46All communication from/to your sensors is transmitted through this device.  
     47 
     48It is important to use a Nano board because it uses serial usb chipset recognized directly by Vera (the Uno does not!).  
     49 
     50 
     51 
     52=== Sensor sketches === 
     53 
     54==== Tempearure sensor ==== 
     55 
     56 
    5157 
    5258 
    5359=== Configuration === 
    54 || '''Parameter''' || '''Description''' || 
    55 || ip || Ip number for your Dune box || 
    56 || !PollIntervalOnline || Poll interval for fetching player state (in seconds) when dune player is online || 
    57 || !PollIntervalOffline || Poll interval for trying to fetch player state (in seconds) when offline. This interval will be used when http connection does a timeout when trying to fetch state. || 
    5860 
    5961=== Notifications === 
    6062 
    61 The following notification triggers can be used in your scenes. 
    62  
    63 || '''!PlayerState''' || '''Description''' ||  
    6463 
    6564=== Actions === 
    6665 
    67 Only action "Play" and "Pause" is implemented at the moment. 
    6866 
    6967=== Example === 
    70 To fetch the playback state in luup code use the following: 
    7168 
    7269{{{ 
     
    7673 
    7774=== API Description === 
    78 A big thanks to Steven Liekens who has collected all information available on one place regarding IP-command interface for Dune Players. It helped alot when developing this plugin. 
    79 https://code.google.com/p/dune-api-codepack/wiki/ApiReference