Vera integration with Arduino by ethernet

Hi everybody

I have just got my first Vera.

I use Arduinos for various thinks in my house and would very much use Arduino to integrate with Vera.

In short, I would like to place a Arduino with a ethernet shield in every room in the house. I will then use Arduino to integrate wired door, window, and motions sensors to Vera. Additionally i will add a temperature sensor to the Arduino. I will also use Arduino to make some wired Mode change button combined with a RFID reader, by the front and back door. RFID authentication i will do in the Arduino.

I have pretty much figured out to activate a scene and a device by http get request from a webbrowser and that combined with the Virtual On/Off switch, i can do inputs for door, window and motions sensors for the security part. I hope:-)

My problems is:

  1. How to report a temperature to Vera by a http get from a Arduino, i can use to control the electrical valves for my floor heating?
  2. How can i make Vera do a http get request to Arduino to for an example, control wired outputs.

I’m currently using Arduinos on the network controlled by http get requests and it work great. I just want Vera to control it.

Can someone help my with this.

I have no knowledge at all about Luup code and so on, so be gentle.

Thank you.
Claus

Sorry to resurrect an old post, but was wondering if you ever made any progress with this? I’m looking to create some Arduino based sensors with ESP8266 modules. Integrating with Vera UI7 seems to have me scratching my head. I don’t want to reinvent the wheel. It looks like using the mysensors plugin may be an option but I really need to see an example of someone setting it all up.

Have a look over at:

Hi,

There is a plug in for that :smiley:

Have a look at this board [url=http://forum.micasaverde.com/index.php/board,55.0.html]http://forum.micasaverde.com/index.php/board,55.0.html[/url]

Cheers Rene

Ya, I’ve been reading up on mysensors and the arduino plugin, but everything I’ve read talks about building gateways for devices that use the RF24 radios and what not. If I’m using an ESP8266 connected to my wifi network wouldn’t I just need to Vera plugin to talk directly to the device instead of using a gateway? Or maybe I’m just misunderstanding things.

Hi,

If you just want to read the temperature using a http request you know that the simplest route is to manually make a temperature device on your vera with the standard file and add a little LUA your self.

The simplest LUA example I can think of is one I created to read the status from my Solar system. This article has the LUA code you can start from and the way to add a device manually [url=http://forum.micasaverde.com/index.php/topic,11072.msg222069.html#msg222069]http://forum.micasaverde.com/index.php/topic,11072.msg222069.html#msg222069[/url].

You would have to do is use D_TemperatureSensor1.xml as the device file and point to the I_xxx.xml you put your LUA code in. If you have some temperature device on your Vera already you can get a lot of information to use from that.

Success.

Cheers Rene