I want to do the same for my garage lights, studio lights, bathroom lights, etc. Each has its own switch and motion sensor.
My question: Should I enter everything in one PLEG device, or should I create multiple and name them according to their individual function? Won’t multiple add overhead to my Vera?
It will probably be more efficient if you put all your lighting logic in one PLEG. Each PLEG instance has a substantial memory overhead so it makes sense to make good use of it. Once you get to forty conditions in a PLEG device, consider splitting some out to another instance.
Each PLEG instance has a substantial memory overhead so it makes sense to make good use of it.
Although the comment is correct it needs to be put in context. PLEG does not have any more memory overhead than any other plugin. Adding more inputs and conditions to an existing PLEG costs little in memory consumption compared to two PLEGs.
A single PLEG has been used to remove multiple Countdown Timer and Combination plugins resulting in considerable memory savings.