@dirkhe
Hallo, ich habe das jetzt nochmal ausgiebig getestet.
Testfall 1: Raum1 repeat = 2, Raum2 repeat = 1, Ergebnis N.I.O (beide Räume werden nur einmal gesaugt)
Testfall 2: Raum1 repeat = 2, Raum2 repeat = 2, Ergebnis I.O
Testfall 3: Raum1 repeat = 1, Raum2 repeat = 2, Ergebnis I.O
Testfall 4: Raum1 repeat = 3, Raum2 repeat = 2, Ergebnis I.O
Entsprechend der Testfälle scheint es nur das Problem zu geben, wenn der zuletzt getriggerte Raum die repeat Angabe 1 hat. Dann wird dies anscheinend für die Räume davor überschrieben.
Mit mehr als zwei Räumen habe ich noch nicht getestet, sobald ich da noch N.I.O. Fälle habe, melde ich diese.
Anbei das DEBUG Log zu den einzelnen Testfällen:
2/1 = N.I.O.
2023-02-20 09:32:37.417 - debug: mihome-vacuum.0 (92015) command: repeat parent: room16
2023-02-20 09:32:38.908 - debug: mihome-vacuum.0 (92015) command: roomClean parent: room16
2023-02-20 09:32:38.910 - debug: mihome-vacuum.0 (92015) We are in onMessage:{"command":"cleanSegments","message":{"segments":[16],"channels":["mihome-vacuum.0.rooms.room16"]},"from":"system.adapter.mihome-vacuum.0","_id":96480001}
2023-02-20 09:32:38.910 - debug: mihome-vacuum.0 (92015) start Cleaning: 18 MObj: {"command":"cleanSegments","message":"16","from":"system.adapter.mihome-vacuum.0","_id":96480001,"segments":[16],"channels":["mihome-vacuum.0.rooms.room16"]}
2023-02-20 09:32:38.914 - info: mihome-vacuum.0 (92015) trigger cleaning segment 16
2023-02-20 09:32:38.914 - debug: mihome-vacuum.0 (92015) Message= {"id":8988,"method":"app_segment_clean","params":[{"segments":[16],"repeat":"2"}]}
2023-02-20 09:33:38.049 - debug: mihome-vacuum.0 (92015) command: roomClean parent: room20
2023-02-20 09:33:38.051 - debug: mihome-vacuum.0 (92015) We are in onMessage:{"command":"cleanSegments","message":{"segments":[20],"channels":["mihome-vacuum.0.rooms.room20"]},"from":"system.adapter.mihome-vacuum.0","_id":96480002}
2023-02-20 09:33:38.051 - debug: mihome-vacuum.0 (92015) start Cleaning: 18 MObj: {"command":"cleanSegments","message":"20","from":"system.adapter.mihome-vacuum.0","_id":96480002,"segments":[20],"channels":["mihome-vacuum.0.rooms.room20"]}
2023-02-20 09:33:38.051 - info: mihome-vacuum.0 (92015) should trigger cleaning segment 20, but is currently active(18). Add to queue
2023-02-20 09:37:36.628 - debug: mihome-vacuum.0 (92015) use clean trigger from Queue
2023-02-20 09:37:36.628 - debug: mihome-vacuum.0 (92015) We are in onMessage:{"command":"cleanSegments","message":"20","from":"system.adapter.mihome-vacuum.0","_id":96480002,"segments":[20],"channels":["mihome-vacuum.0.rooms.room20"],"info":"segment Flur Garderobe"}
2023-02-20 09:37:36.628 - debug: mihome-vacuum.0 (92015) start Cleaning: 18 MObj: {"command":"cleanSegments","message":"20","from":"system.adapter.mihome-vacuum.0","_id":96480002,"segments":[20],"channels":["mihome-vacuum.0.rooms.room20"],"info":"segment Flur Garderobe"}
2023-02-20 09:37:36.633 - info: mihome-vacuum.0 (92015) trigger cleaning segment 20
2023-02-20 09:37:36.633 - debug: mihome-vacuum.0 (92015) Message= {"id":9060,"method":"app_segment_clean","params":[20]}
2/2 = I.O.
2023-02-20 09:50:54.564 - debug: mihome-vacuum.0 (92015) command: repeat parent: room16
2023-02-20 09:50:57.298 - debug: mihome-vacuum.0 (92015) command: roomClean parent: room16
2023-02-20 09:50:57.301 - debug: mihome-vacuum.0 (92015) We are in onMessage:{"command":"cleanSegments","message":{"segments":[16],"channels":["mihome-vacuum.0.rooms.room16"]},"from":"system.adapter.mihome-vacuum.0","_id":96480003}
2023-02-20 09:50:57.301 - debug: mihome-vacuum.0 (92015) start Cleaning: 18 MObj: {"command":"cleanSegments","message":"16","from":"system.adapter.mihome-vacuum.0","_id":96480003,"segments":[16],"channels":["mihome-vacuum.0.rooms.room16"]}
2023-02-20 09:50:57.301 - info: mihome-vacuum.0 (92015) trigger cleaning segment 16
2023-02-20 09:50:57.301 - debug: mihome-vacuum.0 (92015) Message= {"id":9272,"method":"app_segment_clean","params":[{"segments":[16],"repeat":2}]}
2023-02-20 09:51:19.116 - debug: mihome-vacuum.0 (92015) command: repeat parent: room20
2023-02-20 09:51:20.039 - debug: mihome-vacuum.0 (92015) command: roomClean parent: room20
2023-02-20 09:51:20.042 - debug: mihome-vacuum.0 (92015) We are in onMessage:{"command":"cleanSegments","message":{"segments":[20],"channels":["mihome-vacuum.0.rooms.room20"]},"from":"system.adapter.mihome-vacuum.0","_id":96480004}
2023-02-20 09:51:20.042 - debug: mihome-vacuum.0 (92015) start Cleaning: 18 MObj: {"command":"cleanSegments","message":"20","from":"system.adapter.mihome-vacuum.0","_id":96480004,"segments":[20],"channels":["mihome-vacuum.0.rooms.room20"]}
2023-02-20 09:51:20.042 - info: mihome-vacuum.0 (92015) should trigger cleaning segment 20, but is currently active(18). Add to queue
2023-02-20 09:59:38.898 - debug: mihome-vacuum.0 (92015) use clean trigger from Queue
2023-02-20 09:59:38.898 - debug: mihome-vacuum.0 (92015) We are in onMessage:{"command":"cleanSegments","message":"20","from":"system.adapter.mihome-vacuum.0","_id":96480004,"segments":[20],"channels":["mihome-vacuum.0.rooms.room20"],"info":"segment Flur Garderobe"}
2023-02-20 09:59:38.898 - debug: mihome-vacuum.0 (92015) start Cleaning: 18 MObj: {"command":"cleanSegments","message":"20","from":"system.adapter.mihome-vacuum.0","_id":96480004,"segments":[20],"channels":["mihome-vacuum.0.rooms.room20"],"info":"segment Flur Garderobe"}
2023-02-20 09:59:38.900 - info: mihome-vacuum.0 (92015) trigger cleaning segment 20
2023-02-20 09:59:38.900 - debug: mihome-vacuum.0 (92015) Message= {"id":9400,"method":"app_segment_clean","params":[{"segments":[20],"repeat":2}]}
1/2 = I.O.
2023-02-20 10:09:48.253 - debug: mihome-vacuum.0 (92015) command: repeat parent: room16
2023-02-20 10:09:49.695 - debug: mihome-vacuum.0 (92015) command: repeat parent: room20
2023-02-20 10:10:18.671 - debug: mihome-vacuum.0 (92015) command: roomClean parent: room16
2023-02-20 10:10:18.674 - debug: mihome-vacuum.0 (92015) We are in onMessage:{"command":"cleanSegments","message":{"segments":[16],"channels":["mihome-vacuum.0.rooms.room16"]},"from":"system.adapter.mihome-vacuum.0","_id":96480007}
2023-02-20 10:10:18.674 - debug: mihome-vacuum.0 (92015) start Cleaning: 18 MObj: {"command":"cleanSegments","message":"16","from":"system.adapter.mihome-vacuum.0","_id":96480007,"segments":[16],"channels":["mihome-vacuum.0.rooms.room16"]}
2023-02-20 10:10:18.692 - info: mihome-vacuum.0 (92015) trigger cleaning segment 16
2023-02-20 10:10:18.693 - debug: mihome-vacuum.0 (92015) Message= {"id":9570,"method":"app_segment_clean","params":[16]}
2023-02-20 10:10:29.327 - debug: mihome-vacuum.0 (92015) command: roomClean parent: room20
2023-02-20 10:10:29.329 - debug: mihome-vacuum.0 (92015) We are in onMessage:{"command":"cleanSegments","message":{"segments":[20],"channels":["mihome-vacuum.0.rooms.room20"]},"from":"system.adapter.mihome-vacuum.0","_id":96480008}
2023-02-20 10:10:29.329 - debug: mihome-vacuum.0 (92015) start Cleaning: 18 MObj: {"command":"cleanSegments","message":"20","from":"system.adapter.mihome-vacuum.0","_id":96480008,"segments":[20],"channels":["mihome-vacuum.0.rooms.room20"]}
2023-02-20 10:10:29.329 - info: mihome-vacuum.0 (92015) should trigger cleaning segment 20, but is currently active(18). Add to queue
2023-02-20 10:14:29.288 - debug: mihome-vacuum.0 (92015) use clean trigger from Queue
2023-02-20 10:14:29.288 - debug: mihome-vacuum.0 (92015) We are in onMessage:{"command":"cleanSegments","message":"20","from":"system.adapter.mihome-vacuum.0","_id":96480008,"segments":[20],"channels":["mihome-vacuum.0.rooms.room20"],"info":"segment Flur Garderobe"}
2023-02-20 10:14:29.288 - debug: mihome-vacuum.0 (92015) start Cleaning: 18 MObj: {"command":"cleanSegments","message":"20","from":"system.adapter.mihome-vacuum.0","_id":96480008,"segments":[20],"channels":["mihome-vacuum.0.rooms.room20"],"info":"segment Flur Garderobe"}
2023-02-20 10:14:29.288 - debug: mihome-vacuum.0 (92015) Message= {"id":9628,"method":"get_network_info"}
2023-02-20 10:14:29.289 - info: mihome-vacuum.0 (92015) trigger cleaning segment 20
2023-02-20 10:14:29.289 - debug: mihome-vacuum.0 (92015) Message= {"id":9629,"method":"app_segment_clean","params":[{"segments":[20],"repeat":2}]}
3/2 = I.O.
2023-02-20 10:16:18.774 - debug: mihome-vacuum.0 (92015) command: repeat parent: room16
2023-02-20 10:16:48.128 - debug: mihome-vacuum.0 (92015) command: roomClean parent: room16
2023-02-20 10:16:48.398 - debug: mihome-vacuum.0 (92015) We are in onMessage:{"command":"cleanSegments","message":"16","from":"system.adapter.mihome-vacuum.0","_id":96480011,"segments":[16],"channels":["mihome-vacuum.0.rooms.room16"],"info":"segment Bad Kinder"}
2023-02-20 10:16:48.398 - debug: mihome-vacuum.0 (92015) start Cleaning: 18 MObj: {"command":"cleanSegments","message":"16","from":"system.adapter.mihome-vacuum.0","_id":96480011,"segments":[16],"channels":["mihome-vacuum.0.rooms.room16"],"info":"segment Bad Kinder"}
2023-02-20 10:16:48.400 - info: mihome-vacuum.0 (92015) trigger cleaning segment 16
2023-02-20 10:16:48.402 - debug: mihome-vacuum.0 (92015) Message= {"id":9664,"method":"app_segment_clean","params":[{"segments":[16],"repeat":3}]}
2023-02-20 10:17:12.323 - debug: mihome-vacuum.0 (92015) command: roomClean parent: room20
2023-02-20 10:17:12.325 - debug: mihome-vacuum.0 (92015) We are in onMessage:{"command":"cleanSegments","message":{"segments":[20],"channels":["mihome-vacuum.0.rooms.room20"]},"from":"system.adapter.mihome-vacuum.0","_id":96480012}
2023-02-20 10:17:12.325 - debug: mihome-vacuum.0 (92015) start Cleaning: 18 MObj: {"command":"cleanSegments","message":"20","from":"system.adapter.mihome-vacuum.0","_id":96480012,"segments":[20],"channels":["mihome-vacuum.0.rooms.room20"]}
2023-02-20 10:17:12.326 - info: mihome-vacuum.0 (92015) should trigger cleaning segment 20, but is currently active(18). Add to queue
2023-02-20 10:28:53.279 - debug: mihome-vacuum.0 (92015) use clean trigger from Queue
2023-02-20 10:28:53.279 - debug: mihome-vacuum.0 (92015) We are in onMessage:{"command":"cleanSegments","message":"20","from":"system.adapter.mihome-vacuum.0","_id":96480012,"segments":[20],"channels":["mihome-vacuum.0.rooms.room20"],"info":"segment Flur Garderobe"}
2023-02-20 10:28:53.279 - debug: mihome-vacuum.0 (92015) start Cleaning: 18 MObj: {"command":"cleanSegments","message":"20","from":"system.adapter.mihome-vacuum.0","_id":96480012,"segments":[20],"channels":["mihome-vacuum.0.rooms.room20"],"info":"segment Flur Garderobe"}
2023-02-20 10:28:53.279 - debug: mihome-vacuum.0 (92015) Message= {"id":9835,"method":"get_network_info"}
2023-02-20 10:28:53.280 - info: mihome-vacuum.0 (92015) trigger cleaning segment 20
2023-02-20 10:28:53.281 - debug: mihome-vacuum.0 (92015) Message= {"id":9836,"method":"app_segment_clean","params":[{"segments":[20],"repeat":2}]}
Wenn ich noch was liefern kann/soll, bitte kurze Rückmeldung.