Roborock S5 V2 : sauvegarde + rotation carte

Je laisse @mounik34 te guider

Il faut que tu remplace cette commande par celle de ton virtuel : #[Séjour][Zones Aspirateur][nettoie_piece]#

Tu le mets dans le declencheur du scenario, et dans le scenario …


J ai peut être mal compris mais je pense avoir fait comme tu me dit

Dans le message du scenario, tu recherches ton virtuel en cliquant sur la zone rouge.
C’est ton virtuel où tu a enregistré les differentes zones avec la commande « nettoie_piece »


Pour mon déclencheur de scénario c est la même chose avec le 16 en moin

tout à fait tu ecris :
#[cellier][teste roborock][nettoie_piece]#

J ai fait mais quand je déclanche le scénario rien ne se passe

L’execution du scenario seule ne fonctionnera pas, il faut que tu cliques sur l’action depuis le dashboard pour tester :
e8e5d368-fce0-4fdb-a0cf-53e65b2f12da

Il te faut ce declencheur Provoqué dans le scenario :


Avec Evenement à rempalcer par la commande nettoie_piece de ton virtuel

J ai l impression d avoir fait comme tu m a dit


Sur mon dashboard j ai ça

Le virtuel a l’ai ok !
Là le probleme doit venir du scenario maintenant .

Pourtant le scénario j ai fait comm tu m a dit

C’est pas bon ! Dans ton scenario tu mets un seul bloc action, avec dans message seulement :
#[cellier][teste roborock][nettoie_piece]#

ne pense plus aux numéros, ils sont transmis par le virtuel

c’etait bien précisé ici

Merci sa marche très bien
Dsl d avoir était un boulet
Merci pour le temps passer avec moi

Tant que ca fonctionne maintenant c’est bon :wink:


C est fouillis faut je trouve comment organiser

Bonjour ,

Je n’arrive pas à créer la commande « Nettoyage par pièces ».
J’ai bien créé un nouveau scénario en remplaçant l’id par mon aspi.

Le log du scénario semble indiquer qu’il a bien fonctionné :

