Mein Projekt CaSSAndRA zur Steuerung des Ardumowers

Ich habe jetzt die Zeiten einmal gestoppt:
Ich mache meine Einstellungen (Zahnrad), klicke auf die Karte. Nach 55 sek. erscheinen die Mähbahnen.
Dann klicke ich auf Start und nach weiteren 50 sek. erscheint in der Anzeige mow und der Mähmotor startet, dann fährt der Mäher zum ersten Punkt.
Bei der Berechnung der Mähbahnen sehe ich den drehenden Kreis, aber nachdem ich Start gedrückt habe sehe ich nichts und weiß erstmal nicht, ob etwas passiert. Das ist aber kein Problem für mich, wenn ich weiß, dass es länger dauert. Bei der Sunray-App hat es, zumindest über BT wesentlich länger gedauert!
Vielleicht wäre der waite-spinner auch beim Hochladen einsetzbar, aber das musst du wissen. Für mich wäre es nicht so wichtig.
Ich habe mir deinen Log-File angeschaut. Pro Request(handshake: request->response) schlückt http 1s. Bei deiner Karte sind es alleine Punkte zum Mäheln 60 Botschaften. Also 50s kommen hin. MQTT oder UART dürfte deutlich schneller sein.
 
Nachgang: Es braucht keinen Service-Daemon im Docker. Starten des Scripts reicht völlig.
Ich hatte es aus dem git nicht ganz verstanden wie ich es so installieren soll. -ich vermute aber, dass ich direkt mit ssh auf der synology arbeite?
Ich habe eine 718+ mit der dsm 7.1XXX (muss ich zu Hause nachsehen...)
Ich arbeite direkt auf der Weboberfläche der DSM, und habe den container händisch erstellt und eingerichtet. -Wenn ich den container nun starte, dann muss ich trotzdem nochmal auf die Console des containers gehen, un die app.py ausführen, damit cassandra erreichbar ist.
Dieses würde ich gern automatisch nach containerstart triggern, falls mal der Strom ausfällt oä...
 
Ich benutze einen großen Mähstern und würde gerne die Drehzahl verändern um den Stromverbrauch zu optimieren. Zudem habe ich eher einen Acker als einen Rasen da braucht man manchmal mehr Drehzahl 😂
 
Ich glaub einen Bug gefunden zu haben bin mir aber nicht sicher wie genau ich den trigger.
Maeher ist vorgestern gelaufen, hat gedockt. Er blieb die ganze Zeit eingeschaltet. Heute hab ich ich aus dem Haeuschen geholt zum Maehen jedoch hat er immer nach 10 sekunden oder so den Fix verloren / alle Satelitten auf 0. Hab den Maeher restarted ohne Erfolg.
Ich benutze NTRIP, die Position ist also relative. In den GPS daten hat er die Koordinaten als -1700 in Cassandra angezeigt. Nachdem ich Cassandra neu gestartet habe waren auch die GPS Koordinaten korrekt.
Was genau kann ich dir an Daten geben um den Bug zu finden?
 
Liegt wahrscheinlich daran, dass du zwischendurch einen anderen Client verwendest (Sunray App?, Andere Instanz von CaSSAndRA?) wo deine Position falsch hinterlegt ist. Nach dem restart hat ja CaSSAndRA die hinterlegte Position richtig übertragen.
 
Liegt wahrscheinlich daran, dass du zwischendurch einen anderen Client verwendest (Sunray App?, Andere Instanz von CaSSAndRA?) wo deine Position falsch hinterlegt ist. Nach dem restart hat ja CaSSAndRA die hinterlegte Position richtig übertragen.

Die Relative GPS Koordinaten für NTRiP sind ja auf dem Cassandra Server gespeichert, dürfte also keinen Unterschied machen ob ich mit dem iPad oder iPhone benutze um den Mower zu starten?
 
Ich hatte es aus dem git nicht ganz verstanden wie ich es so installieren soll. -ich vermute aber, dass ich direkt mit ssh auf der synology arbeite?
Ich habe eine 718+ mit der dsm 7.1XXX (muss ich zu Hause nachsehen...)
Ich arbeite direkt auf der Weboberfläche der DSM, und habe den container händisch erstellt und eingerichtet. -Wenn ich den container nun starte, dann muss ich trotzdem nochmal auf die Console des containers gehen, un die app.py ausführen, damit cassandra erreichbar ist.
Dieses würde ich gern automatisch nach containerstart triggern, falls mal der Strom ausfällt oä...
Alles auf der Konsole der Synology (oder eben jedem anderen Linux System mit installiertem Docker). Ziemlich einfach und unkompliziert. Und wenn man es nach Anleitung macht, wird auch alles automatisch gestartet.

Ein wenig Grundlagen muss man schon drauf haben. Sonst eben Finger weg vom Docker in diesem Fall. Das ist kein Image für Anfänger. Die Weboberfläche im DSM ist für sowas hier absolut ungeeignet und ist ohnehin in 95% der Fälle sinnlos. Wenn WebIf dann Portainer.
 
Zuletzt bearbeitet:
Alles auf der Konsole der Synology (oder eben jedem anderen Linux System mit installiertem Docker). Ziemlich einfach und unkompliziert. Und wenn man es nach Anleitung macht, wird auch alles automatisch gestartet.

Ein wenig Grundlagen muss man schon drauf haben. Sonst eben Finger weg vom Docker in diesem Fall. Das ist kein Image für Anfänger. Die Weboberfläche im DSM ist für sowas hier absolut ungeeignet und ist ohnehin in 95% der Fälle sinnlos. Wenn WebIf dann Portainer.
Ah ok, bis jetzt habe ich meine container immer über die Weboberfläche verwaltet. Ich werde mich in das Thema mal bisschen einlesen.
Mein händisch angelegter container funktioniert bis auf den automatischen start der app.py aber ansonsten top. :)
 
Neuerdings wird PWMMaxMow über den Einschaltzustand hinweg gespeichert. Ich weiß gerade nicht, was der Gedanke dahinter ist, wenn es eigentlich über einen config-Parameter fest eingestellt wird. Ich könnte mir vorstellen, dass es die Vorbereitung dafür ist, dieses künftig per App einstellbar zu machen. Von daher die Hoffnung: Abwarten, vielleicht geht es bald.
@EinEifnach inzwischen habe ich es auch ausprobiert. In Sunray 306 kann pwmMaxMow mit AT+C verändert werden. Du könntest diesen Parameter also auch aus Cassandra heraus verändern.

