Sensors & Inputs

Things connected to the GPIO header. Adding or removing one takes effect after the mirror restarts.

{% for d in devices %} {% set spec = device_types[d.type] %}
{{ spec.label }}
{% if d.pin is defined %}GPIO {{ d.pin }} (pin {{ header_pins[d.pin] }}){% else %}I²C address {{ d.address }}{% endif %}{% if d.temperature is defined %} · starts at {{ d.temperature }} °C{% endif %}
{% if d.type == "button" %}

Tip: on GPIO 3 (pin 5) the same button also starts the mirror again after it has been shut down. Choose "Shut down the mirror" for a long press and the button works as an on/off switch. (GPIO 3 can't be used together with the I²C light sensor.)

{% for press, label in press_labels %}
{% endfor %}
{% endif %}
{% endfor %} {% if available_types %} {% set first = device_types[available_types[0]] %}

{{ first.wiring }}

{% endif %}
Checking...