Arduino and rest based home automation and monitoring system