open-nomie / nomie6-oss

Opensource version of Nomie 6
MIT License
495 stars 52 forks source link

[FR] Implement reminders #62

Open krillin666 opened 1 year ago

krillin666 commented 1 year ago

Hi !

I'm extremely grateful for this app, and even more you've made it open source.

Since I don't have the skills to do it, I wanted to see if someone could tackle the task of implementing reminders in Nomie, or at least a way to connect them to something n8n.

Reminders are really essential, specially for people with ADHD, and also when the number of trackers starts to grow.

Thanks!

RdeLange commented 1 year ago

Hi,

many thanks for your feedback. Do you have some usecases how you want to use this option more specific, especially related to tools like n8n as you mentioned? This would give me a better idea what you are looking for so I can assess the feasibility of your request. Thanks!

krillin666 commented 1 year ago

Hi,

many thanks for your feedback. Do you have some usecases how you want to use this option more specific, especially related to tools like n8n as you mentioned? This would give me a better idea what you are looking for so I can assess the feasibility of your request. Thanks!

Hi @RdeLange !

I have no clear view on how this would work. What I know is that, without notifications on mobile and/or desktop, it's very difficult to remember to track everything I've setup to track.

I don't know if it's possible to have native push notifications in the browser, but that would be the simplest way, I think ? If not, some integration with automation services like n8n could use the nomie API to send a notification to the service (n8n) and then n8n would communicate with a notification service of choice of the user.

A simpler alternative for n8n could also be, using something like gotify or ntfy. If we could hook nomie to either of these two services, then the user could receive notifications wherever they had it setup (desktop and phone) !

Thank you :smile:

lukaszstr commented 1 year ago

Love the idea of reminders. The 2 main use cases I see for this:

I'm by no means able to design or tell whether solution is feasible, but I can share some resources/ideas.

Reddit Discussion on reminders in nomie 3y ago

More up to date reddit thread. mentioning that safari support was a blocker

This mdn web doc mentions 2 APIs: notification and push for PWAs

It seems that recently WebPush api has been added to ios/ipados

freeseacher commented 1 year ago

like one that were in daylio. when twice a day some notification appears with mood selector.

RdeLange commented 1 year ago

I have investigated push notification options. Looks like we have to be a little bit patience before this can be implemented.

Nomie is installed as 'pwa' and in ios push notifications from a pwa are not yet possible, but currently in beta.

I will try to experiment a little bit with it while in beta.

My idea is to create a native Nomie function or plugin which will enable notifications to be scheduled or triggered (like when a trackable ia not used for x houts or days)

krillin666 commented 1 year ago

I have investigated push notification options. Looks like we have to be a little bit patience before this can be implemented.

Nomie is installed as 'pwa' and in ios push notifications from a pwa are not yet possible, but currently in beta.

I will try to experiment a little bit with it while in beta.

My idea is to create a native Nomie function or plugin which will enable notifications to be scheduled or triggered (like when a trackable ia not used for x houts or days)

The Metriport app has a nice implementation for reminders. It lets a user add various reminders for a given tracker with custom notification text. Besides that, it also lets you manage all your reminders in the same place, showing the number of reminders set at a given time: image

Furthermore, it also shows and lets the user edit the different reminders for each time: image

I think this is a really pleasant and very efficient implementation for the user-side.

In terms of implementation, maybe it would be best to not be dependent on the PWA notifications capabilities since Nomie is used in so many browsers with some supporting, some not yet supporting and others have completely removed PWA notifications (like chromium/chrome). Maybe the best bet would be to use gotify/ntfy ?

Thank you so much !

krillin666 commented 1 year ago

I would also want to add, that implementing reminders would improve timer-based trackers. When clicking on a timer we could span a notification on the phone with the running timer letting users stop or pause it.

This way it would prevent forgetting about started timers, but also the ability of managing running ones without navigating to Nomie

krillin666 commented 4 months ago

For now, my setup to not forget to log things into Nomie is to have various cronjobs on my raspberry pi server that send gotify notifications to all my devices at certain times of day

krillin666 commented 4 months ago

Love the idea of reminders. The 2 main use cases I see for this:

* reminder every so often to log into nomie

* reminder from the "Memories" plugin - if you have a log from month/year ago to remind you on that day.

I'm by no means able to design or tell whether solution is feasible, but I can share some resources/ideas.

Reddit Discussion on reminders in nomie 3y ago

More up to date reddit thread. mentioning that safari support was a blocker

This mdn web doc mentions 2 APIs: notification and push for PWAs

It seems that recently WebPush api has been added to ios/ipados

Getting a reminder from the Memories plugin would be neat!