In the README for v5 telelogger it lists support for HTTP(s) and the OsmAnd protocol. I would love to know that the data being transmitted by the One+ is encrypted using HTTPS and to close the UDP ports on my Traccar instance. Unfortunately, I'm unable to get it to work on the One+. Here's the situation:
My Traccar instance sits behind nginx reverse proxy, and everything sent to https://track.example.com/osmand is redirected to Traccar's OsmAnd port - 5055. I'm able to test that it works with the Traccar Client sending to the redirected url (so it HTTPS connects to port 443, then is redirected to 5055 on Traccar). Here's an example from the nginx logs:
Code: Select all
IP.ADD.RESS - - [26/Dec/2022:12:46:53 -0500] "POST /osmand?id=DEVICE_ID×tamp=1672076808&lat=LAT.PRECISE&lon=LON.PRECISE&speed=0&bearing=0&altitude=ALT.PRECISE&accuracy=35&batt=92 HTTP/1.1" 200 0 "-" "TraccarClient/57 CFNetwork/1402.0.8 Darwin/22.2.0"
Code: Select all
IP.ADD.RESS - - [26/Dec/2022:12:48:06 -0500] "GET /osmand/notify/DEVICE_ID?EV=1&SSI=0&VIN= HTTP/1.1" 403 162 "-" "-"
Code: Select all
[CELL] /osmand/post/DEVICE_ID
[HTTP] http/1.1 403 forbidden
server: nginx/1.18.0 (ubuntu)
A couple of other observations:
I've been entirely unable to compile the code using ESP-IDF. Following all the install directions consistently results in *fatal error: esp32/spiram.h: No such file or directory*
For PlatformIO, I had to update both the platform and platform_packages in platform.ini
Code: Select all
platform = espressif32
platform_packages = platformio/framework-arduinoespressif32