Bluetooth embedded systems for home automation