Arduino shows veras mode when motion is detected.

I just completed my project to solve a flaw with Zipatos RFID mini keypad to Vera Lite system. Zipatos device does not tell if the code or the tag successfully change mode from home to away or away to home…

My solution to solve this issue was to create an Arduino sensor that detect motion, if motion are detected it connects to my Vera controller and get the current mode. One of 4 LED lights up depending on Veras current mode.

Unfortunate this does not work so god when you change mode from home to away with an delay? the solution to that is an scene in Vera that sends an command to the Arduino and tell it to enable led light in a flow mode to show that the tag successfully has set my system to away.

My Arduino had enough ports and process power to do more stuff, so I added temperature, humidity, light and motion. That data are sent to virtual devices in Vera (Devices most be configured before Arduino is able to send data to them)

My guide show how you add virtual devices to Vera:

All code and how the motion sensor is built are published in the link:

The page is written in Swedish but in the right corner an google translate function solves that 

All code is free to use in other projects
www.automatiserar.se
// Ispep