lampe
lampe copied to clipboard
Multiple bridges
I have my lights split between two bridges. Is it possible to add both bridges in lampe?
I like this as a feature. This means a major rework of most parts. Maybe I find the time in December.
One first remark: Because I have only the first generation of the Bridge. I cannot test how this would work with the newer models, if the API has changed.
My current idea to implement this would mean that there is a possibility to switch between bridges with "B" and then typing a number, supporting max 10 brigdes starting with 0 as the first and default bridge. As soon as someone types "B1" and there is currently no bridge 1, the initial wizard would be triggered to register at a new bridge.
Maybe this can be implemented with less code changes I previously thought.
Having bridge-prefixes for lamps would be a thing for another time. I don't want to change the current behaviour managing the lights at this time.
I will base this this on the existing release-branch, meaning additional improvements from ages ago will finally be coming to the main branch.
Awesome. Thank you poinck. Happy new year!
I have just tested my first version with multi-bridge support here: https://github.com/poinck/lampe/releases/tag/v1.2.0
If you have time to test it, this would be awesome. If you have "lampe" already checked out with git, you can get the newest version with git switch main
and git pull
. There is no need to install it; you can start it directly from the project-root with ./lampe
.