Ajout de commande pour aspirateur Roborock S50

Bonjour @Mips ,

Ce week-end, j’ai changé le firmware de mon aspirateur Roborock S50. Je suis passé sous Valetudo RE afin de pouvoir le commander en local via MQTT.

J’ai bien des commandes qui sont remontées dans MQTTDiscovery mais je voudrai savoir s’il est possible dans ajouter d’autres.

Je voudrai pouvoir ajouter des infos Topic: valetudo/rockrobo/attributes

Est-ce que cela est possible ?

Voici les informations de l’équipement :

{

"vacuum" : {

"valetudo_rockrobo" : {

"name" : "rockrobo",

"unique_id" : "rockrobo",

"schema" : "state",

"device" : {

"manufacturer" : "Roborock",

"model" : "roborock.vacuum.s5",

"name" : "vacuum",

"identifiers" : [

"rockrobo"

],

"sw_version" : "0.10.10"

},

"supported_features" : [

"start",

"pause",

"stop",

"return_home",

"battery",

"status",

"locate",

"clean_spot",

"fan_speed",

"send_command"

],

"command_topic" : "valetudo/rockrobo/command",

"state_topic" : "valetudo/rockrobo/state",

"set_fan_speed_topic" : "valetudo/rockrobo/set_fan_speed",

"fan_speed_list" : [

"min",

"medium",

"high",

"max",

"mop"

],

"send_command_topic" : "valetudo/rockrobo/custom_command",

"json_attributes_topic" : "valetudo/rockrobo/attributes"

}

}

}

Et les commandes que j’ai actuellement

Merci !

Bonsoir,

sauf erreur de ma part, Valetudo ne publie pas ces valeurs dans la partie Discovery, du coup le plugin ne pourra pas les créer.
Pour contourner ce problème j’ai créé un équipement supplémentaire sous le plugin MQTT2 avec les infos qui me manque, voici ce que j’ai fait pour mon Roborock,

Et voici à quoi cela ressemble sur le dashboard,

Cordialement,

Mathieu

Bonjour @m_arth

Je te remercie pour toutes ces informations. Je vais tester cela ce soir !

Est-ce que cela te dérangerait de mettre en texte les commandes action json ?

Et voila,

Nom Type Topic Message
Mainbrush Info/Numérique roborock/attributes/mainBrush
reset mainbrush Action/Défaut roborock/custom_command json::{"command":"reset_consumable","consumable":"main_brush_work_time"}
Sensor Info/Numérique roborock/attributes/sensor
reset sensor Action/Défaut roborock/custom_command json::{"command":"reset_consumable","consumable":"sensor_dirty_time"}
Sidebrush Info/Numérique roborock/attributes/sideBrush
reset sidebrush Action/Défaut roborock/custom_command json::{"command":"reset_consumable","consumable":"side_brush_work_time"}
Filter Info/Numérique roborock/attributes/filter
reset filter Action/Défaut roborock/custom_command json::{"command":"reset_consumable","consumable":"filter_work_time"}
Last Clean Time Info/Numérique roborock/attributes/currentCleanTime
Last Clean Area Info/Numérique roborock/attributes/currentCleanArea

Cordialement,

Mathieu

1 « J'aime »

Bonjour,

  1. Ces « attributs » ce ne sont que des commandes infos du coup? si oui alors ca je pense que je peux faire quelque chose, c’est en fait prévu dans le protocole mqtt discovery
  2. le custom_command aussi mais par contre là aucun moyen de savoir qu’elles sont les commandes possibles (le payload à utiliser) => tout ce que j’imagine c’est que je pourrais prévoir que si cette fonctionnalité existe sur l’équipement, qu’on puisse ajouter manuellement des commandes actions sur l’équipement mais il restera à ajouter le payload voulu (en suivant la doc de la passerelle, ici valetudo)
    c’est dommage que ca ne soit pas des « button » qui soient publiés dans le discovery au lieu de « custom_command », ca serait géré directement, mais on ne pourra rien y faire je pense, excepté soumettre l’idée sur le github
2 « J'aime »

pour le 1, oui ce sont des commandes info.

Salut, si le point 2 est possible cela me permets de tout mettre dans le même widget.

Mathieu

Pour les attributes (le point 1), ca sera à tester demain en beta

