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

mirobo "DND enabled: 0", after change to 1 #18

Closed
alexdom opened this issue Jun 18, 2017 · 4 comments
Closed

mirobo "DND enabled: 0", after change to 1 #18

alexdom opened this issue Jun 18, 2017 · 4 comments

Comments

@alexdom
Copy link

alexdom commented Jun 18, 2017

I try to set DND mode, when query status, it still shows DND 0:

-> # mirobo dnd on 20 0 8 0
Enabling DND 20:0 to 8:0
0
-> # mirobo dnd 1          
DND 21:00 to 08:00 (enabled: 1)
-> # mirobo                
State: Charging
Battery: 100 %
Fanspeed: 60 %
Cleaning since: 0:00:02
Cleaned area: 0.0 m²
DND enabled: 0
@rytilahti
Copy link
Owner

What happens if you just type "mirobo dnd"? I think the status message the robot is giving out is incomplete, and needs to be adjusted.

@alexdom
Copy link
Author

alexdom commented Jun 22, 2017

Yeah, looks like it's not consistent:

-> # mirobo

State: Charging
Battery: 100 %
Fanspeed: 60 %
Cleaning since: 1:04:27
Cleaned area: 53.5575 m²
DND enabled: 0

-> # mirobo dnd

DND 20:00 to 08:00 (enabled: 1)

@marcelrv
Copy link

I think the status DND is if currently DND is active or not not.
The value in DND message is if the DND functionality is enabled.

https://github.com/marcelrv/XiaomiRobotVacuumProtocol/blob/master/dnd_timer.md

@rytilahti
Copy link
Owner

Yes, the one in status (what comes up as default) is from the payload returned for status requests. I should probably just hide it for now.

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

3 participants