al-one / hass-xiaomi-miot

Automatic integrate all Xiaomi devices to HomeAssistant via miot-spec, support Wi-Fi, BLE, ZigBee devices. 小米米家智能家居设备接入Hass集成
https://miot-spec.com
Apache License 2.0
4.51k stars 639 forks source link

Mop and water function for Roborock S7 #951

Open VladimirTuzovGitHub opened 1 year ago

VladimirTuzovGitHub commented 1 year ago

Device model / 设备型号

roborock.vacuum.a15

Component version / 插件版本

0.7.3

HA core version / HA版本

2022.12.8

Integrated mode / 集成方式

Token

The problem / 问题详情

I use Roborock S7 in integration, it also has a control for mopping, it is possible to set the friction force of the rag and the amount of water supplied to the rag. Is this ability to control the mop expected in future updates? Or maybe you can help me add this feature via YAML.

Entity attributes / 实体属性

fan_speed_list:
  - Silent
  - Standard
  - Medium
  - Turbo
battery_level: 100
battery_icon: mdi:battery-charging-100
fan_speed: Standard
status: Charging
timers:
  - enabled: false
    cron: 0 8 * * 0,1,2,3,4,5,6
    next_schedule: '2022-12-25T02:00:00+00:00'
  - enabled: false
    cron: 59 23 * * 0,1,2,3,4,5,6
    next_schedule: '2022-12-24T17:59:00+00:00'
friendly_name: Xiaomi Roborock S7
supported_features: 14204

Home Assistant Logs / 系统日志

No response

blakadder commented 1 year ago

Doesn't look like it from https://home.miot-spec.com/s/roborock.vacuum.a15

Can you grab the logs using Vevs Mi app to see which siid and piid is used to set those options from the app?

VladimirTuzovGitHub commented 1 year ago

https://home.miot-spec.com/s/roborock.vacuum.a15

Yes it is https://home.miot-spec.com/s/roborock.vacuum.a15 I can install the Vevs Mi app for myself. Just tell me how can I get the magazines? Where should they be seen?

blakadder commented 1 year ago

Install https://www.vevs.me/2017/11/mi-home.html

follow to activate custom logging https://github.com/al-one/hass-xiaomi-miot/issues/114#issuecomment-868721912

al-one commented 1 year ago

@VladimirTuzovGitHub Your entity attributes does not appear to be integrated by this component.

VladimirTuzovGitHub commented 1 year ago

@VladimirTuzovGitHub Атрибуты вашего объекта, похоже, не интегрированы этим компонентом.

Can I fix it? Or maybe you can fix it in future updates.