je dois encore travailler sur le 2.

2 « J'aime »

Cela fonctionne nickel. Merci.

Par contre pour les json action, il faut bien mettre les guillemets comme ci-dessous pour que cela fonctionne.
json::{« command »:« reset_consumable »,« consumable »:« side_brush_work_time »}

Hello,
décidemment j’ai du mal avec les copier/collé :slight_smile:
J’ai corrigé dans le post précédent, et effectivement il manquait les ""

Bonne soirée,

Mathieu

1 « J'aime »

@Mips

Mise à jour faite de matin.

Je retrouve bien les attributs dans le log, par contre, on ne me propose pas d’ajouter les commandes. Il faut récréer l’équipement ?

[2024-09-12 08:51:44][DEBUG] : new message:{"valetudo":{"rockrobo":{"attributes":{"mainBrush":"300.0","sideBrush":"200.0","filter":"150.0","sensor":"30.0","currentCleanTime":"27.5","currentCleanArea":"37.2","cleanTime":"815.3","cleanArea":"43954.1","cleanCount":1033,"last_run_stats":{"startTime":1726120154000,"endTime":1726120290000,"duration":136,"area":"2.0","errorCode":0,"errorDescription":"No error","finishedFlag":false},"bin_in_time":0,"last_bin_out":1726122253440,"last_bin_full":-1,"last_loaded_map":null,"state":"cleaning","valetudo_state":{"id":5,"name":"Cleaning"}}}}}
[2024-09-12 08:52:14][DEBUG] : new message:{"valetudo":{"rockrobo":{"attributes":{"mainBrush":"300.0","sideBrush":"200.0","filter":"150.0","sensor":"30.0","currentCleanTime":"28.0","currentCleanArea":"37.3","cleanTime":"815.3","cleanArea":"43954.1","cleanCount":1033,"last_run_stats":{"startTime":1726120154000,"endTime":1726120290000,"duration":136,"area":"2.0","errorCode":0,"errorDescription":"No error","finishedFlag":false},"bin_in_time":0,"last_bin_out":1726122253440,"last_bin_full":-1,"last_loaded_map":null,"state":"cleaning","valetudo_state":{"id":5,"name":"Cleaning"}}}}}
[2024-09-12 08:52:16][DEBUG] : new message:{"valetudo":{"rockrobo":{"state":{"state":"cleaning","battery_level":75,"fan_speed":"medium"}}}}
[2024-09-12 08:52:35][DEBUG] : new message:{"valetudo":{"rockrobo":{"attributes":{"mainBrush":"300.0","sideBrush":"200.0","filter":"150.0","sensor":"30.0","currentCleanTime":"28.3","currentCleanArea":"37.5","cleanTime":"815.3","cleanArea":"43954.1","cleanCount":1033,"last_run_stats":{"startTime":1726120154000,"endTime":1726120290000,"duration":136,"area":"2.0","errorCode":0,"errorDescription":"No error","finishedFlag":false},"bin_in_time":0,"last_bin_out":1726122253440,"last_bin_full":-1,"last_loaded_map":null,"state":"cleaning","valetudo_state":{"id":5,"name":"Cleaning"}}}}}
[2024-09-12 08:52:44][DEBUG] : new message:{"valetudo":{"rockrobo":{"attributes":{"mainBrush":"300.0","sideBrush":"200.0","filter":"150.0","sensor":"30.0","currentCleanTime":"28.5","currentCleanArea":"37.5","cleanTime":"815.3","cleanArea":"43954.1","cleanCount":1033,"last_run_stats":{"startTime":1726120154000,"endTime":1726120290000,"duration":136,"area":"2.0","errorCode":0,"errorDescription":"No error","finishedFlag":false},"bin_in_time":0,"last_bin_out":1726122253440,"last_bin_full":-1,"last_loaded_map":null,"state":"cleaning","valetudo_state":{"id":5,"name":"Cleaning"}}}}}
[2024-09-12 08:52:49][DEBUG] : new message:{"valetudo":{"rockrobo":{"attributes":{"mainBrush":"300.0","sideBrush":"200.0","filter":"150.0","sensor":"30.0","currentCleanTime":"28.5","currentCleanArea":"37.6","cleanTime":"815.3","cleanArea":"43954.1","cleanCount":1033,"last_run_stats":{"startTime":1726120154000,"endTime":1726120290000,"duration":136,"area":"2.0","errorCode":0,"errorDescription":"No error","finishedFlag":false},"bin_in_time":0,"last_bin_out":1726122253440,"last_bin_full":-1,"last_loaded_map":null,"state":"cleaning","valetudo_state":{"id":5,"name":"Cleaning"}}}}}
[2024-09-12 08:52:54][DEBUG] : new message:{"valetudo":{"rockrobo":{"attributes":{"mainBrush":"300.0","sideBrush":"200.0","filter":"150.0","sensor":"30.0","currentCleanTime":"28.7","currentCleanArea":"37.7","cleanTime":"815.3","cleanArea":"43954.1","cleanCount":1033,"last_run_stats":{"startTime":1726120154000,"endTime":1726120290000,"duration":136,"area":"2.0","errorCode":0,"errorDescription":"No error","finishedFlag":false},"bin_in_time":0,"last_bin_out":1726122253440,"last_bin_full":-1,"last_loaded_map":null,"state":"cleaning","valetudo_state":{"id":5,"name":"Cleaning"}}}}}
[2024-09-12 08:52:59][DEBUG] : new message:{"valetudo":{"rockrobo":{"attributes":{"mainBrush":"300.0","sideBrush":"200.0","filter":"150.0","sensor":"30.0","currentCleanTime":"28.7","currentCleanArea":"37.8","cleanTime":"815.3","cleanArea":"43954.1","cleanCount":1033,"last_run_stats":{"startTime":1726120154000,"endTime":1726120290000,"duration":136,"area":"2.0","errorCode":0,"errorDescription":"No error","finishedFlag":false},"bin_in_time":0,"last_bin_out":1726122253440,"last_bin_full":-1,"last_loaded_map":null,"state":"cleaning","valetudo_state":{"id":5,"name":"Cleaning"}}}}}
[2024-09-12 08:53:09][DEBUG] : new message:{"valetudo":{"rockrobo":{"attributes":{"mainBrush":"300.0","sideBrush":"200.0","filter":"150.0","sensor":"30.0","currentCleanTime":"28.9","currentCleanArea":"37.9","cleanTime":"815.3","cleanArea":"43954.1","cleanCount":1033,"last_run_stats":{"startTime":1726120154000,"endTime":1726120290000,"duration":136,"area":"2.0","errorCode":0,"errorDescription":"No error","finishedFlag":false},"bin_in_time":0,"last_bin_out":1726122253440,"last_bin_full":-1,"last_loaded_map":null,"state":"cleaning","valetudo_state":{"id":5,"name":"Cleaning"}}}}}
[2024-09-12 08:53:15][INFO] : no image available for ROBOROCKVACUUMS5
[2024-09-12 08:53:15][DEBUG] : new message:{"valetudo":{"rockrobo":{"attributes":{"mainBrush":"300.0","sideBrush":"200.0","filter":"150.0","sensor":"30.0","currentCleanTime":"29.0","currentCleanArea":"38.0","cleanTime":"815.3","cleanArea":"43954.1","cleanCount":1033,"last_run_stats":{"startTime":1726120154000,"endTime":1726120290000,"duration":136,"area":"2.0","errorCode":0,"errorDescription":"No error","finishedFlag":false},"bin_in_time":0,"last_bin_out":1726122253440,"last_bin_full":-1,"last_loaded_map":null,"state":"cleaning","valetudo_state":{"id":5,"name":"Cleaning"}}}}}
[2024-09-12 08:53:22][INFO] : no image available for ROBOROCKVACUUMS5
[2024-09-12 08:53:25][DEBUG] : new message:{"valetudo":{"rockrobo":{"attributes":{"mainBrush":"300.0","sideBrush":"200.0","filter":"150.0","sensor":"30.0","currentCleanTime":"29.1","currentCleanArea":"38.1","cleanTime":"815.3","cleanArea":"43954.1","cleanCount":1033,"last_run_stats":{"startTime":1726120154000,"endTime":1726120290000,"duration":136,"area":"2.0","errorCode":0,"errorDescription":"No error","finishedFlag":false},"bin_in_time":0,"last_bin_out":1726122253440,"last_bin_full":-1,"last_loaded_map":null,"state":"cleaning","valetudo_state":{"id":5,"name":"Cleaning"}}}}}
[2024-09-12 08:53:26][DEBUG] : new message:{"valetudo":{"rockrobo":{"state":{"state":"cleaning","battery_level":74,"fan_speed":"medium"},"attributes":{"mainBrush":"300.0","sideBrush":"200.0","filter":"150.0","sensor":"30.0","currentCleanTime":"29.2","currentCleanArea":"38.3","cleanTime":"815.3","cleanArea":"43954.1","cleanCount":1033,"last_run_stats":{"startTime":1726120154000,"endTime":1726120290000,"duration":136,"area":"2.0","errorCode":0,"errorDescription":"No error","finishedFlag":false},"bin_in_time":0,"last_bin_out":1726122253440,"last_bin_full":-1,"last_loaded_map":null,"state":"cleaning","valetudo_state":{"id":5,"name":"Cleaning"}}}}}
[2024-09-12 08:53:34][INFO] : no image available for ROBOROCKVACUUMS5
[2024-09-12 08:53:34][INFO] : no image available for ROBOROCKVACUUMS5
[2024-09-12 08:53:45][DEBUG] : new message:{"valetudo":{"rockrobo":{"attributes":{"mainBrush":"300.0","sideBrush":"200.0","filter":"150.0","sensor":"30.0","currentCleanTime":"29.5","currentCleanArea":"38.3","cleanTime":"815.3","cleanArea":"43954.1","cleanCount":1033,"last_run_stats":{"startTime":1726120154000,"endTime":1726120290000,"duration":136,"area":"2.0","errorCode":0,"errorDescription":"No error","finishedFlag":false},"bin_in_time":0,"last_bin_out":1726122253440,"last_bin_full":-1,"last_loaded_map":null,"state":"cleaning","valetudo_state":{"id":5,"name":"Cleaning"}}}}}
[2024-09-12 08:53:50][DEBUG] : new message:{"valetudo":{"rockrobo":{"attributes":{"mainBrush":"300.0","sideBrush":"200.0","filter":"150.0","sensor":"30.0","currentCleanTime":"29.5","currentCleanArea":"38.4","cleanTime":"815.3","cleanArea":"43954.1","cleanCount":1033,"last_run_stats":{"startTime":1726120154000,"endTime":1726120290000,"duration":136,"area":"2.0","errorCode":0,"errorDescription":"No error","finishedFlag":false},"bin_in_time":0,"last_bin_out":1726122253440,"last_bin_full":-1,"last_loaded_map":null,"state":"cleaning","valetudo_state":{"id":5,"name":"Cleaning"}}}}}
[2024-09-12 08:53:55][DEBUG] : new message:{"valetudo":{"rockrobo":{"attributes":{"mainBrush":"300.0","sideBrush":"200.0","filter":"150.0","sensor":"30.0","currentCleanTime":"29.6","currentCleanArea":"38.5","cleanTime":"815.3","cleanArea":"43954.1","cleanCount":1033,"last_run_stats":{"startTime":1726120154000,"endTime":1726120290000,"duration":136,"area":"2.0","errorCode":0,"errorDescription":"No error","finishedFlag":false},"bin_in_time":0,"last_bin_out":1726122253440,"last_bin_full":-1,"last_loaded_map":null,"state":"cleaning","valetudo_state":{"id":5,"name":"Cleaning"}}}}}
[2024-09-12 08:54:05][DEBUG] : new message:{"valetudo":{"rockrobo":{"attributes":{"mainBrush":"300.0","sideBrush":"200.0","filter":"150.0","sensor":"30.0","currentCleanTime":"29.8","currentCleanArea":"38.6","cleanTime":"815.3","cleanArea":"43954.1","cleanCount":1033,"last_run_stats":{"startTime":1726120154000,"endTime":1726120290000,"duration":136,"area":"2.0","errorCode":0,"errorDescription":"No error","finishedFlag":false},"bin_in_time":0,"last_bin_out":1726122253440,"last_bin_full":-1,"last_loaded_map":null,"state":"cleaning","valetudo_state":{"id":5,"name":"Cleaning"}}}}}
[2024-09-12 08:54:10][DEBUG] : new message:{"valetudo":{"rockrobo":{"attributes":{"mainBrush":"300.0","sideBrush":"200.0","filter":"150.0","sensor":"30.0","currentCleanTime":"29.9","currentCleanArea":"38.7","cleanTime":"815.3","cleanArea":"43954.1","cleanCount":1033,"last_run_stats":{"startTime":1726120154000,"endTime":1726120290000,"duration":136,"area":"2.0","errorCode":0,"errorDescription":"No error","finishedFlag":false},"bin_in_time":0,"last_bin_out":1726122253440,"last_bin_full":-1,"last_loaded_map":null,"state":"cleaning","valetudo_state":{"id":5,"name":"Cleaning"}}}}}
[2024-09-12 08:54:14][INFO] : no image available for ROBOROCKVACUUMS5
[2024-09-12 08:54:15][DEBUG] : new message:{"valetudo":{"rockrobo":{"attributes":{"mainBrush":"300.0","sideBrush":"200.0","filter":"150.0","sensor":"30.0","currentCleanTime":"30.0","currentCleanArea":"38.7","cleanTime":"815.3","cleanArea":"43954.1","cleanCount":1033,"last_run_stats":{"startTime":1726120154000,"endTime":1726120290000,"duration":136,"area":"2.0","errorCode":0,"errorDescription":"No error","finishedFlag":false},"bin_in_time":0,"last_bin_out":1726122253440,"last_bin_full":-1,"last_loaded_map":null,"state":"cleaning","valetudo_state":{"id":5,"name":"Cleaning"}}}}}
[2024-09-12 08:54:25][DEBUG] : new message:{"valetudo":{"rockrobo":{"attributes":{"mainBrush":"300.0","sideBrush":"200.0","filter":"150.0","sensor":"30.0","currentCleanTime":"30.1","currentCleanArea":"38.9","cleanTime":"815.3","cleanArea":"43954.1","cleanCount":1033,"last_run_stats":{"startTime":1726120154000,"endTime":1726120290000,"duration":136,"area":"2.0","errorCode":0,"errorDescription":"No error","finishedFlag":false},"bin_in_time":0,"last_bin_out":1726122253440,"last_bin_full":-1,"last_loaded_map":null,"state":"cleaning","valetudo_state":{"id":5,"name":"Cleaning"}}}}}
[2024-09-12 08:54:30][DEBUG] : new message:{"valetudo":{"rockrobo":{"attributes":{"mainBrush":"300.0","sideBrush":"200.0","filter":"150.0","sensor":"30.0","currentCleanTime":"30.2","currentCleanArea":"39.0","cleanTime":"815.3","cleanArea":"43954.1","cleanCount":1033,"last_run_stats":{"startTime":1726120154000,"endTime":1726120290000,"duration":136,"area":"2.0","errorCode":0,"errorDescription":"No error","finishedFlag":false},"bin_in_time":0,"last_bin_out":1726122253440,"last_bin_full":-1,"last_loaded_map":null,"state":"cleaning","valetudo_state":{"id":5,"name":"Cleaning"}}}}}
[2024-09-12 08:54:45][DEBUG] : new message:{"valetudo":{"rockrobo":{"attributes":{"mainBrush":"300.0","sideBrush":"200.0","filter":"150.0","sensor":"30.0","currentCleanTime":"30.5","currentCleanArea":"39.0","cleanTime":"815.3","cleanArea":"43954.1","cleanCount":1033,"last_run_stats":{"startTime":1726120154000,"endTime":1726120290000,"duration":136,"area":"2.0","errorCode":0,"errorDescription":"No error","finishedFlag":false},"bin_in_time":0,"last_bin_out":1726122253440,"last_bin_full":-1,"last_loaded_map":null,"state":"cleaning","valetudo_state":{"id":5,"name":"Cleaning"}}}}}
[2024-09-12 08:54:45][INFO] : no image available for ROBOROCKVACUUMS5
[2024-09-12 08:54:48][INFO] : no image available for ROBOROCKVACUUMS5
[2024-09-12 08:54:48][INFO] : no image available for ROBOROCKVACUUMS5
[2024-09-12 08:54:51][DEBUG] : new message:{"valetudo":{"rockrobo":{"attributes":{"mainBrush":"300.0","sideBrush":"200.0","filter":"150.0","sensor":"30.0","currentCleanTime":"30.6","currentCleanArea":"39.1","cleanTime":"815.3","cleanArea":"43954.1","cleanCount":1033,"last_run_stats":{"startTime":1726120154000,"endTime":1726120290000,"duration":136,"area":"2.0","errorCode":0,"errorDescription":"No error","finishedFlag":false},"bin_in_time":0,"last_bin_out":1726122253440,"last_bin_full":-1,"last_loaded_map":null,"state":"cleaning","valetudo_state":{"id":5,"name":"Cleaning"}}}}}
[2024-09-12 08:55:01][DEBUG] : new message:{"valetudo":{"rockrobo":{"state":{"state":"cleaning","battery_level":73,"fan_speed":"medium"}}}}
[2024-09-12 08:55:15][DEBUG] : new message:{"valetudo":{"rockrobo":{"attributes":{"mainBrush":"300.0","sideBrush":"200.0","filter":"150.0","sensor":"30.0","currentCleanTime":"31.0","currentCleanArea":"39.1","cleanTime":"815.3","cleanArea":"43954.1","cleanCount":1033,"last_run_stats":{"startTime":1726120154000,"endTime":1726120290000,"duration":136,"area":"2.0","errorCode":0,"errorDescription":"No error","finishedFlag":false},"bin_in_time":0,"last_bin_out":1726122253440,"last_bin_full":-1,"last_loaded_map":null,"state":"cleaning","valetudo_state":{"id":5,"name":"Cleaning"}}}}}

