A Home Automation framework for Linux written in the C language