I updated the code from D3433 from @Lukas Stockner (lukasstockner97) to be compatible with current master, and added the per-light control, now lights are visible when the "camera" toggle is enabled in the cycles visibility panel.
I've been able to complete this thanks to the guidance of @Pedro A. (povmaniaco) and @Brecht Van Lommel (brecht) since I'm pretty new to all this type of coding, so I may have commited some mistake.
Right now the system has still a limitation, if the light is not powerful enough it's semi-transparent, I don't know why it happens, it was happening also in the original code since I have not touched anything related to that, but from an artist perspective, I don't find that problematic at all, since when you use a relevant amount of light power the light is solid.


