Aufgrund derzeit hohem Spamaufkommens werden neue Nutzer sehr restriktiv behandelt. Nach kurzer "Bewährungszeit" hat man als normaler Nutzer weitreichende Rechte und benötigt auch kein Captcha mehr.
.
Nutzer, die sich danach dennoch als Spammer oder Trolle erweisen, können jederzeit wieder auf diesen Status zurückgesetzt oder gebannt werden.
Dasselbe gilt für Versuche, politische Überzeugungen kund zu tun, egal aus welcher Richtung diese kommen.
.
.:!: Achtung! Verwendet bitte für aktuelle Mäher bzw. falls ihr die Firmware eures Mähers kürzlich aktualisiert habt, den aktuellen Release-Candidate der Robonect-Firmware: https://fw.robonect.de/?latest Diese wird in ein paar Tagen als offizielle Firmware verfügbar sein. (Stand: 03.04.2024)

Get remaining time of current job?

Du möchtest Deinen Automower in Deine Hausautomatisierung einbinden oder eine eigene App entwicklen?
Hier wird diese offene Schnittstelle zum Robonect Hx Modul beschrieben.

Moderator: Lampi

phrusher
Forum-Anfänger
Beiträge: 9
Registriert: So 23. Jul 2017, 23:11
Mäher: Husqvarna Automower 330X
Firmware des Mähers (MSW): MSW 7.xx.xx
Herstellungsjahr: 2013
Robonect-Modul: Robonect Hx (Rev.4)
Robonect Firmware: 1.0beta6a

Get remaining time of current job?

Beitrag von phrusher »

Hi,

I've been trying to read through the documentation for the API but could not see any way to retrieve the remaining time or the end time of the current job. Is it possible somehow either through http or mqtt? There seem to be a little bit of documentation missing overall so I'm hoping it's OUT there somewhere but that I've just missed it :)

Benutzeravatar
shadowkiller
Forum-Veteran
Beiträge: 4475
Registriert: Do 11. Jan 2018, 08:42
Wohnort: Würzburg
Mäher: Husqvarna Automower 315
Firmware des Mähers (MSW): MSW 10.xx.xx
Herstellungsjahr: 2017 (Modell 2018)
Robonect-Modul: Robonect Hx (Rev.5)
Robonect Firmware: 1.3 (WLAN 1.7.4)
hat sich bedankt: 160 Male
wurde gedankt: 134 Male

Re: Get remaining time of current job?

Beitrag von shadowkiller »

hey,

maybe there is no possibility for retrieving the remaining time for mowing.

The Mower itself decides when to go back for loading because of the remaining battery charge. Maybe you have to know the border of remaining battery charge when mower goes back for loading. With this maybe it'll be possible to nearly predict the possible remaining mowing time from the point of actual battery charge by yourselfs automation systems calculations.
Anleitung zur Erstinstallation
--
Robonect® Dokumentation (= Gebrauchsanweisung = Bedienungsanleitung) und Support
--
Forum cooler nutzen: Hervorhebungen machen und Screenshots posten
--
Es wurde schon alles gefragt, nur noch nicht von allen. (frei nach Karl Valentin)

pirni
sehr erfahrener Forum-Nutzer
Beiträge: 115
Registriert: Fr 24. Feb 2017, 15:58
Mäher: Gardena R45Li
Firmware des Mähers (MSW): MSW 6.xx.xx
Herstellungsjahr: 2016
Robonect-Modul: Robonect Hx (Rev.3)
Robonect Firmware: v1.1b

Re: Get remaining time of current job?

Beitrag von pirni »

Guess He means something like:
Mowing time left: 37min
Regarding the Timer for that Day. No matter of charging time or breaks.
Should be possible to read the end time of the time schedule for Robonect

Benutzeravatar
shadowkiller
Forum-Veteran
Beiträge: 4475
Registriert: Do 11. Jan 2018, 08:42
Wohnort: Würzburg
Mäher: Husqvarna Automower 315
Firmware des Mähers (MSW): MSW 10.xx.xx
Herstellungsjahr: 2017 (Modell 2018)
Robonect-Modul: Robonect Hx (Rev.5)
Robonect Firmware: 1.3 (WLAN 1.7.4)
hat sich bedankt: 160 Male
wurde gedankt: 134 Male

Re: Get remaining time of current job?

Beitrag von shadowkiller »

phrusher hat geschrieben:...
could not see any way to retrieve the remaining time or the end time of the current job.
...
Do you mean end time of a Timer or end time of the actual mowing cycle inside a Timer-range?

Anyway, for each case the answer we can offer is what we just wrote.
Anybody else with another idea?
Anleitung zur Erstinstallation
--
Robonect® Dokumentation (= Gebrauchsanweisung = Bedienungsanleitung) und Support
--
Forum cooler nutzen: Hervorhebungen machen und Screenshots posten
--
Es wurde schon alles gefragt, nur noch nicht von allen. (frei nach Karl Valentin)

phrusher
Forum-Anfänger
Beiträge: 9
Registriert: So 23. Jul 2017, 23:11
Mäher: Husqvarna Automower 330X
Firmware des Mähers (MSW): MSW 7.xx.xx
Herstellungsjahr: 2013
Robonect-Modul: Robonect Hx (Rev.4)
Robonect Firmware: 1.0beta6a

Re: Get remaining time of current job?

Beitrag von phrusher »

Something basic and just getting the end time of the current job would be sufficient for me. Don't need to know if it's a scheduled job from the Timer or a manually placed "job".

The reason for this is that one side of the garden is a slope downwards towards the neighbors. Whenever the mower changes state in that slope, for example from "mowing" to "searching", it rolls down to their lawn and ends up outside our cutting area and stops there.

