danielbrendel / hortusfox-web

Self-hosted collaborative plant management and tracking system for plant enthusiasts
https://www.hortusfox.com
MIT License
668 stars 34 forks source link

Watering reminders? Recurring calendar events linked to a plant #281

Open luixal opened 1 month ago

luixal commented 1 month ago

Description of your request I would like the app to notify me when I need to water my plants.

Describe the solution you'd like I see two possible solutions that can combine:

  1. Adding an optional relation between tasks and plants. This way you can get notifications, see in the dashboard upcoming tasks for your plants, group tasks by plant, etc.

  2. Adding watering and humidy frequency in the plant's profile and get this "have to water" notifications automatically (or get tasks in point 1 auto-created).

Both of this solutions need to make task scheduling recurrent.

Describe alternatives you've considered None that I'm aware of.

Additional context No needed (i guess).

danielbrendel commented 1 month ago

Hi, thanks for your suggestion. I'll evaluate how this can be implemented.

jlar0che commented 3 weeks ago

I just installed Hortus-Fox about a week ago and finished adding all my plants and important plant details (water requirements, ideal humidity, ideal temperature, etc.).

Today I was planning to implement a recurring task to remind me to check if the plants need watering / water the plants twice per week. This is when I realized there is no recurring task feature in the application -- hence, now I'm here :)

It seems like this could be implemented with cron jobs, but the GUI front-end needs to represent the fact that something has been set to recur (either a task, or a calendar item -- probably both). Then there needs to be a way to cancel or pause the recurring task (either just the upcoming one or all the future tasks).

Cron can handle this so really I could drop into the shell of my docker container and add the recurring cron tasks myself, but handling this in the interface would be much more elegant and practical.

Thanks for all you do. This program is awesome!