Hypfer / Valetudo

Cloud replacement for vacuum robots enabling local-only operation
https://valetudo.cloud
Apache License 2.0
6.33k stars 387 forks source link

Roborock S5 - MQTT - Failed to parse Value to be sent for topic #1936

Closed RandomLegend closed 9 months ago

RandomLegend commented 9 months ago

Describe the bug

Logs in my freshly installed Valetudo spam this Error multiple times a second:

Failed to parse value to be sent for topic valetudo/MeatyFearfulBaboon/FanSpeedControlCapability/preset: Error: Value 'custom' is invalid for enum with format [low,medium,high,max,off]! at PropertyMqttHandle.marshalHomie (/snapshot/Valetudo/backend/lib/mqtt/handles/MqttHandle.js:371:27) at PropertyMqttHandle.getHomie (/snapshot/Valetudo/backend/lib/mqtt/handles/MqttHandle.js:298:29) at async MqttController.refresh (/snapshot/Valetudo/backend/lib/mqtt/MqttController.js:716:23) at async PropertyMqttHandle.refresh (/snapshot/Valetudo/backend/lib/mqtt/handles/MqttHandle.js:237:9) at async PresetSelectionCapabilityMqttHandle.refresh (/snapshot/Valetudo/backend/lib/mqtt/handles/MqttHandle.js:240:13)

I checked the MQTT Settings and disabled Homie because i use Home Assistant. But despite disabling it, restarting the robot and even restarting the whole MQTT connection, it still spams the logs with it.

Screenshots

image

Vacuum Model

Roborock S5

Valetudo Version

2023.10.0

Hypfer commented 9 months ago

https://github.com/Hypfer/Valetudo/discussions/1807