The present invention provides a device to control the tilt angle of window blinds. The device is capable of working with existing home automation control systems. The device is configured to operate in one or more modes such as, a primary mode and a secondary mode. In the primary mode of operation of the device is controlled by the home automation controller using a wireless mesh network protocol or a home automation protocol. In the secondary mode, the device 604 is operate independent of the mesh network in a standalone manner.