Ejemplo n.º 1
0
def action_buzer():
    gpio.pulse(3, duration=5)
    return jsonify(**get_app_state())
Ejemplo n.º 2
0
def action_gdoor():
    gpio.pulse(1)
    # TODO: schedule door check here
    return jsonify(**get_app_state())