Skip to content

Add basic dmaker.fan.p11 support#850

Merged
syssi merged 2 commits intorytilahti:masterfrom
syssi:feature/add-dmaker-fan-p11-support
Nov 5, 2020
Merged

Add basic dmaker.fan.p11 support#850
syssi merged 2 commits intorytilahti:masterfrom
syssi:feature/add-dmaker-fan-p11-support

Conversation

@syssi
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Collaborator Author

syssi commented Nov 5, 2020

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

@syssi
Copy link
Copy Markdown
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
Copy Markdown
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.

3 participants