A LAN-based Home Automation And Monitoring System