Husqvarna automover go home?

Hello,
I just want to send the order to the grass cutter to go home when it’s raini…
Can you tell me how to send the order to go home ?
I have an automover 430 registred on HA.

Best regards
Thierry

Just before creating a topic I came across this old one.

So lets revive…

Yes, I can tell you how to send the 430(x) back to its dock or start again depending on a rain sensor.

For a few years now, the lawn gets mowed by the Husqvarna 430X, its connected in HA and I can see that it is mowing. But this old 430X doesnt have the capability to react when it starts to rain or when the rain has stopped.

I’ve been puzzeling how to fix this and never came up with a good solution till yesterday.
Yesterday was a perfect testing day, it rainend and then its stopped and so on.

The question was how to get this data and use it to tell my iGoat :smiley: to go home or start mowing again.

On my dashboard I got a card that show me when it starting to rain and when it is over.

its uses the neerslag integration: GitHub - aex351/home-assistant-neerslag-app: Neerslag app for Home Assistant. All-in-one package (Sensors + Card).

The thing with this integration is, its pretty darn accurate!

It uses two sensors:

  • neerslag_buienalarm_regen_data
  • neerslag_buienradar_regen_data

This data gets refreshed every x minutes.

Why not use this data to control the iGoat?

I came up with the following automation.

alias: "Garden: Control iGoat By Weather"
description: When its start to rain dock the iGoat.
trigger:
  - platform: template
    value_template: "{{ states('sensor.neerslag_buienalarm_regen_data') | float > 0.25 }}"
    id: DockiGoat
    alias: If sensor buienalarm tells it going to rain
  - platform: template
    value_template: "{{ states('sensor.neerslag_buienalarm_regen_data') | float < 0.25 }}"
    id: StartiGoat
    alias: If sensor buienalarm tells it stopped raining
condition:
  - condition: time
    after: "10:00:00"
    before: "20:00:00"
action:
  - choose:
      - conditions:
          - condition: trigger
            id: DockiGoat
          - condition: device
            device_id: 86c63a4a6430782bb77b50c25c1fc117
            domain: vacuum
            entity_id: vacuum.igoat
            type: is_cleaning
        sequence:
          - device_id: 86c63a4a6430782bb77b50c25c1fc117
            domain: vacuum
            entity_id: vacuum.igoat
            type: dock
      - conditions:
          - condition: trigger
            id: StartiGoat
          - condition: device
            device_id: 86c63a4a6430782bb77b50c25c1fc117
            domain: vacuum
            entity_id: vacuum.igoat
            type: is_docked
        sequence:
          - device_id: 86c63a4a6430782bb77b50c25c1fc117
            domain: vacuum
            entity_id: vacuum.igoat
            type: clean
mode: single

After all it is a pretty simple automation and it works.

When the sensor goes above 0.1mm of rain the iGoat will return to its dock, when the sensor drops under 0.1mm of rain it will start again. If the mower is on a schema and it starts after its ending time it wont go out and will start the next time the schedule tells it to go mow.

I hope this will help you (and others) to control the mower.

If anyone out there can finetune this automation and make it more efficient let me know!!

After running a day with this automation, I can tell it doesnt work flawless.

The thing is the neerslag sensors are update very frequently so the mower will go to its dock even when the sun is shining. It will provide data in the future so it can create a graph for the card.

We cannot use future data we need real-time data.

Another approach is needed.

For now I changed the used sensor into sensor.openweathermap_rain and see what happens.