EinEinfach
Well-known member
Wenn du playbutton drückst
Jetzt habe ich noch ein Problem mit dem Simulator, nach dem Start läuft die Konsole mit der folgenden Meldung voll... komisch am Anfang hat das funktioniert:Ich habe die Doku mal ergänzt um die Einrichtungs-Schritte für Bluetooth BLE ( https://github.com/Ardumower/Sunray#sunray_alfred => Abschnitt "How to configure Bluetooth BLE module on a Linux computer") - evtl. hilft das schon (man kann dann den Simulator sogar per Handy über Bluetooth erreichen...) - ansonsten schaue ich mal wie ich elegant Bluetooth abgestellt bekomme...
available(): not listening
available(): not listening
available(): not listening
available(): not listening
available(): not listening
available(): not listening
available(): not listening
available(): not listening
available(): not listening
available(): not listening
available(): not listening
available(): not listening
available(): not listening
available(): not listening
available(): not listening
available(): not listening
available(): not listening
available(): not listening
available(): not listening
available(): not listening
available(): not listening
available(): not listening
available(): not listening
available(): not listening
available(): not listening
available(): not listening
available(): not listening
available(): not listening
available(): not listening
available(): not listening
available(): not listening
available(): not listening
available(): not listening
available(): not listening
available(): not listening
available(): not listening
available(): not listening
available(): not listening
available(): not listening
available(): not listening
available(): not listening
available(): not listening
available(): not listening
available(): not listening
available(): not listening
available(): not listening
available(): not listening
available(): not listening
available(): not listening
available(): not listening
available(): not listening
Im Chrome mobile Ansicht für dein Gerät habe ich die gleiche Anzeige wie du, anscheinend ist dein Gerät zu schmall. Keine Ahnung, ob ich es lösen kann, muss ich mal schauenHi, ich verwende meistens ein Huawei Mate 20. Ich habe das Darstellungsproblem aber auch mit anderen Endgeäten.
Nein. Hast du den Winkel vor dem berechnen gesetzt? Beschreibe einmal deine Vorgehensweise.
Beim Beenden des Linux-Prozesses wird der HTTP-Port evtl. nicht sofort freigegeben - eine kurze Wartepause vor dem Starten sollte das behebenJetzt habe ich noch ein Problem mit dem Simulator, nach dem Start läuft die Konsole mit der folgenden Meldung voll... komisch am Anfang hat das funktioniert:
available(): not listening
echo "----waiting for TCP connections to be closed from previous sessions----"
echo "Waiting TCP port 80 to be closed..."
for _ in `seq 1 30`; do
RES=$(netstat -ant | grep -w 80)
if [ -z "$RES" ]; then
break
fi
echo $RES
# echo -n .
sleep 2.0
done;
2023-07-21 17:08:06 WARNING Backend: Http request for props delivered implausible string
2023-07-21 17:08:07 INFO Backend: Try initial HTTP request
2023-07-21 17:08:07 DEBUG Calced checksumme: 0x16
2023-07-21 17:08:07 DEBUG Data to be send: AT+V,0x16
2023-07-21 17:08:07 DEBUG Starting new HTTP connection (1): 192.168.0.139:80
023-07-21 17:08:08 DEBUG http://192.168.0.139:80 "POST / HTTP/1.1" 200 321
2023-07-21 17:08:08 DEBUG Status code: 200
2023-07-21 17:08:08 DEBUG Content: S,24.50,-30.59,37.12,-3.14,2,1,14,17.72,11,-30.73,37.49,0.02,30,0.92,29,-340085,0.14,0x23
T,2827,0,12899,614,11552,15,2802.27,23.04,0,27.26,54.83,14,0,0.03,1024,733,91,8,198239,1,48,0,0,0,81,0x6c
V,Sunray,1.0.306,0,0,Adafruit Grand Central M4,AM,XX,XX,d7:a6:4c:c3:53:50:53:38:4a:20:20M4,AM,XX,XAM,XX,XX,dXX,XX,d7:XX,d7:
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python3.9/threading.py", line 954, in _bootstrap_inner
self.run()
File "/usr/lib/python3.9/threading.py", line 892, in run
self._target(*self._args, **self._kwargs)
File "/home/ardumower/CaSSAndRA/CaSSAndRA/src/backend/backendserver.py", line 28, in connect_http
connection = httpcomm.connect_http(connect_data)
File "/home/ardumower/CaSSAndRA/CaSSAndRA/src/backend/comm/httpcomm.py", line 86, in connect_http
encrypt = int(reslist[3])
ValueError: invalid literal for int() with base 10: '37.12'