Cant send vacuum out to clean: Action xiaomi_miio.vacuum_clean_zone not found, configuration error on my (user) side? #313
Replies: 4 comments 4 replies
-
@borgqueenx it looks you manually configured the card.. map_modes:
- name: Zone cleanup
icon: mdi:select-drag
run_immediately: false
coordinates_rounding: true
coordinates_to_meters_divider: 100
selection_type: MANUAL_RECTANGLE
max_selections: 5
repeats_type: EXTERNAL
max_repeats: 3
service_call_schema:
service: mqtt.publish
evaluate_data_as_template: true
service_data:
topic: "[[topic]]/ZoneCleaningCapability/start/set"
payload: >-
{"zones": [{%for s in ('[[selection]]')|from_json %}{ "points": {"pA":
{ "x": {{s[0]}}, "y": {{s[1]}} }, "pB": { "x": {{s[2]}}, "y": {{s[1]}}
}, "pC": { "x": {{s[2]}}, "y": {{s[3]}} }, "pD": { "x": {{s[0]}}, "y":
{{s[3]}} } }, "iterations": [[repeats]]}{%if not
loop.last%},{%endif%}{%endfor%}]}
predefined_selections: []
variables: {}
- name: Pin & Go
icon: mdi:map-marker-plus
run_immediately: false
coordinates_rounding: true
coordinates_to_meters_divider: 100
selection_type: MANUAL_POINT
max_selections: 999
repeats_type: NONE
max_repeats: 1
service_call_schema:
service: mqtt.publish
service_data:
topic: "[[topic]]/GoToLocationCapability/go/set"
payload: "{ \"coordinates\": { \"x\": [[point_x]], \"y\": [[point_y]] } }"
predefined_selections: []
variables: {}
- name: Obstacles View
icon: mdi:map-marker
run_immediately: false
coordinates_rounding: true
coordinates_to_meters_divider: 100
selection_type: MANUAL_POINT
max_selections: 999
repeats_type: NONE
max_repeats: 1
service_call_schema:
service: mqtt_vacuum_camera.obstacle_view
service_data:
coordinates_x: "[[point_x]]"
coordinates_y: "[[point_y]]"
target:
entity_id: camera.valetudo_x40_ultra_occasionalmurkyguanaco_camera
variables: {}
additional_presets: []
I guess if you start a new card setup.
The clean segment topic is ```/MapSegmentationCapability/clean/set```` Hope this helps. |
Beta Was this translation helpful? Give feedback.
-
im trying my best to fix it with no luck. another weird issue is, probably with the xiaomi vacuum card, if i click create room configuration, it copies rooms into the yaml but also the previous rooms. i tried to re-create the card a few times now, and now i have like 70 rooms from clicking that button. EDIT: When doing the exact as you described above, the robot isnt responding. Instead, it shows a "ok", not giving a error. But it simply doesn't do anything. |
Beta Was this translation helpful? Give feedback.
-
Yes there's a problem with the card and it make the rooms several times |
Beta Was this translation helpful? Give feedback.
-
type: custom:xiaomi-vacuum-map-card
map_source:
camera: camera.valetudo_x40_ultra_occasionalmurkyguanaco_camera
calibration_source:
camera: true
entity: vacuum.valetudo_occasionalmurkyguanaco
vacuum_platform: Hypfer/Valetudo
internal_variables:
topic: valetudo/OccasionalMurkyGuanaco
map_modes:
- name: Zone cleanup
icon: mdi:select-drag
run_immediately: false
coordinates_rounding: true
coordinates_to_meters_divider: 100
selection_type: MANUAL_RECTANGLE
max_selections: 5
repeats_type: EXTERNAL
max_repeats: 3
service_call_schema:
service: mqtt.publish
evaluate_data_as_template: true
service_data:
topic: "[[topic]]/ZoneCleaningCapability/start/set"
payload: >-
{"zones": [{%for s in ('[[selection]]')|from_json %}{ "points": {"pA":
{ "x": {{s[0]}}, "y": {{s[1]}} }, "pB": { "x": {{s[2]}}, "y": {{s[1]}}
}, "pC": { "x": {{s[2]}}, "y": {{s[3]}} }, "pD": { "x": {{s[0]}}, "y":
{{s[3]}} } }, "iterations": [[repeats]]}{%if not
loop.last%},{%endif%}{%endfor%}]}
predefined_selections: []
variables: {}
- name: Pin & Go
icon: mdi:map-marker-plus
run_immediately: false
coordinates_rounding: true
coordinates_to_meters_divider: 100
selection_type: MANUAL_POINT
max_selections: 999
repeats_type: NONE
max_repeats: 1
service_call_schema:
service: mqtt.publish
service_data:
topic: "[[topic]]/GoToLocationCapability/go/set"
payload: "{ \"coordinates\": { \"x\": [[point_x]], \"y\": [[point_y]] } }"
predefined_selections: []
variables: {}
- name: Rooms
icon: mdi:floor-plan
run_immediately: false
coordinates_rounding: true
coordinates_to_meters_divider: 1000
selection_type: ROOM
max_selections: 999
repeats_type: EXTERNAL
max_repeats: 3
service_call_schema:
service: mqtt.publish
service_data:
topic: "[[topic]]/MapSegmentationCapability/clean/set"
payload: >-
{"segment_ids": [[selection]], "iterations": [[repeats]],
"customOrder": true}
- name: Obstacles View
icon: mdi:map-marker
run_immediately: false
coordinates_rounding: true
coordinates_to_meters_divider: 100
selection_type: MANUAL_POINT
max_selections: 999
repeats_type: NONE
max_repeats: 1
service_call_schema:
service: mqtt_vacuum_camera.obstacle_view
service_data:
coordinates_x: "[[point_x]]"
coordinates_y: "[[point_y]]"
target:
entity_id: camera.valetudo_x40_ultra_occasionalmurkyguanaco_camera
variables: {}
predefined_selections:
- id: "1"
icon:
name: mdi:broom
x: 2755
"y": 2700
label:
text: Kitchen
x: 2755
"y": 2700
offset_y: 35
outline:
- - 2460
- 2495
- - 3050
- 2495
- - 3050
- 2905
- - 2460
- 2905
- id: "2"
icon:
name: mdi:broom
x: 2457
"y": 2797
label:
text: Bathroom
x: 2457
"y": 2797
offset_y: 35
outline:
- - 2390
- 2690
- - 2525
- 2690
- - 2525
- 2905
- - 2390
- 2905
- id: "3"
icon:
name: mdi:broom
x: 3262
"y": 2740
label:
text: Living Room
x: 3262
"y": 2740
offset_y: 35
outline:
- - 3050
- 2545
- - 3475
- 2545
- - 3475
- 2935
- - 3050
- 2935
- id: "4"
icon:
name: mdi:broom
x: 2767
"y": 3127
label:
text: Hallway
x: 2767
"y": 3127
offset_y: 35
outline:
- - 2385
- 2890
- - 3150
- 2890
- - 3150
- 3365
- - 2385
- 3365
- id: "6"
icon:
name: mdi:broom
x: 3312
"y": 3137
label:
text: Dining Room
x: 3312
"y": 3137
offset_y: 35
outline:
- - 3150
- 2915
- - 3475
- 2915
- - 3475
- 3360
- - 3150
- 3360
- id: "7"
icon:
name: mdi:broom
x: 2822
"y": 3255
label:
text: Toilet
x: 2822
"y": 3255
offset_y: 35
outline:
- - 2785
- 3195
- - 2860
- 3195
- - 2860
- 3315
- - 2785
- 3315
- id: "8"
icon:
name: mdi:broom
x: 2582
"y": 3200
label:
text: Guest Room
x: 2582
"y": 3200
offset_y: 35
outline:
- - 2400
- 3035
- - 2765
- 3035
- - 2765
- 3365
- - 2400
- 3365
variables: {}
icons:
- icon: mdi:play
conditions:
- entity: vacuum.valetudo_occasionalmurkyguanaco
value_not: cleaning
- entity: vacuum.valetudo_occasionalmurkyguanaco
value_not: error
- entity: vacuum.valetudo_occasionalmurkyguanaco
value_not: returning
tooltip: Start
tap_action:
action: call-service
service: vacuum.start
service_data:
entity_id: vacuum.valetudo_occasionalmurkyguanaco
- icon: mdi:pause
conditions:
- entity: vacuum.valetudo_occasionalmurkyguanaco
value_not: docked
- entity: vacuum.valetudo_occasionalmurkyguanaco
value_not: idle
- entity: vacuum.valetudo_occasionalmurkyguanaco
value_not: error
- entity: vacuum.valetudo_occasionalmurkyguanaco
value_not: paused
tooltip: Pause
tap_action:
action: call-service
service: vacuum.pause
service_data:
entity_id: vacuum.valetudo_occasionalmurkyguanaco
- icon: mdi:stop
conditions:
- entity: vacuum.valetudo_occasionalmurkyguanaco
value_not: docked
- entity: vacuum.valetudo_occasionalmurkyguanaco
value_not: idle
- entity: vacuum.valetudo_occasionalmurkyguanaco
value_not: error
- entity: vacuum.valetudo_occasionalmurkyguanaco
value_not: paused
tooltip: Stop
tap_action:
action: call-service
service: vacuum.stop
service_data:
entity_id: vacuum.valetudo_occasionalmurkyguanaco
- icon: mdi:home-map-marker
conditions:
- entity: vacuum.valetudo_occasionalmurkyguanaco
value_not: docked
- entity: vacuum.valetudo_occasionalmurkyguanaco
value_not: returning
tooltip: Return to base
tap_action:
action: call-service
service: vacuum.return_to_base
service_data:
entity_id: vacuum.valetudo_occasionalmurkyguanaco
- icon: mdi:target-variant
conditions:
- entity: vacuum.valetudo_occasionalmurkyguanaco
value_not: docked
- entity: vacuum.valetudo_occasionalmurkyguanaco
value_not: error
- entity: vacuum.valetudo_occasionalmurkyguanaco
value_not: cleaning
- entity: vacuum.valetudo_occasionalmurkyguanaco
value_not: returning
tooltip: Clean spot
tap_action:
action: call-service
service: vacuum.clean_spot
service_data:
entity_id: vacuum.valetudo_occasionalmurkyguanaco
- icon: mdi:map-marker
tooltip: Locate
tap_action:
action: call-service
service: vacuum.locate
service_data:
entity_id: vacuum.valetudo_occasionalmurkyguanaco
- menu_id: fan_speed
icon: mdi:fan-alert
label: min
conditions:
- entity:vacuum.valetudo_occasionalmurkyguanaco
attribute: fan_speed
value: min
tooltip: Change fan speed
tap_action:
action: call-service
service: vacuum.set_fan_speed
service_data:
entity_id: vacuum.valetudo_occasionalmurkyguanaco
fan_speed: min
- menu_id: fan_speed
icon: mdi:fan-alert
label: Medium
conditions:
- entity: vacuum.valetudo_occasionalmurkyguanaco
attribute: fan_speed
value: medium
tooltip: Change fan speed
tap_action:
action: call-service
service: vacuum.set_fan_speed
service_data:
entity_id: vacuum.valetudo_occasionalmurkyguanaco
fan_speed: medium
- menu_id: fan_speed
icon: mdi:fan-alert
label: high
conditions:
- entity: vacuum.valetudo_occasionalmurkyguanaco
attribute: fan_speed
value: high
tooltip: Change fan speed
tap_action:
action: call-service
service: vacuum.set_fan_speed
service_data:
entity_id: vacuum.valetudo_occasionalmurkyguanaco
fan_speed: high
- menu_id: fan_speed
icon: mdi:fan-alert
label: max
conditions:
- entity: vacuum.valetudo_occasionalmurkyguanaco
attribute: fan_speed
value: max
tooltip: Change fan speed
tap_action:
action: call-service
service: vacuum.set_fan_speed
service_data:
entity_id: vacuum.valetudo_occasionalmurkyguanaco
fan_speed: max
- menu_id: fan_speed
icon: mdi:fan-alert
label: mop
conditions:
- entity: vacuum.valetudo_occasionalmurkyguanaco
attribute: fan_speed
value: mop
tooltip: Change fan speed
tap_action:
action: call-service
service: vacuum.set_fan_speed
service_data:
entity_id: vacuum.valetudo_occasionalmurkyguanaco
fan_speed: mop
- icon: mdi:fan-alert
conditions:
- entity: vacuum.valetudo_occasionalmurkyguanaco
attribute: fan_speed
value_not: min
- entity: vacuum.valetudo_occasionalmurkyguanaco
attribute: fan_speed
value_not: medium
- entity: vacuum.valetudo_occasionalmurkyguanaco
attribute: fan_speed
value_not: high
- entity: vacuum.valetudo_occasionalmurkyguanaco
attribute: fan_speed
value_not: max
- entity: vacuum.valetudo_occasionalmurkyguanaco
attribute: fan_speed
value_not: mop
tooltip: Change fan speed
tap_action:
action: call-service
service: vacuum.set_fan_speed
service_data:
entity_id: vacuum.vacuum_rockrobo
fan_speed: min
tiles:
- tile_id: battery_level
entity: vacuum.vacuum_rockrobo
label: Battery
attribute: battery_level
icon_source: vacuum.vacuum_rockrobo.attributes.battery_icon
unit: "%"
- tile_id: fan_speed
entity: vacuum.valetudo_occasionalmurkyguanaco
label: Fan speed
attribute: fan_speed
icon: mdi:fan
translations:
silent: Silent
standard: Standard
medium: Medium
turbo: Turbo
auto: Auto
gentle: Gentle
additional_presets: [] @borgqueenx please create a new empty car try to copy and past this and lets's see if the vacuum moves or not after that you can probably carefully add the customization you had.. by the way it is a little strange.. |
Beta Was this translation helpful? Give feedback.
-
No matter if i try to clean a room, pin and go or use a zone, my robot vacuum wont start working, since i moved house.
Im getting the errors:
Entity vacuum.valetudo_occasionalmurkyguanaco doesn't support the action vacuum.send_command.
Action xiaomi_miio.vacuum_goto not found.
Action xiaomi_miio.vacuum_clean_zone not found.
Here is my configuration:
Would appriciate any assistance to get this back working!
Beta Was this translation helpful? Give feedback.
All reactions