smart home flex client development