@all Inzwischen kann die Mähmotorgeschwindigkeit mit der Sunray-App verändert werden. Der Wert bleibt dann auch im Mäher erhalten und wird sogar gespeichert, so dass dieser erhalten bleibt, wenn der Mäher abgeschalten wird. Als Workaround könnt Ihr also den Wert per Sunray-App verändern und anschließend mit Cassandra mit dieser zuletzt eingestellten Geschwindigkeit mähen.
 
Bei mir läuft Cassandra sehr gut und ich bleibe dabei - Dankeschön dafür :)

Eine Frage und eine Anregung:

Wie ist das mit der Einstellung Fix timeout, behält er den Wert bei welcher einmal in der Sunray App eingestellt wurde?

Docking und Home löscht den aktuellen Vorgang und die Karte wird gelöscht. Es wäre perfekt wenn es einen Docking Button geben würde (vielleicht unter den Joystick Einstellungen), welcher nur den Mower zum Docken schickt (bsp Regen Naht, temporär Nachladen, keine Beaufsichtigung etc.) aber den aktuellen Auftrag wieder weiter ausführt, genauso als wenn er wegen Unterspannung zum Docken fährt. Ansonsten kriegt man den aktuellen Fortschritt wieder schlecht genau eingestellt.
 
Steht ja in der Doku im git (oder hier im Thread). Auszug aus dem Dockerfile:

Code:
CMD ["python3","app.py"]

Ah ich habe keine Dockerfile erstellt wie es im git steht sondern einfach alles manual gemacht per CMD.

Du scheinst dich ja aein wenig besser auszukennen... Wäre es möglich Windows 11 auf der Synology als VM zu installieren und das zu benutzen um dann Sketches zu erstellen / so gar den Mäher zu flashen?
 
Zuletzt bearbeitet:
Heute habe ich meinen Ardumower mähen lassen, bei ca. der Hälfte ist er mir in eine Exclusion gefahren. Ich habe ihn gestoppt und nun reaagiert er nicht mehr.
Cassandra zeigt mir weiterhin 'mow' an.

Log-Ausgabe:

