   server.on("/lights", HTTP_GET, getLights);
 
   for (uint8_t light = 0; light < NUM_LIGHTS; light++) {
+    driver.getPin(mapLightAddress(light)).setValueAndWrite(0);
 
     sprintf(routeHelper, "/lights/%d", light);
     


PCA9685 driver = PCA9685(0x00, PCA9685_MODE_N_DRIVER);
ESP8266WebServer server(80);

void getLights() {



  Wire.begin(I2C_SDA, I2C_SCL);
  driver.setup();
  

  server.on("/", []() {
    server.send_P(200, text_html, static_index_html);
