Device for switching and dimming 16 independent light groups with electronic DALI ballast units. The device can be used in connection with up to 8 light sensors not only as KNX-DALI gateway, but also as light regulator for constant light regulation. 8 of the 16 lamp groups can regulate the brightness in interior rooms individually in connection with light sensor 6197/71.