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

dmaker.fan.p9 don't support night mode #1428

Closed
Olegz73 opened this issue May 24, 2022 · 2 comments · Fixed by #1581
Closed

dmaker.fan.p9 don't support night mode #1428

Olegz73 opened this issue May 24, 2022 · 2 comments · Fixed by #1581

Comments

@Olegz73
Copy link

Olegz73 commented May 24, 2022

Dmaker.fan.p9 have 3 mods in mi home : standart, natural and sleeping mode. But miio support only 2 mods : standart and natural. Please add 3rd mode - sleeping
IMG_20220524_083919

@Olegz73
Copy link
Author

Olegz73 commented Jul 4, 2023

Night mod still not available

@rytilahti
Copy link
Owner

Here's what it shows using miiocli on a simulated device of that model:

❯ miiocli genericmiot --ip 127.0.0.1 --token 00000000000000000000000000000000 status
Running command status
Service Fan (fan)
        Switch Status (fan:on, access: RW): True (<class 'bool'>, )
        Fan Level (fan:fan-level, access: RW): Level1 (value: 1) (<class 'int'>, choices: Level1 (1), Level2 (2), Level3 (3), Level4 (4))
        Mode (fan:mode, access: RW): Straight Wind (value: 0) (<class 'int'>, choices: Straight Wind (0), Natural Wind (1), Sleep (2))
        Horizontal Swing (fan:horizontal-swing, access: RW): True (<class 'bool'>, )
        Horizontal Angle (fan:horizontal-angle, access: RW): 150 (value: 150) (<class 'int'>, choices: 30 (30), 60 (60), 90 (90), 120 (120), 150 (150))
        Alarm (fan:alarm, access: RW): True (<class 'bool'>, )
        Power Off Delay Time (fan:off-delay-time, access: RW): 6:05:00 (<class 'int'>, min: 0, max: 480, step: 1)
        Brightness (fan:brightness, access: RW): True (<class 'bool'>, )
        Speed Level (fan:speed-level, access: RW): 84  (<class 'int'>, min: 1, max: 100, step: 1)
Service Physical Control Locked (physical-controls-locked)
        Physical Control Locked (physical-controls-locked:physical-controls-locked, access: RW): False (<class 'bool'>, )
Service Alarm (alarm)
        Alarm (alarm:alarm, access: RW): True (<class 'bool'>, )
Service Indicator Light (indicator-light)
        Switch Status (indicator-light:on, access: RW): True (<class 'bool'>, )

so miiocli genericmiot --ip 127.0.0.1 --token 00000000000000000000000000000000 set fan:mode 2 should set the mode to sleep.

If you are talking about getting this supported in homeassistant, it will have to wait until #1114 and a new release gets done.

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

Successfully merging a pull request may close this issue.

2 participants