Skip to content

Conversation

@Lash-L
Copy link
Collaborator

@Lash-L Lash-L commented Dec 19, 2025

Accidentally based on top of the Q7 work. Will finish that and then rebase this

@Lash-L Lash-L changed the title feat: add some basic setters for q7 feat: add some basic support for q10 Dec 19, 2025
Copy link
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.

I think it would be helpful to try to break this down into the smaller parts. Having the overall big picture is helpful but i think we can review and merge faster doing one chunk at a time?

If there are major changes influencing the design here worth calling out let me know.

def _on_message(self, message: RoborockMessage) -> None:
"""Handle incoming messages from the device."""
self._logger.debug("Received message from device: %s", message)
on_message = getattr(self._trait, "on_message", None)
Copy link
Contributor

Choose a reason for hiding this comment

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

Let the trait add their own callback.

@Lash-L Lash-L closed this Dec 29, 2025
allenporter added a commit to allenporter/python-roborock that referenced this pull request Dec 29, 2025
allenporter added a commit that referenced this pull request Dec 29, 2025
* fix: Add b01 q10 protocol encoding/decoding and tests

Pulled from #692 and #709

* fix: Support unknown q10 DPS enum codes
allenporter added a commit to allenporter/python-roborock that referenced this pull request Dec 29, 2025
Add the ability to send commands to roborock CLI. This adds a single trait for sending commands, using a blend of approaches from Python-roborock#692 and Python-roborock#709
allenporter added a commit that referenced this pull request Dec 30, 2025
* feat: Recognize Q10 devices and add a command trait

Add the ability to send commands to roborock CLI. This adds a single trait for sending commands, using a blend of approaches from #692 and #709

* chore: Add end to end tests for Q10 devices

Moves the mock API responses to json files to make them easier to collect for new device types and modify in tests.

* chore: Remove unused timeout field
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.

3 participants