android icon indicating copy to clipboard operation
android copied to clipboard

Better Multiuser support?

Open aslmx opened this issue 6 years ago • 6 comments

Hey!

First of all thanks for this awesome project!

I checked out pushjet but they make people buy their App (i would, but i dont have Google in my phone 🙄)... So gotify comes in handy and i really like it.

I made an application for my smart home that can send me notifications for smoke or water detectors. I'd like to have my wife also receive those. The only possible way right now seems to use one user /account on both devices.

However i'd like to not bother my wife with my Servers status....

I suggest

  • to make it possible to share applications/tokens among multiple users
  • to make notifications possible that each user can / has to Mark read / seen for him/herself

Or is it possible already somehow?

Maybe that is something that can be combined with the multiserver feature someone asked for.

Thanks!

aslmx avatar Feb 03 '19 17:02 aslmx

Hey @aslmx,

Thanks for you feedback.

Currently it is not planned to share applications/tokes however it should be possible to implement such functionallity as plugin(gotify/server#51) (Plugin support is still in review and will still take some time to be shipped in a release see gotify/server#110)

The "mark as read" thingy already has an issue see gotify/server#21.

The easiest solution would be if you could send two messages via your application from your smart home. One to you and one to your wife.

jmattheis avatar Feb 04 '19 19:02 jmattheis

Thanks for your reply! I already thought about two applications, but it creates overhead in the source system (if it is possible at all to trigger two http requests). But what if you have a family of three. And this is just a private / personal usecase. Think of professional users. Like 4 people monitoring the same system but each manages also different systems. Multiaccount (using multiple gotify Servers) and sharing notification "buckets" would really make that easier. 😀 Plesse consider it 😉 thanks!

aslmx avatar Feb 04 '19 20:02 aslmx

I think this might be helpful after the plugin functionality is released. Actually one of my major reasons to implementing the plugin functionality is to provide broadcast features. You can set up a receiver filter for your wife so server broadcasts are not sent there or your wife could set up a sender filter to filter server broadcasts.

https://github.com/eternal-flame-AD/gotify-broadcast

eternal-flame-AD avatar Feb 05 '19 04:02 eternal-flame-AD

https://github.com/eternal-flame-AD/gotify-broadcast

That looks very feature-ful/mighty but also quite complicated for such a simple use case :(

I'll keep an eye on this. for now i'm just happy to have push notifications ;)

thanks!

aslmx avatar Feb 05 '19 07:02 aslmx

+1 for this, even though it's been over a year and I see it hasn't been implemented.

I'm in the same boat as OP - I want to create multiple "apps" to differentiate notification sources, but I also want family members to receive notifications from only a few of them. Recreating the "apps" for every user seems like a bizarre workaround - it requires to manage both Gotify and the backend for whatever is sending those notifications - copy pasting the same stuff over and over.

Gotify is the closest I've found to what I'm want to use, but I guess Telegram + channels is the way for me.

Mazvy avatar Sep 09 '20 03:09 Mazvy

I agree with @Mazvy, I think that Gotify would be a killer project with that support. Also with the various repository like contrib, server, android is not clear to define what is the right one to propose this feature (I was thinking to put little money for a bounty).

Mte90 avatar Sep 30 '20 10:09 Mte90