android icon indicating copy to clipboard operation
android copied to clipboard

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

Open bemdark opened this issue 4 years ago • 10 comments
trafficstars

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!

bemdark avatar Aug 31 '21 14:08 bemdark

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.

jpmens avatar Aug 31 '21 14:08 jpmens

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?

bemdark avatar Aug 31 '21 14:08 bemdark

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.

jpmens avatar Aug 31 '21 14:08 jpmens

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.

bemdark avatar Aug 31 '21 14:08 bemdark

better user experience if users could just do it themselves.

I don't disagree with that. :-)

jpmens avatar Aug 31 '21 14:08 jpmens

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

growse avatar Aug 31 '21 15:08 growse

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

kri164 avatar Jun 03 '22 11:06 kri164

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.

jpmens avatar Jun 03 '22 11:06 jpmens

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 avatar Jun 14 '22 11:06 travismailsa

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

travismailsa avatar Jun 23 '22 08:06 travismailsa