------------------------------------
[2021-03-21 05:54:13][SCENARIO] Start : Scenario lance manuellement.
[2021-03-21 05:54:13][SCENARIO] Exécution du sous-élément de type [action] : code
[2021-03-21 05:54:13][SCENARIO] Exécution d'un bloc code
[2021-03-21 05:54:15][SCENARIO] xiaomihomeCmd Object
(
[id:protected] => 11115
[logicalId:protected] => room_cleaning
[generic_type:protected] =>
[eqType:protected] => xiaomihome
[name:protected] => Nettoyage par pièces
[order:protected] =>
[type:protected] => action
[subType:protected] => message
[eqLogic_id:protected] => 258
[isHistorized:protected] => 0
[unite:protected] =>
[configuration:protected] => Array
(
[request] => app_segment_clean
[params] => [#message#]
)
[template:protected] => Array
(
[dashboard] => default
[mobile] => default
)
[display:protected] => Array
(
[showStatsOnmobile] => 0
[showStatsOndashboard] => 0
)
[value:protected] =>
[isVisible:protected] => 1
[alert:protected] =>
[_collectDate:protected] =>
[_valueDate:protected] =>
[_eqLogic:protected] => xiaomihome Object
(
[id:protected] => 258
[name:protected] => Aspi Roborock
[logicalId:protected] => 192.168.0.xxx
[generic_type:protected] =>
[object_id:protected] => 23
[eqType_name:protected] => xiaomihome
[isVisible:protected] => 1
[isEnable:protected] => 1
[configuration:protected] => {"createtime":"2019-09-28 08:44:14","ipwifi":"192.168.0.xxx","password":"xxx","applyDevice2":"vacuum2","applyDevice":"vacuum2","type":"wifi","model":"vacuum2","sid":"50e0","short_id":"0f8e","gateway":"192.168.0.xxx","updatetime":"2021-03-19 16:48:07","battery_type":"Batterie","batterytime":"2019-10-03 12:09:29","battery_danger_threshold":"","battery_warning_threshold":""}
[timeout:protected] =>
[category:protected] => {"heating":"0","security":"0","energy":"0","light":"0","automatism":"1","multimedia":"0","default":"0","opening":"0"}
[display:protected] => {"height":"292px","width":"392px","layout::dashboard":"table","layout::dashboard::table::nbLine":"3","layout::dashboard::table::nbColumn":"2","layout::dashboard::table::parameters":{"center":"1","styletd":"","styletable":"","text::td::1::1":"","style::td::1::1":"","text::td::1::2":"","style::td::1::2":"","text::td::2::1":"","style::td::2::1":"","text::td::2::2":"","style::td::2::2":"","text::td::3::1":"","style::td::3::1":"text-align: center;column-span:all;","text::td::3::2":"","style::td::3::2":""},"parameters":[],"layout::dashboard::table::cmd::7886::line":1,"layout::dashboard::table::cmd::7886::column":1,"layout::dashboard::table::cmd::7904::line":1,"layout::dashboard::table::cmd::7904::column":1,"layout::dashboard::table::cmd::7883::line":"1","layout::dashboard::table::cmd::7883::column":"2","layout::dashboard::table::cmd::7889::line":"1","layout::dashboard::table::cmd::7889::column":"2","layout::dashboard::table::cmd::7885::line":"1","layout::dashboard::table::cmd::7885::column":"2","layout::dashboard::table::cmd::7884::line":1,"layout::dashboard::table::cmd::7884::column":1,"layout::dashboard::table::cmd::7887::line":"1","layout::dashboard::table::cmd::7887::column":"2","layout::dashboard::table::cmd::7888::line":"1","layout::dashboard::table::cmd::7888::column":"2","layout::dashboard::table::cmd::7891::line":1,"layout::dashboard::table::cmd::7891::column":1,"layout::dashboard::table::cmd::7890::line":"2","layout::dashboard::table::cmd::7890::column":"2","layout::dashboard::table::cmd::7896::line":"2","layout::dashboard::table::cmd::7896::column":"1","layout::dashboard::table::cmd::7897::line":"2","layout::dashboard::table::cmd::7897::column":"1","layout::dashboard::table::cmd::7898::line":"2","layout::dashboard::table::cmd::7898::column":"1","layout::dashboard::table::cmd::7899::line":"2","layout::dashboard::table::cmd::7899::column":"1","layout::dashboard::table::cmd::7900::line":"2","layout::dashboard::table::cmd::7900::column":"1","layout::dashboard::table::cmd::7892::line":1,"layout::dashboard::table::cmd::7892::column":1,"layout::dashboard::table::cmd::7901::line":"2","layout::dashboard::table::cmd::7901::column":"1","layout::dashboard::table::cmd::7902::line":"3","layout::dashboard::table::cmd::7902::column":"1","layout::dashboard::table::cmd::7903::line":"3","layout::dashboard::table::cmd::7903::column":"1","layout::dashboard::table::cmd::7893::line":1,"layout::dashboard::table::cmd::7893::column":1,"layout::dashboard::table::cmd::7894::line":1,"layout::dashboard::table::cmd::7894::column":1,"layout::dashboard::table::cmd::7895::line":1,"layout::dashboard::table::cmd::7895::column":1}
[order:protected] => 1
[comment:protected] =>
[tags:protected] =>
[_debug:protected] =>
[_object:protected] =>
[_needRefreshWidget:protected] =>
[_timeoutUpdated:protected] =>
[_batteryUpdated:protected] =>
[_changed:protected] =>
)
[_needRefreshWidget:protected] =>
[_needRefreshAlert:protected] =>
[_changed:protected] =>
)
[2021-03-21 05:54:15][SCENARIO] Fin correcte du scénario
------------------------------------

Lorsque je vais dans le plugin et que je fais recréer les commandes, sans supprimer les anciennes, cela ne fait rien de plus … La commande 11115 n’apparait pas.

Auriez-vous une idée ?

[S50 : Firmware 3.5.8_002034]