owntracks / android

OwnTracks Android App
http://owntracks.org
Eclipse Public License 1.0
1.34k stars 474 forks source link

feature Request : set account profile picture and name [CARD] via app #1073

Open bemdark opened 3 years ago

bemdark commented 3 years ago

hello i want this because I want to set my name and profile picture ( card https://owntracks.org/booklet/features/card/ ) in owntracks and not have to use the command line. I would really appreciate it. Thanks!

jpmens commented 3 years ago

This is likely something we will not do very soon. It would mean "friends" also wanting to be able to do that and requires the app to have appropriate publishing (or POSTing) privileges on the server which is unlikely to be the case.

Are you having trouble with the utilities mentioned in the booklet? If the documentation needs clarifying, do say so.

bemdark commented 3 years ago

I did get it to work but it would be easier (especially for friends of mine who don't know that much about computers) to set their cards. I dont really get why you would think friends would want to publish cards for other people (if i did understand you correctly). I (and I think most other people who do this) just want to set my own card (which I can do with the same password and username in the commandline) so owntracks must have permission to it, right?

jpmens commented 3 years ago

Technically, when using MQTT, the app can use an ACL to subscribe to data which is distinct to the ACL required to publish to the ../info topic branch. But typically you'd be right that the ACL will permit publishing to both.

As an aside, what I do is to ask friends which CARD they want published and do it for them as I'm administrator of the MQTT broker.

bemdark commented 3 years ago

As an aside, what I do is to ask friends which CARD they want published and do it for them as I'm administrator of the MQTT broker.

Im also doing that, but I think it would create a better user experience if users could just do it themselves.

jpmens commented 3 years ago

better user experience if users could just do it themselves.

I don't disagree with that. :-)

growse commented 3 years ago

The hard bit here is all the pesky UI work. But d think me should be able to do this.

kri164 commented 2 years ago

My personal experience is that users STRONGLY refused to use OwnTracks until I uploaded their vcards to the server. When they saw the pictures of their friends on map, they start to LOVE this app.

UI maybe doesn't have to be complicated.

1) Setings -> Connection -> Identification Add a new text string input for "Real name"

2) Add a new item for "Picture" and reuse client certificate pickup existing code for selection of picture file. There are plenty of online and offline tool for creating, resizing images. We dont need to bother. Just inform user to prepare png picture of 100x100 pixel size.

3) Generate vcard and upload it on exit of settings dialog.

PS. Im not programmer, so feel free to ignore my advices :-)

Regards

jpmens commented 2 years ago

I think we've spoken about this before and we agreed it would be nice to have. We've meanwhile settled on 192x192 as image size, but otherwise, yes, it's a good idea.

travismailsa commented 2 years ago

My personal experience is that users STRONGLY refused to use OwnTracks until I uploaded their vcards to the server. When they saw the pictures of their friends on map, they start to LOVE this app.

UI maybe doesn't have to be complicated.

  1. Setings -> Connection -> Identification Add a new text string input for "Real name"
  2. Add a new item for "Picture" and reuse client certificate pickup existing code for selection of picture file. There are plenty of online and offline tool for creating, resizing images. We dont need to bother. Just inform user to prepare png picture of 100x100 pixel size.
  3. Generate vcard and upload it on exit of settings dialog.

PS. Im not programmer, so feel free to ignore my advices :-)

Regards

Did you achieve this with Home Assistant?

travismailsa commented 2 years ago

Obviously have this working with images on my lovelace dash and map for family tracking, however i would like to use Owntracks instead with profile picture, so yes that feature would be awesome to be added