Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ Additional docs:
- [Tested vacuums](docs/tested_vacuums.md)
- [Home Assistant](docs/home_assistant.md) for the add-on install path and integration setup
- [Mobile App Options](docs/roborock_app.md)
- [Camera (live video)](docs/camera.md)
- [Custom MQTT](docs/custom_mqtt.md)
- [Custom certificate management](docs/custom_cert_management.md)

Expand Down
30 changes: 26 additions & 4 deletions docs/camera.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,26 @@ Camera-capable robots can stream to a local WebRTC consumer such as
[go2rtc](https://github.com/AlexxIT/go2rtc) with a `roborock://` source.
Camera bootstrap, authentication and TURN all need to work.

## Tested models

Bootstrap input and activation differ per model and firmware. Only these
combinations have been confirmed; report others through the
[compatibility report form](https://github.com/Python-roborock/local_roborock_server/issues/new?template=compatibility.yml).

| Vacuum | Model | Firmware | Bootstrap input | Activation | Viewer | Report |
|---|---|---|---|---|---|---|
| Saros 10R | `a144` | `02.33.88` (US) | `country_domain` | Remote-view PIN, then two-key: `set_camera_status` and Power on the robot within about 60 seconds | go2rtc | [#18](https://github.com/Python-roborock/local_roborock_server/issues/18#issuecomment-4939013342) |
| Qrevo MaxV | `a87` | Not reported | `token.r`, including its explicit port | Not reported | Forced-relay preview | — |
| Qrevo Master | `a117` | `02.28.26` | `token.r` (rejects a domain in `country_domain`) | Remote-view PIN, then two-key: the app sends `set_camera_status` and prompts for a button press on the robot | Official Roborock app (iOS) | — |


## Bootstrap DNS, ports and certificates

Bootstrap depends on firmware. The tested Saros 10R (`roborock.vacuum.a144`,
FCC/US firmware) uses the onboarding region (`country_domain`). Qrevo MaxV
(`roborock.vacuum.a87`) was observed using `token.r`, including its explicit
port, even when a separate camera domain was supplied.
(`roborock.vacuum.a87`) and Qrevo Master (`roborock.vacuum.a117`) use
`token.r`; the Qrevo MaxV keeps its explicit port, even when a separate camera
domain was supplied.

Firmware truncates the input to 15 characters and appends `iot.roborock.com`.
The input used by that firmware needs a trailing `/` and must fit in **15 characters total**,
Expand Down Expand Up @@ -122,18 +136,26 @@ Keep the PIN out of shared logs and URLs.
The tested Saros 10R required two-key activation: set the remote-view PIN
(`set_homesec_password`), request activation through `set_camera_status` with
the two-key request bits set and monitor bit off, then press Power on the robot
within about 60 seconds. Activation varies by model.
within about 60 seconds. Activation varies by model. The Qrevo Master, which
also advertises two-key real-time video, used the same flow from the official
app: the app sent `set_homesec_password` and `set_camera_status`, prompted for
a physical button press on the robot, then sent `start_camera_preview`.

## Troubleshooting and tested behavior

- Bootstrap falls back: inspect the actual hostname, port and path in server logs.
- No bootstrap request: check DNS, trusted TLS, the trailing slash, length limits
and routing from the robot's network for both inputs.
- Vacuum never reconnects after onboarding, sends no DNS queries and keeps
rejoining Wi-Fi: its firmware may reject a hostname in `country_domain`
(observed on Qrevo Master `a117`). Onboard again without a camera domain.
- Preview rejected: check the existing PIN and the model's activation flow.
- Bootstrap succeeds without frames: check authenticated TURN allocation, UDP
mappings, firewall rules and the advertised address.

Saros 10R completed a WebRTC handshake with coturn and go2rtc received frames.
Qrevo MaxV completed a forced-relay preview with frames after configuring the
`token.r` hostname and its explicit port. These observations do not establish
`token.r` hostname and its explicit port. Qrevo Master streamed to the official
Roborock app after onboarding with a portless `token.r` and a region code in
`country_domain`; its `createca` request arrived on the `token.r` host. These observations do not establish
identical bootstrap or activation behavior on other firmware.
3 changes: 1 addition & 2 deletions docs/known_limitations.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
# Known Limitations

I have tried to copy over most functionality into this server, but some is not 100% completed. There are a few features I know are not currently working
I have tried to copy over most functionality into this server, but some is not 100% completed. There are a few features I know are not currently working. Live camera video is experimental and model-specific; see [Camera](camera.md#tested-models) for confirmed models.

- Vacuum camera live streaming — supported with a TURN relay and a short camera bootstrap hostname; see [camera.md](camera.md). Verified on the Saros 10R and Qrevo MaxV; other camera models may bootstrap differently and need validation.
- Firmware Updates
- Schedules (Routines/Scenes do work though)
- China-market devices do not work outside of China. Their firmware checks the region they are used in (via `rrcheck`), and after local onboarding they reject ordinary commands such as `get_status` with `-10002 / rrcheck access denied`. See [#81](https://github.com/Python-roborock/local_roborock_server/issues/81).
Expand Down
1 change: 1 addition & 0 deletions docs/tested_vacuums.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ Setup notes:
- QRevo Curv 2 Pro: the map initially failed to load; regenerating the server public key and re-onboarding restored it.
- QRevo S Pro: the successful report used an RSA-2048 Let's Encrypt certificate. An [earlier attempt](https://github.com/Python-roborock/local_roborock_server/issues/67) on the same firmware stopped before Wi-Fi configuration was sent.
- QRevo Master: the SSL.com result used a Sectigo Public Server Authentication CA DV R36 chain and a workaround for the proxy MQTT onboarding issue in [#83](https://github.com/Python-roborock/local_roborock_server/issues/83).
- QRevo Master (a117) `02.28.26`: live camera works in the official app with a TURN relay. The firmware rejects a hostname in `country_domain`, so do not set a camera domain; see [Camera](camera.md#tested-models).

## Unlisted Vacuums

Expand Down
Loading