Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce sub environments #39

Open
Nostradamos opened this issue Oct 29, 2017 · 0 comments
Open

Introduce sub environments #39

Nostradamos opened this issue Oct 29, 2017 · 0 comments

Comments

@Nostradamos
Copy link
Owner

Nostradamos commented Oct 29, 2017

Basically extend environments so that they can have a "parent" environment.
Think of a a mini greenhouse in your Growbox. It get's the same the light but
has different temperature/humidity value. It should be possible to retrieve all the sub environments of a parent environment.

{
  environmentId: 42,
  environmentName: "Mini greenhouse #1 in Growbox #1",
  environmentDescription: "This is my small greenhouse xyz placed in Growbox #1",
  ...
  environmentParent: 41,
  environmentParentJournalsAllow: ["light", "cycle"],
  environmentParentJournalsDisallow: ["rlf", "temp"]
}
{
  environmentId: 41,
  environmentName: "Growbox #1",
  environmentDescription: "This is my Growbox #1",
  ...
  environmentParent: null,
  environmentParentJournalsAllow: null,
  environmentParentJournalsDisallow: null,
  environmentSubs: [42]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant