add light control functions, query bridge configuration, add WebREPL debug