Changes between Version 92 and Version 93 of WikiStart


Ignore:
Timestamp:
2013-11-04 22:42:50 (11 years ago)
Author:
hek
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WikiStart

    v92 v93  
    1919'''Henrik Ekblad''' - henrik.ekblad at gmail.com (hek on forum) 
    2020 
    21 == Installing the Vera plugin  == 
    22  
    23 The latest version of the Vera plugin can be found here: 
    24 http://code.mios.com/git_public/mios/arduino-sensor.git/tree/HEAD:/VeraArduino/Vera?js=1 
    25  
    26 [[Image(serial.png, align=right, 300px)]] 
    27 1. Download all *_Arduino*.* files and upload them in Vera under APPS->Develop Apps->Luup files (you can skip the subfolders if you don't plan to use these sensors). 
    28 2. To create the Arduino Plugin device go to APPS->Develop Apps->Luup and enter "D_Arduino1.xml" in "Upnp Device Filename" and press "Create Device" 
    29 3. After the usual reload/refresh ritual the Arduino root device should pop up. 
    30 4. If you have your Arduino board plugged into Vera you should now configure which serial device to use. See image to the right. Set baudrate to 115200.  
    3121 
    3222== Using the Arduino library  == 
    3323 
    34 All the components developed and compiled here are Open Source. The Vera plugin was inspired by the excellent rfxtrx plugin. I've also written a Arduino library handling all encoding and communication between Arduino sensors and ArduinoGateway. The Vera plugin part automatically creates newly found sensors in Vera. 
     24All the components developed and compiled here are Open Source. The Vera plugin was inspired by the excellent rfxtrx plugin. I've also written a Arduino library handling all encoding and communication between Arduino sensors and ArduinoGateway. The Vera plugin part automatically creates newly found sensors in Vera. New sensors nodes will automatically find the closest relay node or gateway  and WILL be assigned a unique id from vera.  
    3525 
    3626It should be pretty simple to use the library (some more documentation in [[http://code.mios.com/git_public/mios/arduino-sensor.git/blob/HEAD:/VeraArduino/Arduino/libraries/Vera/Sensor.h?js=1|vera.h]]). But here follows the basic usage in your Arduino sketch: