Changes between Version 92 and Version 93 of WikiStart
- Timestamp:
- 2013-11-04 22:42:50 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WikiStart
v92 v93 19 19 '''Henrik Ekblad''' - henrik.ekblad at gmail.com (hek on forum) 20 20 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=125 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.31 21 32 22 == Using the Arduino library == 33 23 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. 24 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. New sensors nodes will automatically find the closest relay node or gateway and WILL be assigned a unique id from vera. 35 25 36 26 It 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: