Skip to content

Add Q10 remote control trait#812

Closed
Kraina68512 wants to merge 5 commits intoPython-roborock:mainfrom
Kraina68512:q10_remote_trait
Closed

Add Q10 remote control trait#812
Kraina68512 wants to merge 5 commits intoPython-roborock:mainfrom
Kraina68512:q10_remote_trait

Conversation

@Kraina68512
Copy link
Copy Markdown

@Kraina68512 Kraina68512 commented Apr 7, 2026

Now the b01_q10_properties of devices have "remote" trait, that allows you to control your roborock faster, and, maybe, smoother

Simple usage:

await device.b01_q10_properties.remote.forward()
await asyncio.sleep(1)
await device.b01_q10_properties.remote.stop()

btw there is no "backward" command


from .command import CommandTrait

REMOTE_COMMANDS = {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this could be an enum

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

where should I put the class? cause i cant do it into the remote trait file

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems fine where you put it. I do think it could go in the remote trait file, so not sure why that didn't work for you.

@Kraina68512
Copy link
Copy Markdown
Author

I tthink i did it

Copy link
Copy Markdown
Contributor

@allenporter allenporter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tests and lint are failing

@Kraina68512 Kraina68512 deleted the q10_remote_trait branch April 10, 2026 14:27
@Kraina68512
Copy link
Copy Markdown
Author

really sorry i gonna open this request when i get how to normally use git in visual studio (never used before)

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

Successfully merging this pull request may close these issues.

2 participants