Jul 01 16:25:36 mowerraspi python3[740]: 2023-07-01 16:25:36 DEBUG Calced angle speed: 1.74999685000567 Timedelta: 2.857148
Jul 01 16:25:36 mowerraspi python3[740]: 2023-07-01 16:25:36 DEBUG Calced angle: 306
Jul 01 16:25:36 mowerraspi python3[740]: 2023-07-01 16:25:36 DEBUG Backend: Calc data from state data frame
Jul 01 16:25:37 mowerraspi python3[740]: 2023-07-01 16:25:37 INFO Backend: Writing State-Data to the file
Jul 01 16:25:37 mowerraspi python3[740]: 2023-07-01 16:25:37 INFO Backend: State data are saved successfully in state.pickle
Jul 01 16:25:38 mowerraspi python3[740]: 2023-07-01 16:25:38 INFO Backend: Calced state data are saved successfully in calcstate.pickle
Jul 01 16:25:38 mowerraspi python3[740]: 2023-07-01 16:25:38 INFO Backend: Writing Statistics-Data to the file
Jul 01 16:25:38 mowerraspi python3[740]: 2023-07-01 16:25:38 INFO Backend: Statistics data are saved successfully in stats.pickle
Jul 01 16:25:38 mowerraspi python3[740]: 2023-07-01 16:25:38 INFO Backend: Calced statistics data are saved successfully in calcstats.pickle
Jul 01 16:25:38 mowerraspi python3[740]: 2023-07-01 16:25:38 INFO Backend: Performing get state http-request
Jul 01 16:25:38 mowerraspi python3[740]: 2023-07-01 16:25:38 DEBUG Calced checksumme: 0x13
Jul 01 16:25:38 mowerraspi python3[740]: 2023-07-01 16:25:38 DEBUG Encryption: true
Jul 01 16:25:38 mowerraspi python3[740]: 2023-07-01 16:25:38 DEBUG Data to be send: }1g0hlUmo
Jul 01 16:25:38 mowerraspi python3[740]: 2023-07-01 16:25:38 DEBUG Starting new HTTP connection (1): 192.168.1.29:80
Jul 01 16:25:39 mowerraspi python3[740]: 2023-07-01 16:25:39 DEBUG http://192.168.1.29:80 "POST / HTTP/1.1" 200 89
Jul 01 16:25:39 mowerraspi python3[740]: 2023-07-01 16:25:39 DEBUG Status code: 200
Jul 01 16:25:39 mowerraspi python3[740]: 2023-07-01 16:25:39 DEBUG Content: S,26.78,7.70,-12.87,-2.27,2,1,813,0.00,0,3.02,-12.90,0.02,36,1.22,34,-1514473,0.0>
Jul 01 16:25:39 mowerraspi python3[740]: 2023-07-01 16:25:39 DEBUG Recieved checksum:0xb4 Calced checksum: 0xb4
Jul 01 16:25:39 mowerraspi python3[740]: 2023-07-01 16:25:39 DEBUG Backend: Calc data from state data frame
Jul 01 16:25:41 mowerraspi python3[740]: 2023-07-01 16:25:41 INFO Backend: Performing get state http-request
Jul 01 16:25:41 mowerraspi python3[740]: 2023-07-01 16:25:41 DEBUG Calced checksumme: 0x13
Jul 01 16:25:41 mowerraspi python3[740]: 2023-07-01 16:25:41 DEBUG Encryption: true
Jul 01 16:25:41 mowerraspi python3[740]: 2023-07-01 16:25:41 DEBUG Data to be send: }1g0hlUmo
Jul 01 16:25:41 mowerraspi python3[740]: 2023-07-01 16:25:41 DEBUG Starting new HTTP connection (1): 192.168.1.29:80
Jul 01 16:25:42 mowerraspi python3[740]: 2023-07-01 16:25:42 DEBUG http://192.168.1.29:80 "POST / HTTP/1.1" 200 89
Jul 01 16:25:42 mowerraspi python3[740]: 2023-07-01 16:25:42 DEBUG Status code: 200
Jul 01 16:25:42 mowerraspi python3[740]: 2023-07-01 16:25:42 DEBUG Content: S,26.80,7.58,-12.89,-3.10,2,1,813,0.80,0,3.02,-12.90,0.02,36,1.08,33,-1514473,0.0>
Jul 01 16:25:42 mowerraspi python3[740]: 2023-07-01 16:25:42 DEBUG Recieved checksum:0xb7 Calced checksum: 0xb7
Jul 01 16:25:42 mowerraspi python3[740]: 2023-07-01 16:25:42 DEBUG Calced angle speed: 42.30950596961816 Timedelta: 2.765336
Jul 01 16:25:42 mowerraspi python3[740]: 2023-07-01 16:25:42 DEBUG Calced angle: 189
Jul 01 16:25:42 mowerraspi python3[740]: 2023-07-01 16:25:42 DEBUG Backend: Calc data from state data frame
Jul 01 16:25:44 mowerraspi python3[740]: 2023-07-01 16:25:44 INFO Backend: Performing get state http-request
Jul 01 16:25:44 mowerraspi python3[740]: 2023-07-01 16:25:44 DEBUG Calced checksumme: 0x13
Jul 01 16:25:44 mowerraspi python3[740]: 2023-07-01 16:25:44 DEBUG Encryption: true
Jul 01 16:25:44 mowerraspi python3[740]: 2023-07-01 16:25:44 DEBUG Data to be send: }1g0hlUmo
Jul 01 16:25:44 mowerraspi python3[740]: 2023-07-01 16:25:44 DEBUG Starting new HTTP connection (1): 192.168.1.29:80
Jul 01 16:25:45 mowerraspi python3[740]: 2023-07-01 16:25:45 DEBUG http://192.168.1.29:80 "POST / HTTP/1.1" 200 90
Jul 01 16:25:45 mowerraspi python3[740]: 2023-07-01 16:25:45 DEBUG Status code: 200
Jul 01 16:25:45 mowerraspi python3[740]: 2023-07-01 16:25:45 DEBUG Content: S,26.81,7.01,-12.90,-3.11,2,1,813,0.58,0,3.02,-12.90,0.02,36,0.88,33,-1514473,-0.>
Jul 01 16:25:45 mowerraspi python3[740]: 2023-07-01 16:25:45 DEBUG Recieved checksum:0xdd Calced checksum: 0xdd
Jul 01 16:25:45 mowerraspi python3[740]: 2023-07-01 16:25:45 DEBUG Calced angle speed: 2.8902078673625806 Timedelta: 2.767967
Jul 01 16:25:45 mowerraspi python3[740]: 2023-07-01 16:25:45 DEBUG Calced angle: 181
Jul 01 16:25:45 mowerraspi python3[740]: 2023-07-01 16:25:45 DEBUG Backend: Calc data from state data frame
Jul 01 16:25:47 mowerraspi python3[740]: 2023-07-01 16:25:47 INFO Backend: Performing get state http-request
Jul 01 16:25:47 mowerraspi python3[740]: 2023-07-01 16:25:47 DEBUG Calced checksumme: 0x13
Jul 01 16:25:47 mowerraspi python3[740]: 2023-07-01 16:25:47 DEBUG Encryption: true
Jul 01 16:25:47 mowerraspi python3[740]: 2023-07-01 16:25:47 DEBUG Data to be send: }1g0hlUmo
Jul 01 16:25:47 mowerraspi python3[740]: 2023-07-01 16:25:47 DEBUG Starting new HTTP connection (1): 192.168.1.29:80
Jul 01 16:25:48 mowerraspi python3[740]: 2023-07-01 16:25:48 DEBUG http://192.168.1.29:80 "POST / HTTP/1.1" 200 89
Jul 01 16:25:48 mowerraspi python3[740]: 2023-07-01 16:25:48 DEBUG Status code: 200
Jul 01 16:25:48 mowerraspi python3[740]: 2023-07-01 16:25:48 DEBUG Content: S,26.81,5.86,-12.92,3.08,2,1,813,0.50,0,3.02,-12.90,0.02,36,0.76,33,-1514473,-0.0>
Jul 01 16:25:48 mowerraspi python3[740]: 2023-07-01 16:25:48 DEBUG Recieved checksum:0xba Calced checksum: 0xba
Jul 01 16:25:48 mowerraspi python3[740]: 2023-07-01 16:25:48 DEBUG Calced angle speed: 0.0 Timedelta: 2.956608
Jul 01 16:25:48 mowerraspi python3[740]: 2023-07-01 16:25:48 DEBUG Calced angle: 181
Jul 01 16:25:48 mowerraspi python3[740]: 2023-07-01 16:25:48 DEBUG Backend: Calc data from state data frame
Jul 01 16:25:50 mowerraspi python3[740]: 2023-07-01 16:25:50 INFO Backend: Performing get state http-request
Jul 01 16:25:50 mowerraspi python3[740]: 2023-07-01 16:25:50 DEBUG Calced checksumme: 0x13
Jul 01 16:25:50 mowerraspi python3[740]: 2023-07-01 16:25:50 DEBUG Encryption: true
Jul 01 16:25:50 mowerraspi python3[740]: 2023-07-01 16:25:50 DEBUG Data to be send: }1g0hlUmo
Jul 01 16:25:50 mowerraspi python3[740]: 2023-07-01 16:25:50 DEBUG Starting new HTTP connection (1): 192.168.1.29:80
Jul 01 16:25:51 mowerraspi python3[740]: 2023-07-01 16:25:51 DEBUG http://192.168.1.29:80 "POST / HTTP/1.1" 200 89
Jul 01 16:25:51 mowerraspi python3[740]: 2023-07-01 16:25:51 DEBUG Status code: 200
Jul 01 16:25:51 mowerraspi python3[740]: 2023-07-01 16:25:51 DEBUG Content: S,26.82,4.69,-12.91,3.13,2,1,813,0.41,0,3.02,-12.90,0.02,36,0.64,28,-1514473,-0.0>
Jul 01 16:25:51 mowerraspi python3[740]: 2023-07-01 16:25:51 DEBUG Recieved checksum:0xb6 Calced checksum: 0xb6
Jul 01 16:25:51 mowerraspi python3[740]: 2023-07-01 16:25:51 DEBUG Calced angle speed: 0.3487970165298394 Timedelta: 2.866997
Jul 01 16:25:51 mowerraspi python3[740]: 2023-07-01 16:25:51 DEBUG Calced angle: 180
Jul 01 16:25:51 mowerraspi python3[740]: 2023-07-01 16:25:51 DEBUG Backend: Calc data from state data frame
Jul 01 16:25:53 mowerraspi python3[740]: 2023-07-01 16:25:53 INFO Backend: Performing get state http-request
Jul 01 16:25:53 mowerraspi python3[740]: 2023-07-01 16:25:53 DEBUG Calced checksumme: 0x13
Jul 01 16:25:53 mowerraspi python3[740]: 2023-07-01 16:25:53 DEBUG Encryption: true
Jul 01 16:25:53 mowerraspi python3[740]: 2023-07-01 16:25:53 DEBUG Data to be send: }1g0hlUmo
Jul 01 16:25:53 mowerraspi python3[740]: 2023-07-01 16:25:53 DEBUG Starting new HTTP connection (1): 192.168.1.29:80
Jul 01 16:25:53 mowerraspi python3[740]: 2023-07-01 16:25:53 DEBUG http://192.168.1.29:80 "POST / HTTP/1.1" 200 90
Jul 01 16:25:53 mowerraspi python3[740]: 2023-07-01 16:25:53 DEBUG Status code: 200
Jul 01 16:25:53 mowerraspi python3[740]: 2023-07-01 16:25:53 DEBUG Content: S,26.82,3.62,-12.90,-3.11,2,1,813,0.28,0,3.02,-12.90,0.02,35,0.59,29,-1514473,-0.>
Jul 01 16:25:53 mowerraspi python3[740]: 2023-07-01 16:25:53 DEBUG Recieved checksum:0xe0 Calced checksum: 0xe0
Jul 01 16:25:53 mowerraspi python3[740]: 2023-07-01 16:25:53 DEBUG Calced angle speed: 0.3536237952037298 Timedelta: 2.827864
Jul 01 16:25:53 mowerraspi python3[740]: 2023-07-01 16:25:53 DEBUG Calced angle: 179
Jul 01 16:25:54 mowerraspi python3[740]: 2023-07-01 16:25:54 DEBUG Backend: Calc data from state data frame
Jul 01 16:25:56 mowerraspi python3[740]: 2023-07-01 16:25:56 INFO Backend: Performing get state http-request
Jul 01 16:25:56 mowerraspi python3[740]: 2023-07-01 16:25:56 DEBUG Calced checksumme: 0x13
Jul 01 16:25:56 mowerraspi python3[740]: 2023-07-01 16:25:56 DEBUG Encryption: true
Jul 01 16:25:56 mowerraspi python3[740]: 2023-07-01 16:25:56 DEBUG Data to be send: }1g0hlUmo
Jul 01 16:25:56 mowerraspi python3[740]: 2023-07-01 16:25:56 DEBUG Starting new HTTP connection (1): 192.168.1.29:80
Jul 01 16:25:56 mowerraspi python3[740]: 2023-07-01 16:25:56 DEBUG http://192.168.1.29:80 "POST / HTTP/1.1" 200 90
Jul 01 16:25:56 mowerraspi python3[740]: 2023-07-01 16:25:56 DEBUG Status code: 200
Jul 01 16:25:56 mowerraspi python3[740]: 2023-07-01 16:25:56 DEBUG Content: S,26.83,3.15,-12.90,-2.97,2,1,813,0.31,0,3.02,-12.90,0.02,35,0.51,29,-1514473,-0.>
Jul 01 16:25:56 mowerraspi python3[740]: 2023-07-01 16:25:56 DEBUG Recieved checksum:0xde Calced checksum: 0xde
Jul 01 16:25:57 mowerraspi python3[740]: 2023-07-01 16:25:57 DEBUG Calced angle speed: 0.3468612697134267 Timedelta: 2.882997
Jul 01 16:25:57 mowerraspi python3[740]: 2023-07-01 16:25:57 DEBUG Calced angle: 180
Jul 01 16:25:57 mowerraspi python3[740]: 2023-07-01 16:25:57 DEBUG Backend: Calc data from state data frame
Jul 01 16:25:59 mowerraspi python3[740]: 2023-07-01 16:25:59 INFO Backend: Performing get state http-request
Jul 01 16:25:59 mowerraspi python3[740]: 2023-07-01 16:25:59 DEBUG Calced checksumme: 0x13
Jul 01 16:25:59 mowerraspi python3[740]: 2023-07-01 16:25:59 DEBUG Encryption: true
Jul 01 16:25:59 mowerraspi python3[740]: 2023-07-01 16:25:59 DEBUG Data to be send: }1g0hlUmo
Jul 01 16:25:59 mowerraspi python3[740]: 2023-07-01 16:25:59 DEBUG Starting new HTTP connection (1): 192.168.1.29:80
Jul 01 16:26:00 mowerraspi python3[740]: 2023-07-01 16:26:00 DEBUG http://192.168.1.29:80 "POST / HTTP/1.1" 200 89
Jul 01 16:26:00 mowerraspi python3[740]: 2023-07-01 16:26:00 DEBUG Status code: 200
Jul 01 16:26:00 mowerraspi python3[740]: 2023-07-01 16:26:00 DEBUG Content: S,26.84,2.99,-12.91,2.27,2,1,815,0.29,0,3.42,-12.50,0.02,37,0.60,31,-1514473,-0.0>
Jul 01 16:26:00 mowerraspi python3[740]: 2023-07-01 16:26:00 DEBUG Recieved checksum:0xbc Calced checksum: 0xbc
Jul 01 16:26:00 mowerraspi python3[740]: 2023-07-01 16:26:00 DEBUG Calced angle speed: 1.3348902603403103 Timedelta: 2.996501
Jul 01 16:26:00 mowerraspi python3[740]: 2023-07-01 16:26:00 DEBUG Calced angle: 184
Jul 01 16:26:00 mowerraspi python3[740]: 2023-07-01 16:26:00 DEBUG Backend: Calc data from state data frame
Jul 01 16:26:00 mowerraspi python3[740]: 2023-07-01 16:26:00 INFO Backend: Performing get stats http-request
Jul 01 16:26:00 mowerraspi python3[740]: 2023-07-01 16:26:00 DEBUG Calced checksumme: 0x14
Jul 01 16:26:00 mowerraspi python3[740]: 2023-07-01 16:26:00 DEBUG Encryption: true
Jul 01 16:26:00 mowerraspi python3[740]: 2023-07-01 16:26:00 DEBUG Data to be send: }1g1hlUmp
Jul 01 16:26:00 mowerraspi python3[740]: 2023-07-01 16:26:00 DEBUG Starting new HTTP connection (1): 192.168.1.29:80
Jul 01 16:26:00 mowerraspi python3[740]: 2023-07-01 16:26:00 DEBUG http://192.168.1.29:80 "POST / HTTP/1.1" 200 103
Jul 01 16:26:00 mowerraspi python3[740]: 2023-07-01 16:26:00 DEBUG Status code: 200
Jul 01 16:26:00 mowerraspi python3[740]: 2023-07-01 16:26:00 DEBUG Content: T,1383,0,6408,45,6363,11,1185.21,1.97,0,998.00,998.00,5,0,0.02,1024,0,1,10,202399>
Jul 01 16:26:00 mowerraspi python3[740]: 2023-07-01 16:26:00 DEBUG Recieved checksum:0x92 Calced checksum: 0x92
Jul 01 16:26:00 mowerraspi python3[740]: 2023-07-01 16:26:00 DEBUG Backend: Calc data from stats data frame
Jul 01 16:26:02 mowerraspi python3[740]: 2023-07-01 16:26:02 INFO Backend: Performing get state http-request
Jul 01 16:26:02 mowerraspi python3[740]: 2023-07-01 16:26:02 DEBUG Calced checksumme: 0x13
Jul 01 16:26:02 mowerraspi python3[740]: 2023-07-01 16:26:02 DEBUG Encryption: true
Jul 01 16:26:02 mowerraspi python3[740]: 2023-07-01 16:26:02 DEBUG Data to be send: }1g0hlUmo
Jul 01 16:26:02 mowerraspi python3[740]: 2023-07-01 16:26:02 DEBUG Starting new HTTP connection (1): 192.168.1.29:80
Jul 01 16:26:03 mowerraspi python3[740]: 2023-07-01 16:26:03 DEBUG http://192.168.1.29:80 "POST / HTTP/1.1" 200 89
Jul 01 16:26:03 mowerraspi python3[740]: 2023-07-01 16:26:03 DEBUG Status code: 200
Jul 01 16:26:03 mowerraspi python3[740]: 2023-07-01 16:26:03 DEBUG Content: S,26.84,3.01,-12.88,0.85,2,1,815,0.70,0,3.42,-12.50,0.02,36,0.63,32,-1514473,-0.0>
Jul 01 16:26:03 mowerraspi python3[740]: 2023-07-01 16:26:03 DEBUG Recieved checksum:0xb4 Calced checksum: 0xb4
Jul 01 16:26:03 mowerraspi python3[740]: 2023-07-01 16:26:03 DEBUG Backend: Calc data from state data frame
Jul 01 16:26:05 mowerraspi python3[740]: 2023-07-01 16:26:05 INFO Backend: Performing get state http-request
Jul 01 16:26:05 mowerraspi python3[740]: 2023-07-01 16:26:05 DEBUG Calced checksumme: 0x13
Jul 01 16:26:05 mowerraspi python3[740]: 2023-07-01 16:26:05 DEBUG Encryption: true
Jul 01 16:26:05 mowerraspi python3[740]: 2023-07-01 16:26:05 DEBUG Data to be send: }1g0hlUmo
Jul 01 16:26:05 mowerraspi python3[740]: 2023-07-01 16:26:05 DEBUG Starting new HTTP connection (1): 192.168.1.29:80
Jul 01 16:26:06 mowerraspi python3[740]: 2023-07-01 16:26:06 DEBUG http://192.168.1.29:80 "POST / HTTP/1.1" 200 89
Jul 01 16:26:06 mowerraspi python3[740]: 2023-07-01 16:26:06 DEBUG Status code: 200
Jul 01 16:26:06 mowerraspi python3[740]: 2023-07-01 16:26:06 DEBUG Content: S,26.85,3.23,-12.67,0.70,2,1,815,0.87,0,3.42,-12.50,0.02,37,0.55,33,-1514473,-0.0>
Jul 01 16:26:06 mowerraspi python3[740]: 2023-07-01 16:26:06 DEBUG Recieved checksum:0xba Calced checksum: 0xba
Jul 01 16:26:06 mowerraspi python3[740]: 2023-07-01 16:26:06 DEBUG Calced angle speed: 47.19291486027358 Timedelta: 2.966547
Jul 01 16:26:06 mowerraspi python3[740]: 2023-07-01 16:26:06 DEBUG Calced angle: 44
Jul 01 16:26:06 mowerraspi python3[740]: 2023-07-01 16:26:06 DEBUG Backend: Calc data from state data frame
Jul 01 16:26:08 mowerraspi python3[740]: 2023-07-01 16:26:08 INFO Backend: Performing get state http-request
Jul 01 16:26:08 mowerraspi python3[740]: 2023-07-01 16:26:08 DEBUG Calced checksumme: 0x13
Jul 01 16:26:08 mowerraspi python3[740]: 2023-07-01 16:26:08 DEBUG Encryption: true
Jul 01 16:26:08 mowerraspi python3[740]: 2023-07-01 16:26:08 DEBUG Data to be send: }1g0hlUmo
Jul 01 16:26:08 mowerraspi python3[740]: 2023-07-01 16:26:08 DEBUG Starting new HTTP connection (1): 192.168.1.29:80
Jul 01 16:26:09 mowerraspi python3[740]: 2023-07-01 16:26:09 DEBUG http://192.168.1.29:80 "POST / HTTP/1.1" 200 89
Jul 01 16:26:09 mowerraspi python3[740]: 2023-07-01 16:26:09 DEBUG Status code: 200
Jul 01 16:26:09 mowerraspi python3[740]: 2023-07-01 16:26:09 DEBUG Content: S,26.85,3.41,-12.50,0.75,2,1,816,0.73,0,8.28,-12.50,0.02,37,0.51,33,-1514473,-0.0>
Jul 01 16:26:09 mowerraspi python3[740]: 2023-07-01 16:26:09 DEBUG Recieved checksum:0xb7 Calced checksum: 0xb7
Jul 01 16:26:09 mowerraspi python3[740]: 2023-07-01 16:26:09 DEBUG Calced angle speed: 0.3492076130053296 Timedelta: 2.863626
Jul 01 16:26:09 mowerraspi python3[740]: 2023-07-01 16:26:09 DEBUG Calced angle: 43
Jul 01 16:26:09 mowerraspi python3[740]: 2023-07-01 16:26:09 DEBUG Backend: Calc data from state data frame
Jul 01 16:26:11 mowerraspi python3[740]: 2023-07-01 16:26:11 INFO Backend: Performing get state http-request
Jul 01 16:26:11 mowerraspi python3[740]: 2023-07-01 16:26:11 DEBUG Calced checksumme: 0x13
Jul 01 16:26:11 mowerraspi python3[740]: 2023-07-01 16:26:11 DEBUG Encryption: true
Jul 01 16:26:11 mowerraspi python3[740]: 2023-07-01 16:26:11 DEBUG Data to be send: }1g0hlUmo
Jul 01 16:26:11 mowerraspi python3[740]: 2023-07-01 16:26:11 DEBUG Starting new HTTP connection (1): 192.168.1.29:80
Jul 01 16:26:12 mowerraspi python3[740]: 2023-07-01 16:26:12 DEBUG http://192.168.1.29:80 "POST / HTTP/1.1" 200 90
Jul 01 16:26:12 mowerraspi python3[740]: 2023-07-01 16:26:12 DEBUG Status code: 200
Jul 01 16:26:12 mowerraspi python3[740]: 2023-07-01 16:26:12 DEBUG Content: S,26.86,3.58,-12.49,-0.08,2,1,816,0.57,0,8.28,-12.50,0.02,37,0.52,34,-1514473,-0.>
Jul 01 16:26:12 mowerraspi python3[740]: 2023-07-01 16:26:12 DEBUG Recieved checksum:0xf6 Calced checksum: 0xf6
Jul 01 16:26:12 mowerraspi python3[740]: 2023-07-01 16:26:12 DEBUG Calced angle speed: 14.320831009181802 Timedelta: 2.793134
Jul 01 16:26:12 mowerraspi python3[740]: 2023-07-01 16:26:12 DEBUG Calced angle: 3
Jul 01 16:26:12 mowerraspi python3[740]: 2023-07-01 16:26:12 DEBUG Backend: Calc data from state data frame
Jul 01 16:26:14 mowerraspi python3[740]: 2023-07-01 16:26:14 INFO Backend: Performing get state http-request
Jul 01 16:26:14 mowerraspi python3[740]: 2023-07-01 16:26:14 DEBUG Calced checksumme: 0x13
Jul 01 16:26:14 mowerraspi python3[740]: 2023-07-01 16:26:14 DEBUG Encryption: true
Jul 01 16:26:14 mowerraspi python3[740]: 2023-07-01 16:26:14 DEBUG Data to be send: }1g0hlUmo
Jul 01 16:26:14 mowerraspi python3[740]: 2023-07-01 16:26:14 DEBUG Starting new HTTP connection (1): 192.168.1.29:80
Jul 01 16:26:15 mowerraspi python3[740]: 2023-07-01 16:26:15 DEBUG http://192.168.1.29:80 "POST / HTTP/1.1" 200 89
Jul 01 16:26:15 mowerraspi python3[740]: 2023-07-01 16:26:15 DEBUG Status code: 200
Jul 01 16:26:15 mowerraspi python3[740]: 2023-07-01 16:26:15 DEBUG Content: S,26.84,4.26,-12.51,-0.03,2,1,816,0.43,0,8.28,-12.50,0.02,37,0.66,31,-1514473,0.0>
Jul 01 16:26:15 mowerraspi python3[740]: 2023-07-01 16:26:15 DEBUG Recieved checksum:0xb4 Calced checksum: 0xb4
Jul 01 16:26:15 mowerraspi python3[740]: 2023-07-01 16:26:15 DEBUG Calced angle speed: 120.96430701081863 Timedelta: 2.93475
Jul 01 16:26:15 mowerraspi python3[740]: 2023-07-01 16:26:15 DEBUG Calced angle: 358
Jul 01 16:26:15 mowerraspi python3[740]: 2023-07-01 16:26:15 DEBUG Backend: Calc data from state data frame
Jul 01 16:26:17 mowerraspi python3[740]: 2023-07-01 16:26:17 INFO Backend: Performing get state http-request
Jul 01 16:26:17 mowerraspi python3[740]: 2023-07-01 16:26:17 DEBUG Calced checksumme: 0x13
Jul 01 16:26:17 mowerraspi python3[740]: 2023-07-01 16:26:17 DEBUG Encryption: true
Jul 01 16:26:17 mowerraspi python3[740]: 2023-07-01 16:26:17 DEBUG Data to be send: }1g0hlUmo
Jul 01 16:26:17 mowerraspi python3[740]: 2023-07-01 16:26:17 DEBUG Starting new HTTP connection (1): 192.168.1.29:80
Jul 01 16:26:18 mowerraspi python3[740]: 2023-07-01 16:26:18 DEBUG http://192.168.1.29:80 "POST / HTTP/1.1" 200 90
Jul 01 16:26:18 mowerraspi python3[740]: 2023-07-01 16:26:18 DEBUG Status code: 200
Jul 01 16:26:18 mowerraspi python3[740]: 2023-07-01 16:26:18 DEBUG Content: S,26.80,5.26,-12.48,-0.00,2,1,816,0.35,0,8.28,-12.50,0.02,38,0.97,30,-1514473,-0.>
Jul 01 16:26:18 mowerraspi python3[740]: 2023-07-01 16:26:18 DEBUG Recieved checksum:0xe7 Calced checksum: 0xe7
Jul 01 16:26:18 mowerraspi python3[740]: 2023-07-01 16:26:18 DEBUG Calced angle speed: 60.36385686632012 Timedelta: 2.915652
Jul 01 16:26:18 mowerraspi python3[740]: 2023-07-01 16:26:18 DEBUG Calced angle: 2
Jul 01 16:26:18 mowerraspi python3[740]: 2023-07-01 16:26:18 DEBUG Backend: Calc data from state data frame
Jul 01 16:26:20 mowerraspi python3[740]: 2023-07-01 16:26:20 INFO Backend: Performing get state http-request
Jul 01 16:26:20 mowerraspi python3[740]: 2023-07-01 16:26:20 DEBUG Calced checksumme: 0x13
Jul 01 16:26:20 mowerraspi python3[740]: 2023-07-01 16:26:20 DEBUG Encryption: true
Jul 01 16:26:20 mowerraspi python3[740]: 2023-07-01 16:26:20 DEBUG Data to be send: }1g0hlUmo
Jul 01 16:26:17 mowerraspi python3[740]: 2023-07-01 16:26:17 INFO Backend: Performing get state http-request
Jul 01 16:26:17 mowerraspi python3[740]: 2023-07-01 16:26:17 DEBUG Calced checksumme: 0x13
Jul 01 16:26:17 mowerraspi python3[740]: 2023-07-01 16:26:17 DEBUG Encryption: true
Jul 01 16:26:17 mowerraspi python3[740]: 2023-07-01 16:26:17 DEBUG Data to be send: }1g0hlUmo
Jul 01 16:26:17 mowerraspi python3[740]: 2023-07-01 16:26:17 DEBUG Starting new HTTP connection (1): 192.168.1.29:80
Jul 01 16:26:18 mowerraspi python3[740]: 2023-07-01 16:26:18 DEBUG http://192.168.1.29:80 "POST / HTTP/1.1" 200 90
Jul 01 16:26:18 mowerraspi python3[740]: 2023-07-01 16:26:18 DEBUG Status code: 200
Jul 01 16:26:18 mowerraspi python3[740]: 2023-07-01 16:26:18 DEBUG Content: S,26.80,5.26,-12.48,-0.00,2,1,816,0.35,0,8.28,-12.50,0.02,38,0.97,30,-1514473,-0.>
Jul 01 16:26:18 mowerraspi python3[740]: 2023-07-01 16:26:18 DEBUG Recieved checksum:0xe7 Calced checksum: 0xe7
Jul 01 16:26:18 mowerraspi python3[740]: 2023-07-01 16:26:18 DEBUG Calced angle speed: 60.36385686632012 Timedelta: 2.915652
Jul 01 16:26:18 mowerraspi python3[740]: 2023-07-01 16:26:18 DEBUG Calced angle: 2
Jul 01 16:26:18 mowerraspi python3[740]: 2023-07-01 16:26:18 DEBUG Backend: Calc data from state data frame
Jul 01 16:26:20 mowerraspi python3[740]: 2023-07-01 16:26:20 INFO Backend: Performing get state http-request
Jul 01 16:26:20 mowerraspi python3[740]: 2023-07-01 16:26:20 DEBUG Calced checksumme: 0x13
Jul 01 16:26:20 mowerraspi python3[740]: 2023-07-01 16:26:20 DEBUG Encryption: true
Jul 01 16:26:20 mowerraspi python3[740]: 2023-07-01 16:26:20 DEBUG Data to be send: }1g0hlUmo
Jul 01 16:26:20 mowerraspi python3[740]: 2023-07-01 16:26:20 DEBUG Starting new HTTP connection (1): 192.168.1.29:80
Jul 01 16:26:21 mowerraspi python3[740]: 2023-07-01 16:26:21 DEBUG http://192.168.1.29:80 "POST / HTTP/1.1" 200 90
Jul 01 16:26:21 mowerraspi python3[740]: 2023-07-01 16:26:21 DEBUG Status code: 200
Jul 01 16:26:21 mowerraspi python3[740]: 2023-07-01 16:26:21 DEBUG Content: S,26.78,6.43,-12.49,-0.02,2,1,816,0.32,0,8.28,-12.50,0.02,38,1.17,30,-1514473,-0.>
Jul 01 16:26:21 mowerraspi python3[740]: 2023-07-01 16:26:21 DEBUG Recieved checksum:0xe6 Calced checksum: 0xe6
Jul 01 16:26:21 mowerraspi python3[740]: 2023-07-01 16:26:21 DEBUG Calced angle speed: 0.6786316207725067 Timedelta: 2.947107
Jul 01 16:26:21 mowerraspi python3[740]: 2023-07-01 16:26:21 DEBUG Calced angle: 0
Jul 01 16:26:21 mowerraspi python3[740]: 2023-07-01 16:26:21 DEBUG Backend: Calc data from state data frame
Jul 01 16:26:23 mowerraspi python3[740]: 2023-07-01 16:26:23 INFO Backend: Performing get state http-request
Jul 01 16:26:23 mowerraspi python3[740]: 2023-07-01 16:26:23 DEBUG Calced checksumme: 0x13
Jul 01 16:26:23 mowerraspi python3[740]: 2023-07-01 16:26:23 DEBUG Encryption: true
Jul 01 16:26:23 mowerraspi python3[740]: 2023-07-01 16:26:23 DEBUG Data to be send: }1g0hlUmo
Jul 01 16:26:23 mowerraspi python3[740]: 2023-07-01 16:26:23 DEBUG Starting new HTTP connection (1): 192.168.1.29:80
Jul 01 16:26:24 mowerraspi python3[740]: 2023-07-01 16:26:24 DEBUG http://192.168.1.29:80 "POST / HTTP/1.1" 200 0
Jul 01 16:26:24 mowerraspi python3[740]: 2023-07-01 16:26:24 DEBUG Status code: 200
Jul 01 16:26:24 mowerraspi python3[740]: 2023-07-01 16:26:24 DEBUG Content:
Jul 01 16:26:24 mowerraspi python3[740]: 2023-07-01 16:26:24 WARNING Backend: HTTP request for state delivered implausible string
Jul 01 16:26:24 mowerraspi python3[740]: 2023-07-01 16:26:24 INFO Backend: Try initial HTTP request
Jul 01 16:26:24 mowerraspi python3[740]: 2023-07-01 16:26:24 DEBUG Calced checksumme: 0x16
Jul 01 16:26:24 mowerraspi python3[740]: 2023-07-01 16:26:24 DEBUG Data to be send: AT+V,0x16
Jul 01 16:26:24 mowerraspi python3[740]: 2023-07-01 16:26:24 DEBUG Starting new HTTP connection (1): 192.168.1.29:80
Jul 01 16:26:25 mowerraspi python3[740]: 2023-07-01 16:26:25 DEBUG http://192.168.1.29:80 "POST / HTTP/1.1" 200 0
Jul 01 16:26:25 mowerraspi python3[740]: 2023-07-01 16:26:25 DEBUG Status code: 200
Jul 01 16:26:25 mowerraspi python3[740]: 2023-07-01 16:26:25 DEBUG Content:
Jul 01 16:26:25 mowerraspi python3[740]: 2023-07-01 16:26:25 WARNING Backend: Http request for props delivered implausible string
Jul 01 16:26:26 mowerraspi python3[740]: 2023-07-01 16:26:26 INFO Backend: Try initial HTTP request
Jul 01 16:26:26 mowerraspi python3[740]: 2023-07-01 16:26:26 DEBUG Calced checksumme: 0x16
Jul 01 16:26:26 mowerraspi python3[740]: 2023-07-01 16:26:26 DEBUG Data to be send: AT+V,0x16
Jul 01 16:26:26 mowerraspi python3[740]: 2023-07-01 16:26:26 DEBUG Starting new HTTP connection (1): 192.168.1.29:80
Jul 01 16:26:27 mowerraspi python3[740]: 2023-07-01 16:26:27 DEBUG http://192.168.1.29:80 "POST / HTTP/1.1" 200 0
Jul 01 16:26:27 mowerraspi python3[740]: 2023-07-01 16:26:27 DEBUG Status code: 200
Jul 01 16:26:27 mowerraspi python3[740]: 2023-07-01 16:26:27 DEBUG Content:
Jul 01 16:26:27 mowerraspi python3[740]: 2023-07-01 16:26:27 WARNING Backend: Http request for props delivered implausible string
Jul 01 16:26:27 mowerraspi python3[740]: 2023-07-01 16:26:27 INFO Backend: Try initial HTTP request
Jul 01 16:26:27 mowerraspi python3[740]: 2023-07-01 16:26:27 DEBUG Calced checksumme: 0x16
Jul 01 16:26:27 mowerraspi python3[740]: 2023-07-01 16:26:27 DEBUG Data to be send: AT+V,0x16
Jul 01 16:26:27 mowerraspi python3[740]: 2023-07-01 16:26:27 DEBUG Starting new HTTP connection (1): 192.168.1.29:80
Jul 01 16:26:28 mowerraspi python3[740]: 2023-07-01 16:26:28 DEBUG http://192.168.1.29:80 "POST / HTTP/1.1" 200 0
Jul 01 16:26:28 mowerraspi python3[740]: 2023-07-01 16:26:28 DEBUG Status code: 200
Jul 01 16:26:28 mowerraspi python3[740]: 2023-07-01 16:26:28 DEBUG Content:
Jul 01 16:26:28 mowerraspi python3[740]: 2023-07-01 16:26:28 WARNING Backend: Http request for props delivered implausible string
Jul 01 16:26:29 mowerraspi python3[740]: 2023-07-01 16:26:29 INFO Backend: Try initial HTTP request
Jul 01 16:26:29 mowerraspi python3[740]: 2023-07-01 16:26:29 DEBUG Calced checksumme: 0x16
Jul 01 16:26:29 mowerraspi python3[740]: 2023-07-01 16:26:29 DEBUG Data to be send: AT+V,0x16
Jul 01 16:26:29 mowerraspi python3[740]: 2023-07-01 16:26:29 DEBUG Starting new HTTP connection (1): 192.168.1.29:80
Jul 01 16:26:29 mowerraspi python3[740]: 2023-07-01 16:26:29 DEBUG http://192.168.1.29:80 "POST / HTTP/1.1" 200 3
Jul 01 16:26:29 mowerraspi python3[740]: 2023-07-01 16:26:29 DEBUG Status code: 200
Jul 01 16:26:29 mowerraspi python3[740]: 2023-07-01 16:26:29 DEBUG Content: û×ÿ
Jul 01 16:26:29 mowerraspi python3[740]: 2023-07-01 16:26:29 WARNING Backend: Http request for props delivered implausible string
Jul 01 16:26:30 mowerraspi python3[740]: 2023-07-01 16:26:30 INFO Backend: Try initial HTTP request
Jul 01 16:26:30 mowerraspi python3[740]: 2023-07-01 16:26:30 DEBUG Calced checksumme: 0x16
Jul 01 16:26:30 mowerraspi python3[740]: 2023-07-01 16:26:30 DEBUG Data to be send: AT+V,0x16
Jul 01 16:26:30 mowerraspi python3[740]: 2023-07-01 16:26:30 DEBUG Starting new HTTP connection (1): 192.168.1.29:80
Jul 01 16:26:30 mowerraspi python3[740]: 2023-07-01 16:26:30 DEBUG http://192.168.1.29:80 "POST / HTTP/1.1" 200 10
Jul 01 16:26:30 mowerraspi python3[740]: 2023-07-01 16:26:30 DEBUG Status code: 200
Jul 01 16:26:30 mowerraspi python3[740]: 2023-07-01 16:26:30 DEBUG Content: AT+V,0x16
Jul 01 16:26:30 mowerraspi python3[740]: Exception in thread Thread-407:
Jul 01 16:26:30 mowerraspi python3[740]: Traceback (most recent call last):
Jul 01 16:26:30 mowerraspi python3[740]: File "/usr/lib/python3.9/threading.py", line 954, in _bootstrap_inner
Jul 01 16:26:30 mowerraspi python3[740]: self.run()
Jul 01 16:26:30 mowerraspi python3[740]: File "/usr/lib/python3.9/threading.py", line 892, in run
Jul 01 16:26:30 mowerraspi python3[740]: self._target(*self._args, **self._kwargs)
Jul 01 16:26:30 mowerraspi python3[740]: File "/home/ardumower/CaSSAndRA/CaSSAndRA/src/backend/backendserver.py", line 28, in connect_http
Jul 01 16:26:30 mowerraspi python3[740]: connection = httpcomm.connect_http(connect_data)
Jul 01 16:26:30 mowerraspi python3[740]: File "/home/ardumower/CaSSAndRA/CaSSAndRA/src/backend/comm/httpcomm.py", line 86, in connect_http
Jul 01 16:26:30 mowerraspi python3[740]: encrypt = int(reslist[3])
Jul 01 16:26:30 mowerraspi python3[740]: IndexError: list index out of range

Ich kann auch noch immer keine Dateien anhängen!

Jürgen
 
Oben