martin95
(Dr. Martin Mundschenk)
May 14, 2021, 1:51pm
1
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
tension
(Sven)
May 19, 2021, 1:15pm
2
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):
Create a dummy switch item
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!
MikeTheTux
(Mike The Tux)
September 14, 2024, 9:05am
4
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
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.
MikeTheTux
(Mike The Tux)
October 12, 2024, 8:38pm
5