What I've done to solve this for now is to have a Service call the Robonect API to get the tilt of the mower and if the angle is low the Service sends a command for EOD. It works as long as my Timer ends at a specific time as the Service start calling it five minutes before the Timer schedule ends. But if I change the time of the Timer or create a manual job it won't work.

So what I'm hoping for is that whenever the mower starts cutting the Service will receive an event, probably a Status change through mqtt, and can then retrieve the expected end time and schedule the EOD command a few minutes before that planned end.

Makes sense?

Benutzeravatar
shadowkiller
Forum-Veteran
Beiträge: 4475
Registriert: Do 11. Jan 2018, 08:42
Wohnort: Würzburg
Mäher: Husqvarna Automower 315
Firmware des Mähers (MSW): MSW 10.xx.xx
Herstellungsjahr: 2017 (Modell 2018)
Robonect-Modul: Robonect Hx (Rev.5)
Robonect Firmware: 1.3 (WLAN 1.7.4)
hat sich bedankt: 160 Male
wurde gedankt: 134 Male

Re: Get remaining time of current job?

Beitrag von shadowkiller »

Ok. So this is the only answer, I can give you:
shadowkiller hat geschrieben:hey,

maybe there is no possibility for retrieving the remaining time for mowing.

The Mower itself decides when to go back for loading because of the remaining battery charge. Maybe you have to know the border of remaining battery charge when mower goes back for loading. With this maybe it'll be possible to nearly predict the possible remaining mowing time from the point of actual battery charge by yourselfs automation systems calculations.
If this will be not practical for you and nobody else has an idea, please ask „admin“ for assistance per forum private message.
Anleitung zur Erstinstallation
--
Robonect® Dokumentation (= Gebrauchsanweisung = Bedienungsanleitung) und Support
--
Forum cooler nutzen: Hervorhebungen machen und Screenshots posten
--
Es wurde schon alles gefragt, nur noch nicht von allen. (frei nach Karl Valentin)

phrusher
Forum-Anfänger
Beiträge: 9
Registriert: So 23. Jul 2017, 23:11
Mäher: Husqvarna Automower 330X
Firmware des Mähers (MSW): MSW 7.xx.xx
Herstellungsjahr: 2013
Robonect-Modul: Robonect Hx (Rev.4)
Robonect Firmware: 1.0beta6a

Re: Get remaining time of current job?

Beitrag von phrusher »

Making it return based on battery level is quite easy with the mqtt events but it's the planned end time I would need, to bad that there is no ready method to retrieve that.

Thanks for your suggestions though!

Benutzeravatar
shadowkiller
Forum-Veteran
Beiträge: 4475
Registriert: Do 11. Jan 2018, 08:42
Wohnort: Würzburg
Mäher: Husqvarna Automower 315
Firmware des Mähers (MSW): MSW 10.xx.xx
Herstellungsjahr: 2017 (Modell 2018)
Robonect-Modul: Robonect Hx (Rev.5)
Robonect Firmware: 1.3 (WLAN 1.7.4)
hat sich bedankt: 160 Male
wurde gedankt: 134 Male

Re: Get remaining time of current job?

Beitrag von shadowkiller »

I think you didn’t understand. Maybe because of my bad English...

The Mower decides itself(!) based on battery level, when to go back. There is no planned time!
But if you mean the end time of a Timer range, you can use this information. But there is nothing else.

Please ask admin.
Anleitung zur Erstinstallation
--
Robonect® Dokumentation (= Gebrauchsanweisung = Bedienungsanleitung) und Support
--
Forum cooler nutzen: Hervorhebungen machen und Screenshots posten
--
Es wurde schon alles gefragt, nur noch nicht von allen. (frei nach Karl Valentin)

phrusher
Forum-Anfänger
Beiträge: 9
Registriert: So 23. Jul 2017, 23:11
Mäher: Husqvarna Automower 330X
Firmware des Mähers (MSW): MSW 7.xx.xx
Herstellungsjahr: 2013
Robonect-Modul: Robonect Hx (Rev.4)
Robonect Firmware: 1.0beta6a

Re: Get remaining time of current job?

Beitrag von phrusher »

Yes, I understand fine. I think :) For example if the mower usually returns when the battery reaches 30% it's easy to listen to the battery events over mqtt and send an EOD command whenever the battery gets below 35%.

What I mean by planned end is the end of the Timer or the end of a manually placed job.

Benutzeravatar
shadowkiller
Forum-Veteran
Beiträge: 4475
Registriert: Do 11. Jan 2018, 08:42
Wohnort: Würzburg
Mäher: Husqvarna Automower 315
Firmware des Mähers (MSW): MSW 10.xx.xx
Herstellungsjahr: 2017 (Modell 2018)
Robonect-Modul: Robonect Hx (Rev.5)
Robonect Firmware: 1.3 (WLAN 1.7.4)
hat sich bedankt: 160 Male
wurde gedankt: 134 Male

Re: Get remaining time of current job?

Beitrag von shadowkiller »

phrusher hat geschrieben:
Fr 31. Aug 2018, 04:04
Yes, I understand fine.
Good!
...
What I mean by planned end is the end of the Timer or the end of a manually placed job.
And now, what is the problem? Use the end time and the actual time to calculate the remaining time by your software.
Anleitung zur Erstinstallation
--
Robonect® Dokumentation (= Gebrauchsanweisung = Bedienungsanleitung) und Support
--
Forum cooler nutzen: Hervorhebungen machen und Screenshots posten
--
Es wurde schon alles gefragt, nur noch nicht von allen. (frei nach Karl Valentin)

Antworten

Zurück zu „API für Robonect® Hx“