question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Feature Request: Multiple Homes

See original GitHub issue

My family shares food between multiple households, and would like to be able to see what’s in which house, and to have different default locations per product, per house.

Here’s how I see the feature fleshed out:

  • Home entity (for my purposes, only needs a Name, custom fields can be used for anything else)
  • A default Home should be created (it should be possible to rename it)
  • If only one Home exists, Grocy does nothing behaves differently than today in terms of UI, everything defaults to the one Home that exists
  • Each Location can belong to a Home, needs to allow duplicate names (one per home)
    • Update locations schema: UNIQUE INDEX on locations.name + locations.home_id instead of just locations.name
  • Each Chore can belong to a Home, need to allow duplicate names (one per home, yes, this means duplicating a lot of chores, but they likely need different schedules anyway)
    • Update chores schema: UNIQUE INDEX on chores.name + chores.home_id instead of just chores.name
  • Each user would be assigned a default house (but I don’t think we need to limit them to specific houses)
  • Stock would have a filter for Home (or All Homes)
    • Each user has an account preference as to whether they see stock just in their house, or all houses by default
  • When adding products, purchases, transferring, or consuming products, the users home locations would be top of the list.
  • Each product can have one default location per home
  • When tracking a chore, the users homes chores are listed first
  • For Meal Plans & Calendar, those should be per Home also, but I’m not sure if we really need to see each others meal plans, so it should default to the users Home, and might have a dropdown to see other homes
  • Recipes should be visible by all, but filterable by Home (maybe defaulted to users Home)
  • Equipment and Batteries should also be per Home, probably needs schema updates to allow UNIQUE based on name + home_id
  • Tasks are assigned per-user, so I think that can be left alone

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:19
  • Comments:6

github_iconTop GitHub Comments

1reaction
robocopp3rcommented, Aug 9, 2022

+1. Is the current workaround running multiple instances?

0reactions
KylesDevcommented, Apr 20, 2022

+1

Read more comments on GitHub >

github_iconTop Results From Across the Web

User Groups for Multiple Homes - Feature Requests - Emby
I share access to my Emby Server with a few members of my family. Is it possible to have a user group for...
Read more >
Multiple Home page (business, personal etc..) - Evernote Forum
You would need multiple accounts and share notes so that the content can be viewed inside each account but with a different Home...
Read more >
Feature request: dual sharing - Microsoft Community Hub
Having two people share would be useful. In real life you can have two things in the room to switch between. You need...
Read more >
[Feature Request] Show product containing multiple options ...
[Feature Request] Show product containing multiple options with the search. If I search for Umbrella, the search result is polluted with ...
Read more >
[Feature Request] Multiple HASS instances
I have home assistant currently running at home and in the office. I plan to control my heating based on smart plugs and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found