Git Product home page Git Product logo

Comments (5)

se99jmk avatar se99jmk commented on July 25, 2024

Is it better to EXCLUDE specific lights, or INCLUDE specific lights?
Could it alternatively be managed by Room (i.e. groups of lights)?

from kelvin.

stefanwichmann avatar stefanwichmann commented on July 25, 2024

After thinking about this it should not matter if we define an exlude or include. There will always be cases where the oposite choice might be better suited. So I will go with excludes for now.

Regarding you second question: Right now Kelvin doesn't know any groups or rooms. All lights will be treated equal. Do you see a need to configure different times for different rooms?

from kelvin.

se99jmk avatar se99jmk commented on July 25, 2024

Mmm, I thought about having different settings in the bedroom vs. the living room for example, but may have to use 2x Rasberry Pis?

I was more thinking of the include / exclude, ability to do it by group/room rather than per bulb (as more than likely it's a room of bulbs I'd want to exclude, such as the Bedroom)

from kelvin.

stefanwichmann avatar stefanwichmann commented on July 25, 2024

I think you really have a point here. I also think a complete and solid room/group concept would be used for more than exluding rooms. I opened issue #4 to discuss this.

Regarding the simple exclusion of idividual lights, I pushed an iniital implementation to the ignore-lights branch. Initial testing looks good.

If you like, give it a try and let me know what you think!

from kelvin.

stefanwichmann avatar stefanwichmann commented on July 25, 2024

Oh, I missed your first question: Yes, you could use a second Pi if you want to configure two seperate rooms (with their own schedule, colors and brightness). But you could also run two instances of Kelvin on one Pi. Just use diffent folders:

kelvin_livingroom/
  kelvin
  config.json
kelvin_bedroom/
  kelvin
  config.json

Both instances can now be run side by side. There are two things you should bear in mind:

  1. Make sure to exclude the lights of other instances (otherwise Kelvin will detect a "manual" change)
  2. Don't start the local bridge discovery in parallel. For this you will need the same port on your host. Just get the first instance running and once it's up start the second one.

from kelvin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.