• dtmohn

    (@dtmohn)


    Hi there,
    I would love to use Trackserver with my Teltonika router. The router supports http uploads of the gps data. But I did not manage to find out what the user credentials für http Uploads are?
    I tried sftp user credentials and added a WordPress user. When I try so login by webbrowser the passwords aren’t accepted.
    Does someone use the http upload and has a hint for me?
    Thanks
    Daniel

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author tinuzz

    (@tinuzz)

    The HTTP upload functionality as currently implemented requires HTTP Basic Auth with the WordPress username and password. It only workst with HTTP POST.

    Does that work?

    Best regards,
    Martijn.

    Thread Starter dtmohn

    (@dtmohn)

    Hi Martijn,
    thanks for your help!!
    Just recognized that the software of the Teltonika router does not support field for username or password ??
    SO you now if there is a way to start the http post with the user information in the link?
    Can Trackserver work with NMEA or AVL perhaps?
    Thanks again
    Daniel

    Plugin Author tinuzz

    (@tinuzz)

    In a normal browser, you would be able to embed the credentials in the URL like this:

    https://username:password@server/tsupload/

    but you’d have to try it to see if it works.

    AFAIK, NMEA is a data format, not a protocol. It relates more to the GPX part of a file upload than the HTTP part. How would you get the NMEA data into Trackserver? In any case, NMEA is not a supported format.

    Regarding AVL, I’m not even sure what that is. The Wikipedia page for it [1] describes it more as a concept rather than a formal standard, data format or protocol, so I’m totally unsure how that would fit into Trackserver’s domain.

    https://en.wikipedia.org/wiki/Automatic_vehicle_location

    Best regards,
    Martijn.

    Thread Starter dtmohn

    (@dtmohn)

    Hi Martijn,
    the URL field in the router does not accept any other prefix instead of www ??

    In the NMEA section of the router you can define a server and port address, more over you can define the data you want to send, the interval and a local cache.

    Same for AVL. If some screens of the settings, if you’re interested:
    https://www.icloud.com/sharedalbum/#B0hJHciePG5BfIN

    Thanks for your help
    Daniel

    Plugin Author tinuzz

    (@tinuzz)

    Hi,

    These ‘upload’ mechanisms seem to be TCP-but-not-HTTP based. Since Trackserver is a WordPress plugin, it could never natively support that kind of connection. This is actually a FAQ:

    https://nl.www.ads-software.com/plugins/trackserver/#can%20trackserver%20support%20protocol%20x%20or%20device%20y%3F

    You could write some middleware to translate the NMEA stream into HTTP requests (or to insert the data into Trackserver’s database tables directly), but I have no idea how hard that would be.

    Regards,
    Martijn.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘http Upload’ is closed to new replies.