les logs dans un Texte préformaté, pas de fichier, merci
généralement je n’ouvre pas les fichiers, ici j’étais sur l’ordi donc je l’ai fait

je peux voir les informations brutes de l’équipement? c’est le bouton « Informations » dans la config avancée

le problème c’est que je n’ai pas de matos avec ce type de découverte / message donc je dev un peu à l’aveugle

Voici les infos brutes, merci.

Configuration

{"manufacturer":"Roborock","model":"roborock.vacuum.s5","configuration_url":"","sw_version":"0.10.10","createtime":"2024-09-08 11:03:46","originalModel":"roborock.vacuum.s5","updatetime":"2024-09-12 07:43:46","batterytime":"2024-09-08 11:04:41","maxAge":"","hideOnMain":"0","battery_type":"","battery_danger_threshold":"","battery_warning_threshold":"","plugin::mqtt2::mqttTranmit":"0","json_attributes_topic":"valetudo_rockrobo_attributes"}

Catégory

{"heating":"0","security":"0","energy":"0","light":"0","opening":"0","automatism":"0","multimedia":"0","default":"1"}

display

{"backGraph::info":"","width":"390px","height":"250px","backGraph::color":"#4572a7","backGraph::format":"month","backGraph::height":"","backGraph::type":"areaspline","parameters":[]}

