{% extends "base.html" %} {% block title %}Settings{% endblock %} {% block content %}

Baby

Buttons

What each button on the Mamadachi logs (SW1–SW8 on the board). Changes reach the device at its next sync; presses already logged keep their type.

{% for n, k in buttons.items() %} {% endfor %}

Event types

Single press: each press is one event (a diaper). Start / stop: the first press starts it, the next ends it (sleep). If a start is older than auto-close minutes, the next press starts a new one instead, so a forgotten stop doesn't become a 2-day nap.

{% for k in kinds %}
{{ categories[k.category] }}
{% endfor %}

Add a type

Your data

{% endblock %}