Automower missing Channels

Hi,

I configured the automower bridge and my corresponding automower-thing. Unlike the documentation, however, I only have the read channels and the write channels are missing. So I cannot send commands to the mower. Probably I have a thinking error somewhere. Does anyone know the solution?

Regards,
Martin

Hi,

I had the same problem. It seems like the channels are not available in the GUI.

However, the commands can be sent by a script.

My workaround (as example):

  1. Create a dummy switch item
  2. Create two rules, triggered by the dummy switch to run a script.

Script to start the mower:

val mowerActions = getActions("automower", "automower:automower:mybridge:myAutomower")
mowerActions.start(60)

Script to stop the mower:

val mowerActions = getActions("automower", "automower:automower:mybridge:myAutomower")
mowerActions.ParkUntilNextSchedule()

I hope that helps.

1 Like

Thanks Sven, this is what I was looking for (as well). That helped me - now I can start and stop my Automower without the Husqvarna App! :grinning: :+1:

Even if [automower] Add planner, calendar and command channels by marcinczeczko · Pull Request #8802 · openhab/openhab-addons · GitHub is implemented since a long time, the Command items are not working for me :frowning:

I added the mower using AutoDiscovery and linked the command channels to Items via GUI (not text files).
Binding tracing is set to TRACE/DEBUG.
If I toggle the Item, the following DEBUG message is not triggered:

            AutomowerCommand.fromChannelUID(channelUID).ifPresent(commandName -> {
                logger.debug("Sending command '{}'", commandName);
                getCommandValue(command).ifPresentOrElse(duration -> sendAutomowerCommand(commandName, duration),
                        () -> sendAutomowerCommand(commandName));
            })

It seems that there is somewhere an issues with the Channel → Command lookup.

The workaround via getActions() works.

Issue is fixed via [automower] Fix mower command channels by MikeTheTux · Pull Request #17539 · openhab/openhab-addons · GitHub