presence sensor 2 by humblehacker

Cloned from Sketch Ultrasonic Presence Sensor by humblehacker

This sketch is missing a short description
Code copied from http://forum.mysensors.org/topic/1764/customizable-sonar-sensor to merge with code from this tutorial- http://www.instructables.com/id/SIMPLE-ARDUINO-ULTRASONIC-SENSOR-DOOR-ALARM-/ for usage as a presence sensor that can be relayed via a mysensors gateway to trigger events in an instance running homeassistant.io

Embed This Sketch

Use the following HTML code to embed the sketch code above in your blog or website.

<iframe style="height: 510px; width: 100%; margin: 10px 0 10px;" allowTransparency="true" src="https://codebender.cc/embed/sketch:187364" frameborder="0"></iframe>

Embed The Serial Monitor

You can also embed the Serial Monitor section! Just use this HTML code.

<iframe style="height: 510px; width: 100%; margin: 10px 0 10px;" allowTransparency="true" src="https://codebender.cc/embed/serialmonitor" frameborder="0"></iframe>