statut

{"lastCommunication":"2024-09-12 09:06:44","timeout":0,"warning":0,"danger":0,"batterydanger":0,"batterywarning":0,"battery":65,"batteryDatetime":"2024-09-12 09:06:44"}

et tu es sur que les commandes ne sont pas là du coup?
en principe il va créer les commandes automatiquement lorsqu’il reçoit une clé/valeur sur ce topic « attributes ». Il ne peut pas le faire à l’avance puisqu’on a aucune idée des clé/valeurs possibles

J’ai redémarré le démon et dans les logs il y a des erreurs qui revienne.
J’ai du coupé la ligne car cela m’indique qu’il y a trop de caractères. Je me demande si ce ne sont pas les informations de la carte.

[2024-09-12 07:10:03][INFO] : Starting daemon with log level: debug
[2024-09-12 07:10:03][DEBUG] : Writing PID 68891 to /tmp/jeedom/MQTTDiscovery/daemon.pid
[2024-09-12 07:10:03][INFO] : Listening on 127.0.0.1:55074
[2024-09-12 07:10:03][DEBUG] : Connecting to mqtt at 127.0.0.1:1883
[2024-09-12 07:10:03][INFO] : Successfully connected to MQTT server
[2024-09-12 07:10:03][INFO] : Successfully subscribed to discovery topic homeassistant
[2024-09-12 07:10:03][INFO] : Successfully subscribed to sensor
[2024-09-12 07:10:03][INFO] : Successfully subscribed to valetudo
[2024-09-12 07:10:03][INFO] : Successfully subscribed to home
[2024-09-12 07:10:03][DEBUG] : message received on topic 'homeassistant/vacuum/valetudo_rockrobo/config': b'{"name":"rockrobo","unique_id":"rockrobo","schema":"state","device":{"manufacturer":"Roborock","model":"roborock.vacuum.s5","name":"vacuum","identifiers":["rockrobo"],"sw_version":"0.10.10"},"supported_features":["start","pause","stop","return_home","battery","status","locate","clean_spot","fan_speed","send_command"],"command_topic":"valetudo/rockrobo/command","state_topic":"valetudo/rockrobo/state","set_fan_speed_topic":"valetudo/rockrobo/set_fan_speed","fan_speed_list":["min","medium","high","max","mop"],"send_command_topic":"valetudo/rockrobo/custom_command","json_attributes_topic":"valetudo/rockrobo/attributes"}'
[2024-09-12 07:10:03][INFO] : Send async started with a cycle of 1.0s
[2024-09-12 07:10:03][DEBUG] : Send to jeedom: {'homeassistant': {'vacuum': {'valetudo_rockrobo': {'config': {'name': 'rockrobo', 'unique_id': 'rockrobo', 'schema': 'state', 'device': {'manufacturer': 'Roborock', 'model': 'roborock.vacuum.s5', 'name': 'vacuum', 'identifiers': ['rockrobo'], 'sw_version': '0.10.10'}, 'supported_features': ['start', 'pause', 'stop', 'return_home', 'battery', 'status', 'locate', 'clean_spot', 'fan_speed', 'send_command'], 'command_topic': 'valetudo/rockrobo/command', 'state_topic': 'valetudo/rockrobo/state', 'set_fan_speed_topic': 'valetudo/rockrobo/set_fan_speed', 'fan_speed_list': ['min', 'medium', 'high', 'max', 'mop'], 'send_command_topic': 'valetudo/rockrobo/custom_command', 'json_attributes_topic': 'valetudo/rockrobo/attributes'}}}}}
[2024-09-12 07:10:03][DEBUG] : message received on topic 'valetudo/rockrobo/command_status': b'{"command":"start","message":"ok","error":null,"updated":1726122252489}'
[2024-09-12 07:10:03][DEBUG] : message received on topic 'valetudo/rockrobo/state': b'{"state":"cleaning","battery_level":63,"fan_speed":"medium"}'
[2024-09-12 07:10:03][DEBUG] : message received on topic 'valetudo/rockrobo/attributes': b'{"mainBrush":"300.0","sideBrush":"200.0","filter":"150.0","sensor":"30.0","currentCleanTime":"45.8","currentCleanArea":"52.5","cleanTime":"815.3","cleanArea":"43954.1","cleanCount":1033,"last_run_stats":{"startTime":1726120154000,"endTime":1726120290000,"duration":136,"area":"2.0","errorCode":0,"errorDescription":"No error","finishedFlag":false},"bin_in_time":0,"last_bin_out":1726122253440,"last_bin_full":-1,"last_loaded_map":null,"state":"cleaning","valetudo_state":{"id":5,"name":"Cleaning"}}'
[2024-09-12 07:10:03][DEBUG] : message received on topic 'valetudo/rockrobo/map_data': b'\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\x03\xed\x9d\x07\x80\xd3d\xff\xc7\x8f\xe5\xb5\xa8\xf4P\x90\xa1\x88\x88\xb...
[2024-09-12 07:10:03][ERROR] : error on_message: 'utf-8' codec can't decode byte 0x8b in position 1: invalid start byte

Je te confirme, dans Découverte rien

Et voici les commandes de l’équipement

non là il n’y aura rien puisque l’équipement est déjà créé

je viens de mettre une nouvelle version beta pour avoir un peu plus de log

Voici les nouveaux logs. Désolé je ne peux les mettre en texte préformaté, cela fait trop de caractères.
MQTTDiscovery.txt (66,2 Ko)
MQTTDiscovery_daemon.txt (75,2 Ko)