@app.route('/')
def index():
    return render_template('/index.html', webcam=app.config['WEBCAM'], sensor=app.config['SENSOR'], temperature=app.config['TEMPERATURE'], alarm=app.config['ALARM'], switches={'A': app.config['SWITCH_A'], 'B': app.config['SWITCH_B'], 'C': app.config['SWITCH_C']})
@app.route('/')
def index():
    return render_template('/index.html', webcam=app.config['WEBCAM'], sensor=app.config['SENSOR'], temperature=app.config['TEMPERATURE'], alarm=app.config['ALARM'], switches={'A': app.config['SWITCH_A'], 'B': app.config['SWITCH_B'], 'C': app.config['SWITCH_C']})