NEWS
Adapter: Worx Landroid v2.x.x
-
@arteck Das in den Objekten
Die 3000 in der Log gibt es nicht -
@ralfengelberth nein welche ist denn jetzt die die zu DEINEM Worx gehört.. ich meine ist die sereinnummer
-
@arteck 20193019840102591286
-
@ralfengelberth zeimgal komplett mal die LOG meldung
oder hast du 2 von den mähern ? -
@arteck Ich habe nur einen Mäher
worx.0 4156 2021-06-18 22:58:26.817 warn State "worx.0.20193019840102593000.mower.online" has no existing object, this might lead to an error in future versions worx.0 4156 2021-06-18 22:57:26.764 warn State "worx.0.20193019840102593000.mower.online" has no existing object, this might lead to an error in future versions worx.0 4156 2021-06-18 22:56:26.814 warn State "worx.0.20193019840102593000.mower.online" has no existing object, this might lead to an error in future versions worx.0 4156 2021-06-18 22:55:26.775 warn State "worx.0.20193019840102593000.mower.online" has no existing object, this might lead to an error in future versions worx.0 4156 2021-06-18 22:54:26.812 warn State "worx.0.20193019840102593000.mower.online" has no existing object, this might lead to an error in future versions worx.0 4156 2021-06-18 22:53:26.800 warn State "worx.0.20193019840102593000.mower.online" has no existing object, this might lead to an error in future versions worx.0 4156 2021-06-18 22:52:26.808 warn State "worx.0.20193019840102593000.mower.online" has no existing object, this might lead to an error in future versions worx.0 4156 2021-06-18 22:51:26.770 warn State "worx.0.20193019840102593000.mower.online" has no existing object, this might lead to an error in future versions worx.0 4156 2021-06-18 22:50:26.774 warn State "worx.0.20193019840102593000.mower.online" has no existing object, this might lead to an error in future versions worx.0 4156 2021-06-18 22:50:05.782 warn State "worx.0.20193019840102593000.calendar.calJson2" has no existing object, this might lead to an error in future versions worx.0 4156 2021-06-18 22:50:05.781 warn State "worx.0.20193019840102593000.calendar.calJson" has no existing object, this might lead to an error in future versions worx.0 4156 2021-06-18 22:50:05.781 warn State "worx.0.20193019840102593000.mower.partyModus" has no existing object, this might lead to an error in future versions worx.0 4156 2021-06-18 22:50:05.781 warn State "worx.0.20193019840102593000.mower.oneTimeJson" has no existing object, this might lead to an error in future versions worx.0 4156 2021-06-18 22:50:05.780 warn State "worx.0.20193019840102593000.mower.oneTimeWorkTime" has no existing object, this might lead to an error in future versions worx.0 4156 2021-06-18 22:50:05.780 warn State "worx.0.20193019840102593000.mower.oneTimeWithBorder" has no existing object, this might lead to an error in future versions worx.0 4156 2021-06-18 22:50:05.779 warn State "worx.0.20193019840102593000.calendar.saturday2.borderCut" has no existing object, this might lead to an error in future versions worx.0 4156 2021-06-18 22:50:05.779 warn State "worx.0.20193019840102593000.calendar.saturday2.workTime" has no existing object, this might lead to an error in future versions worx.0 4156 2021-06-18 22:50:05.779 warn State "worx.0.20193019840102593000.calendar.saturday2.startTime" has no existing object, this might lead to an error in future versions worx.0 4156 2021-06-18 22:50:05.778 warn State "worx.0.20193019840102593000.calendar.friday2.borderCut" has no existing object, this might lead to an error in future versions worx.0 4156 2021-06-18 22:50:05.777 warn State "worx.0.20193019840102593000.calendar.friday2.workTime" has no existing object, this might lead to an error in future versions worx.0 4156 2021-06-18 22:50:05.777 warn State "worx.0.20193019840102593000.calendar.friday2.startTime" has no existing object, this might lead to an error in future versions worx.0 4156 2021-06-18 22:50:05.776 warn State "worx.0.20193019840102593000.calendar.thursday2.borderCut" has no existing object, this might lead to an error in future versions worx.0 4156 2021-06-18 22:50:05.776 warn State "worx.0.20193019840102593000.calendar.thursday2.workTime" has no existing object, this might lead to an error in future versions worx.0 4156 2021-06-18 22:50:05.774 warn State "worx.0.20193019840102593000.calendar.thursday2.startTime" has no existing object, this might lead to an error in future versions worx.0 4156 2021-06-18 22:50:05.773 warn State "worx.0.20193019840102593000.calendar.wednesday2.borderCut" has no existing object, this might lead to an error in future versions worx.0 4156 2021-06-18 22:50:05.772 warn State "worx.0.20193019840102593000.calendar.wednesday2.workTime" has no existing object, this might lead to an error in future versions worx.0 4156 2021-06-18 22:50:05.772 warn State "worx.0.20193019840102593000.calendar.wednesday2.startTime" has no existing object, this might lead to an error in future versions worx.0 4156 2021-06-18 22:50:05.771 warn State "worx.0.20193019840102593000.calendar.tuesday2.borderCut" has no existing object, this might lead to an error in future versions worx.0 4156 2021-06-18 22:50:05.771 warn State "worx.0.20193019840102593000.calendar.tuesday2.workTime" has no existing object, this might lead to an error in future versions worx.0 4156 2021-06-18 22:50:05.770 warn State "worx.0.20193019840102593000.calendar.tuesday2.startTime" has no existing object, this might lead to an error in future versions worx.0 4156 2021-06-18 22:50:05.770 warn State "worx.0.20193019840102593000.calendar.monday2.borderCut" has no existing object, this might lead to an error in future versions worx.0 4156 2021-06-18 22:50:05.769 warn State "worx.0.20193019840102593000.calendar.monday2.workTime" has no existing object, this might lead to an error in future versions worx.0 4156 2021-06-18 22:50:05.768 warn State "worx.0.20193019840102593000.calendar.monday2.startTime" has no existing object, this might lead to an error in future versions worx.0 4156 2021-06-18 22:50:05.768 warn State "worx.0.20193019840102593000.calendar.sunday2.borderCut" has no existing object, this might lead to an error in future versions worx.0 4156 2021-06-18 22:50:05.767 warn State "worx.0.20193019840102593000.calendar.sunday2.workTime" has no existing object, this might lead to an error in future versions worx.0 4156 2021-06-18 22:50:05.759 warn State "worx.0.20193019840102593000.calendar.sunday2.startTime" has no existing object, this might lead to an error in future versions worx.0 4156 2021-06-18 22:50:05.758 warn State "worx.0.20193019840102593000.calendar.saturday.borderCut" has no existing object, this might lead to an error in future versions worx.0 4156 2021-06-18 22:50:05.757 warn State "worx.0.20193019840102593000.calendar.saturday.workTime" has no existing object, this might lead to an error in future versions worx.0 4156 2021-06-18 22:50:05.757 warn State "worx.0.20193019840102593000.calendar.saturday.startTime" has no existing object, this might lead to an error in future versions worx.0 4156 2021-06-18 22:50:05.756 warn State "worx.0.20193019840102593000.calendar.friday.borderCut" has no existing object, this might lead to an error in future versions worx.0 4156 2021-06-18 22:50:05.755 warn State "worx.0.20193019840102593000.calendar.friday.workTime" has no existing object, this might lead to an error in future versions worx.0 4156 2021-06-18 22:50:05.753 warn State "worx.0.20193019840102593000.calendar.friday.startTime" has no existing object, this might lead to an error in future versions worx.0 4156 2021-06-18 22:50:05.753 warn State "worx.0.20193019840102593000.calendar.thursday.borderCut" has no existing object, this might lead to an error in future versions worx.0 4156 2021-06-18 22:50:05.752 warn State "worx.0.20193019840102593000.calendar.thursday.workTime" has no existing object, this might lead to an error in future versions worx.0 4156 2021-06-18 22:50:05.750 warn State "worx.0.20193019840102593000.calendar.thursday.startTime" has no existing object, this might lead to an error in future versions worx.0 4156 2021-06-18 22:50:05.750 warn State "worx.0.20193019840102593000.calendar.wednesday.borderCut" has no existing object, this might lead to an error in future versions worx.0 4156 2021-06-18 22:50:05.749 warn State "worx.0.20193019840102593000.calendar.wednesday.workTime" has no existing object, this might lead to an error in future versions worx.0 4156 2021-06-18 22:50:05.749 warn State "worx.0.20193019840102593000.calendar.wednesday.startTime" has no existing object, this might lead to an error in future versions worx.0 4156 2021-06-18 22:50:05.748 warn State "worx.0.20193019840102593000.calendar.tuesday.borderCut" has no existing object, this might lead to an error in future versions worx.0 4156 2021-06-18 22:50:05.747 warn State "worx.0.20193019840102593000.calendar.tuesday.workTime" has no existing object, this might lead to an error in future versions worx.0 4156 2021-06-18 22:50:05.747 warn State "worx.0.20193019840102593000.calendar.tuesday.startTime" has no existing object, this might lead to an error in future versions worx.0 4156 2021-06-18 22:50:05.745 warn State "worx.0.20193019840102593000.calendar.monday.borderCut" has no existing object, this might lead to an error in future versions worx.0 4156 2021-06-18 22:50:05.744 warn State "worx.0.20193019840102593000.calendar.monday.workTime" has no existing object, this might lead to an error in future versions worx.0 4156 2021-06-18 22:50:05.744 warn State "worx.0.20193019840102593000.calendar.monday.startTime" has no existing object, this might lead to an error in future versions worx.0 4156 2021-06-18 22:50:05.744 warn State "worx.0.20193019840102593000.calendar.sunday.borderCut" has no existing object, this might lead to an error in future versions worx.0 4156 2021-06-18 22:50:05.743 warn State "worx.0.20193019840102593000.calendar.sunday.workTime" has no existing object, this might lead to an error in future versions worx.0 4156 2021-06-18 22:50:05.743 warn State "worx.0.20193019840102593000.calendar.sunday.startTime" has no existing object, this might lead to an error in future versions worx.0 4156 2021-06-18 22:50:05.742 warn State "worx.0.20193019840102593000.mower.state" has no existing object, this might lead to an error in future versions worx.0 4156 2021-06-18 22:50:05.742 warn State "worx.0.20193019840102593000.areas.startSequence" has no existing object, this might lead to an error in future versions worx.0 4156 2021-06-18 22:50:05.742 warn State "worx.0.20193019840102593000.mower.batteryState" has no existing object, this might lead to an error in future versions worx.0 4156 2021-06-18 22:50:05.741 warn State "worx.0.20193019840102593000.mower.waitRain" has no existing object, this might lead to an error in future versions worx.0 4156 2021-06-18 22:50:05.741 warn State "worx.0.20193019840102593000.mower.firmware" has no existing object, this might lead to an error in future versions worx.0 4156 2021-06-18 22:50:05.740 warn State "worx.0.20193019840102593000.areas.actualAreaIndicator" has no existing object, this might lead to an error in future versions worx.0 4156 2021-06-18 22:50:05.740 warn State "worx.0.20193019840102593000.areas.actualArea" has no existing object, this might lead to an error in future versions worx.0 4156 2021-06-18 22:50:05.740 warn State "worx.0.20193019840102593000.areas.area_3" has no existing object, this might lead to an error in future versions worx.0 4156 2021-06-18 22:50:05.739 warn State "worx.0.20193019840102593000.areas.area_2" has no existing object, this might lead to an error in future versions worx.0 4156 2021-06-18 22:50:05.732 warn State "worx.0.20193019840102593000.areas.area_1" has no existing object, this might lead to an error in future versions worx.0 4156 2021-06-18 22:50:05.732 warn State "worx.0.20193019840102593000.areas.area_0" has no existing object, this might lead to an error in future versions worx.0 4156 2021-06-18 22:50:05.731 warn State "worx.0.20193019840102593000.mower.mowTimeExtend" has no existing object, this might lead to an error in future versions worx.0 4156 2021-06-18 22:50:05.730 warn State "worx.0.20193019840102593000.mower.mowerActive" has no existing object, this might lead to an error in future versions worx.0 4156 2021-06-18 22:50:05.730 warn State "worx.0.20193019840102593000.mower.wifiQuality" has no existing object, this might lead to an error in future versions worx.0 4156 2021-06-18 22:50:05.729 warn State "worx.0.20193019840102593000.mower.status" has no existing object, this might lead to an error in future versions worx.0 4156 2021-06-18 22:50:05.729 warn State "worx.0.20193019840102593000.mower.error" has no existing object, this might lead to an error in future versions worx.0 4156 2021-06-18 22:50:05.728 warn State "worx.0.20193019840102593000.mower.batteryTemperature" has no existing object, this might lead to an error in future versions worx.0 4156 2021-06-18 22:50:05.728 warn State "worx.0.20193019840102593000.mower.batteryVoltage" has no existing object, this might lead to an error in future versions worx.0 4156 2021-06-18 22:50:05.727 warn State "worx.0.20193019840102593000.mower.batteryCharging" has no existing object, this might lead to an error in future versions worx.0 4156 2021-06-18 22:50:05.726 warn State "worx.0.20193019840102593000.mower.batteryChargeCycle" has no existing object, this might lead to an error in future versions worx.0 4156 2021-06-18 22:50:05.726 warn State "worx.0.20193019840102593000.mower.direction" has no existing object, this might lead to an error in future versions worx.0 4156 2021-06-18 22:50:05.725 warn State "worx.0.20193019840102593000.mower.inclination" has no existing object, this might lead to an error in future versions worx.0 4156 2021-06-18 22:50:05.725 warn State "worx.0.20193019840102593000.mower.gradient" has no existing object, this might lead to an error in future versions worx.0 4156 2021-06-18 22:50:05.724 warn State "worx.0.20193019840102593000.mower.totalBladeTime" has no existing object, this might lead to an error in future versions worx.0 4156 2021-06-18 22:50:05.723 warn State "worx.0.20193019840102593000.mower.totalDistance" has no existing object, this might lead to an error in future versions worx.0 4156 2021-06-18 22:50:05.722 warn State "worx.0.20193019840102593000.mower.totalTime" has no existing object, this might lead to an error in future versions worx.0 4156 2021-06-18 22:49:26.779 warn State "worx.0.20193019840102593000.mower.online" has no existing object, this might lead to an error in future versions worx.0 4156 2021-06-18 22:48:26.762 warn State "worx.0.20193019840102593000.mower.online" has no existing object, this might lead to an error in future versions worx.0 4156 2021-06-18 22:47:26.753 warn State "worx.0.20193019840102593000.mower.online" has no existing object, this might lead to an error in future versions worx.0 4156 2021-06-18 22:46:26.781 warn State "worx.0.20193019840102593000.mower.online" has no existing object, this might lead to an error in future versions worx.0 4156 2021-06-18 22:45:26.780 warn State "worx.0.20193019840102593000.mower.online" has no existing object, this might lead to an error in future versions
-
@ralfengelberth schauml in der app unter Geräteinfo.. welches steht da ??
die 20193019840102591286 oder die andereich hoffe du hast den adapter mal neu gestartet ? nach dem löschen der objecte
-
@arteck In der APP steht auch diese 20193019840102591286
Nach dem Löschen habe ich den Adapter schon mehrmals neu gestartet -
@ralfengelberth hmm.. komisch.. wo kommt dann die 20193019840102593000 her ?
und du hast
adapter stop
objekte löschen
dann adapter startgemacht ?
wie gesagt kmisch ist dass die nummer die du angeblich gelöscht hast 20193019840102593000 nicht dir gehört..und da das die sereinnummer den robi ist..finde ich es erst recht komisch ..
dann geh version zurück...
-
@arteck wenn ich das wüste.
Bis vor dem Update hat ja noch alles funktioniert -
@arteck Ja schon min. 3 mal
-
@arteck Die Vorgänger-Versinon funktioniert
-
@ralfengelberth was heisst funktioniert
ist da der richtige 20193019840102591286 drin und der 20193019840102593000 taucht nicht im log auf ?
und was ist wenn du jetzt ein update machst ohne die Datenpunkte zu löschen -
@ralfengelberth In den letzten Tagen wurde in GitHub am Adapter im Zusammenhang mit der Anlage von Datenpunkten herumgeschraubt. Wag doch mal einen Schuss aus der Hüfte und probier mal die aktuelle GitHub-Version aus.
-
Hallo
Ich möchte im Adapter die ActualArea ändern, diese geht jedoch nach Änderung wieder auf den ursprünglichen Wert zurück. Ist das irgendwie möglich?Viele Grüße
Semmy -
@semmy actualArea ist ein schreibgeschützer Datenpunkt:
{ "type": "state", "common": { "name": "Actual area", "type": "number", "role": "value", "read": true, "write": false, "desc": "Show the current area" }, "native": {}, "from": "system.adapter.worx.0", "user": "system.user.admin", "ts": 1585126132100, "_id": "worx.9999999999.areas.actualArea", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.administrator" } }
-
@hsteinme sagte in Adapter: Worx Landroid:
@semmy actualArea ist ein schreibgeschützer Datenpunkt:
{ "type": "state", "common": { "name": "Actual area", "type": "number", "role": "value", "read": true, "write": false, "desc": "Show the current area" }, "native": {}, "from": "system.adapter.worx.0", "user": "system.user.admin", "ts": 1585126132100, "_id": "worx.9999999999.areas.actualArea", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.administrator" } }
Kann man den nicht einfach auf write= true setzen?
-
@semmy Klar kann man das. Aber der MQTT-Server wird trotzdem die Annahme verweigern und den vorherigen Wert wieder hinschreiben. Der Mäher lässt sich nun mal nicht von außen in seine Logik hineinpfuschen.
Aber sag doch mal,. was Du eigentlich erreichen möchtest. Vielleicht gibt es einen anderen Weg zu Deinem Ziel?
-
@hsteinme Wenn ich den Mäher zwecks Reinigung von der Ladestation entferne und danach wieder in die Station fahren lasse, wird immer die ActualArea geändert, das wollte ich vermeiden, weil er sonst eine Zone mit Mähen überspringt.
Gruß
Semmy -
actualArea ist ein Zeiger auf startSequence.
Beispiel:
- 3 Zonen
- actualArea = 1
- startSequence = [2,0,1,2,1,0,2,1,0,1]
Diese Konstellation besagt, dass die nächste Ausfahrt in Zone 0 beginnen wird.
Es ist nun Dein Wunsch, den Zeiger um eine Position nach links zu versetzen. Der Zeiger ist unbeweglich (= schreibgeschützt), die startSequenz aber nicht. Dein eigentliches Ziel kannst Du nun auch erreichen, indem Du startSequence um eine Position nach rechts rollierend verschiebst. Also im Beispiel oben:
vorher: [2,0,1,2,1,0,2,1,0,1] nachher: [1,2,0,1,2,1,0,2,1,0]
Diese Logik kannst Du in einem kleinen Skript realisieren, wobei Du natürlich an den Rändern der Reihe gut nachdenken musst.
-
@hsteinme sagte in Adapter: Worx Landroid:
Diese Logik kannst Du in einem kleinen Skript realisieren
So zum Beispiel:
'use strict'; const startSequenceKey = "worx.0.999...999.areas.startSequence"; var Arr = JSON.parse(getState(startSequenceKey).val); Arr.unshift(Arr.pop()); setState(startSequenceKey, JSON.stringify(Arr));
- In Zeile 3 wird der startSequence-String ausgelesen und in eine eindimensionale Tabelle konvertiert.
- Zeile 4: Arr.pop() liefert den rechten Wert der Tabelle und entfernt ihn dort, unshift stellt ihn an den Anfang der Tabelle.
- Zeile 5 konvertiert die Tabelle zurück in einen String der Art [x, ...,x] und stellt diesen wieder in startSequence ab.