Osmand string - or a new URL tracker type

ferret10 years ago

I use the OSMAND mask to parse info to the server using tasker, with this mask

http://[server]:5055/?id=123456&lat={0}&lon={1}&timestamp={2}&hdop={3}&altitude={4}&speed={5}

Because there is no power/battery option, I stick that into hdop, which of course means I lose that variable in my data.

Is there any way to send battery properly, with its own item? Ideally I'd want other items to be available too, so perhaps this is really about creating a new tracker type for manually setup URL data...

Battery is the main one, but I'd also love to be able to send phone number, imei (because the id might not be that).

In a perfect world I'd also send things like wifi network name, a yes/no for charging, etc.

Again, not sure if this is a request for a new tracker type, or an addition to osmand.

And can I manually do this myself by editing config files??

Anton Tananaev10 years ago

I see two options:

  1. Implement parameters that might be useful to everybody (like for example battery level).

  2. Automatically parse all parameters in the URL and put them into the XML field.

First one is easy to implement and there are some advantages to it (for example using common value keys which can be used in some reports at some point). Second one is more flexible of course. Any thoughts?