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

Add basic dmaker.fan.p11 support #850

Merged
merged 2 commits into from
Nov 5, 2020

Conversation

syssi
Copy link
Collaborator

@syssi syssi commented Nov 4, 2020

I'm trying to get this fan supported in 0.5.4 already.

@syssi syssi requested a review from rytilahti November 4, 2020 07:14
@syssi syssi merged commit 85f52bc into rytilahti:master Nov 5, 2020
@iquix
Copy link
Contributor

iquix commented Nov 5, 2020

I own this fan model (dmaker.fan.p11), and it seems that 'status' siid:2, piid:6 is actually fan speed of level 1~100
I have already tested this with @swim2sun 's code.

Therefore, line #50 of fan_miot.py should be
"fan_speed": {"siid": 2, "piid": 6},

I have made a pull request of this fix.
Thank you.

@syssi
Copy link
Collaborator Author

syssi commented Nov 5, 2020

@iquix Thanks for you support! I will fix the issue right away.

@syssi
Copy link
Collaborator Author

syssi commented Nov 5, 2020

@iquix Could you provide the model no. your of device? I want to use it here soon: https://github.com/syssi/xiaomi_airpurifier#supported-devices

@iquix
Copy link
Contributor

iquix commented Nov 5, 2020

The brand is mijia and the model no. is BPLDS03DM.
Thank you so much.
https://www.google.com/search?q=mijia+BPLDS03DM

xvlady pushed a commit to xvlady/python-miio that referenced this pull request May 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants