smarthome controller base on RTEMS