Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not Power On #22

Open
jeydude1 opened this issue Jan 2, 2019 · 1 comment
Open

Could not Power On #22

jeydude1 opened this issue Jan 2, 2019 · 1 comment

Comments

@jeydude1
Copy link

jeydude1 commented Jan 2, 2019

Hi, Thanks for your API. I have used your API to control Dyson Pure Hot+CoolLink™ air purifier heater & fan device - If I turn ON the Dyson device manually, then if I send the API commands to increase/reduce Heat, Fan Speed, etc it works fine.

But I could not turn ON the Dyson device using API command. Is there any way to Turn ON/OFF the Dyson device using API command? Thanks for your help!

@jeydude1
Copy link
Author

it was my mistake - i have fixed it by doing

To turn on the device, by setting FAN_MODE to FAN

print("Turn ON the FAN")
devices[0].set_configuration(fan_mode=FanMode.FAN, fan_speed=FanSpeed.FAN_SPEED_1)

wait for sometime

time.sleep(interval)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant