homebridge-miot: Roborock s7 maxV Ultra does not report values

Describe the bug A clear and concise description of what the bug is. I have a Roborock s7 maxV Ultra vacuum, and configured this plugin. The HomeKit accessory does not report correct “battery”, “mode” and “dock” values. All always remain at 0 or not detected.

Expected behavior A clear and concise description of what you expected to happen. When vacuum is in its dock, fully recharged, it should report 100% and docked to yes. When adding a monitored property on the “mode”, the lux sensor should report something other than 0.

Your config.json Provide the config.json entry for your device.

"name": "Roborock S7 MaxV",
"ip": "192.168.1.4",
"token": "xxxxxx",
"deviceId": "xxxxxx",
"model": "roborock.vacuum.a27",
"pollingInterval": 10,
"deepDebugLog": false,
"buzzerControl": false,
"ledControl": false,
"childLockControl": false,
"modeControl": false,
"propertyMonitor": [
  {
    "property": "battery:battery-level",
    "name": "Battery"
  },
  {
    "property": "vacuum:mode",
    "name": "Mode"
  }
]

Debug log Provide a snippet of a debug log when the issue occurs. Ideally with the deepDebugLog property enabled.

[6/5/2022, 7:29:49 PM] [miot] [Roborock S7 MaxV] Initializing device services
[6/5/2022, 7:29:49 PM] [miot] [Roborock S7 MaxV] Device services: [
  "vacuum",
  "battery",
  "identify",
  "brush-cleaner",
  "brush-cleaner",
  "filter",
  "generic-rpc",
  "roborock-vacuum"
]
[6/5/2022, 7:29:49 PM] [miot] [Roborock S7 MaxV] Initializing device properties
[6/5/2022, 7:29:49 PM] [miot] [Roborock S7 MaxV] Device properties: [
  "vacuum:status",
  "vacuum:fault",
  "vacuum:mode",
  "vacuum:room-ids",
  "battery:battery-level",
  "brush-cleaner:brush-life-level",
  "brush-cleaner10:brush-life-level",
  "filter:filter-life-level",
  "generic-rpc:rpc-in",
  "generic-rpc:rpc-out",
  "roborock-vacuum:consumable-id",
  "roborock-vacuum:failed-reason",
  "roborock-vacuum:error-code",
  "roborock-vacuum:schedule-type"
]
[6/5/2022, 7:29:49 PM] [miot] [Roborock S7 MaxV] Initializing device actions
[6/5/2022, 7:29:49 PM] [miot] [Roborock S7 MaxV] Device actions: [
  "vacuum:start-sweep",
  "vacuum:stop-sweeping",
  "vacuum:start-mop",
  "vacuum:start-sweep-mop",
  "vacuum:start-room-sweep",
  "battery:start-charge",
  "identify:identify",
  "generic-rpc:generic-rpc-call"
]
[6/5/2022, 7:29:49 PM] [miot] [Roborock S7 MaxV] Successfully created a RobotCleaner device! It is a Roborock S7 MaxV Ultra.
[6/5/2022, 7:29:49 PM] [miot] [Roborock S7 MaxV] Initializing accessory!
[6/5/2022, 7:29:49 PM] [miot] [Roborock S7 MaxV] Accessory successfully initialized!
[6/5/2022, 7:29:49 PM] [miot] [Roborock S7 MaxV] Registering 1 accessories!
[6/5/2022, 7:29:49 PM] [miot] [Roborock S7 MaxV] Everything looks good! Initiating property polling!
[6/5/2022, 7:29:49 PM] [miot] [Roborock S7 MaxV] Device found: roborock.vacuum.a27
[6/5/2022, 7:29:49 PM] [miot] [Roborock S7 MaxV] Setting up miot device!
[6/5/2022, 7:29:49 PM] [miot] [Roborock S7 MaxV] Device setup finished! Miot device ready!
[6/5/2022, 7:29:49 PM] [miot] [Roborock S7 MaxV] Connected to device: roborock.vacuum.a27
[6/5/2022, 7:29:49 PM] [miot] [Roborock S7 MaxV] Doing initial property fetch.

Screenshots If applicable, add screenshots to help explain your problem. image

Additional context Add any other context about the problem here.

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 17 (9 by maintainers)

Most upvoted comments

Just wanted to let you know, that the values now appear as expected. Thanks a lot!