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