{# SPDX-License-Identifier: MIT #} {# Copyright (c) 2025 Matthias Bilger matthias@bilger.info #} {% extends "base.html" %} {% block title %}Mutenix - Configuration{% endblock %} {% block header %}Config{% endblock %} {% block content %}

Button Actions

{% for button_id, theaction in button_actions.items() %} {% if theaction.action %} {% else %} {% endif %} {% if theaction.longpress_action %} {% else %} {% endif %} {% endfor %}
Button Action Longpress Action
{{ button_id }} {% for action in theaction.action.actions %} {% if action.webhook %} Webhook {{ action.webhook.url }} {% endif %} {% if action.keyboard %} Keyboard {{ action.keyboard.key }} {% endif %} {% if action.mouse %} Mouse {{ action.mouse.button }} {% endif %} {% if action.teams_reaction %} Teams Reaction {{ action.teams_reaction.reaction.name }} {% endif %} {% if action.meeting_action %} Meeting Action {{ action.meeting_action.name }} {% endif %} {% if action.activate_teams %} Activate Teams {% endif %} {% if action.command %} Command {{ action.command }} {% endif %} {% if not loop.last %}
{% endif %} {% endfor %}
N/A {% for action in theaction.longpress_action.actions %} {% if action.webhook %} Webhook {{ action.webhook.url }} {% endif %} {% if action.keyboard %} Keyboard {{ action.keyboard.key }} {% endif %} {% if action.mouse %} Mouse {{ action.mouse.button }} {% endif %} {% if action.teams_reaction %} Teams Reaction {{ action.teams_reaction.reaction.name }} {% endif %} {% if action.meeting_action %} Meeting Action {{ action.meeting_action.name }} {% endif %} {% if action.activate_teams %} Activate Teams {% endif %} {% if action.command %} Command {{ action.command }} {% endif %} {% if not loop.last %}
{% endif %} {% endfor %}
N/A

LED Configurations

{% for led in leds %} {% endfor %}
Button ID Source Color On Color Off Extra
{{ led.button_id }} {% if led.teams_state %} Teams State {% elif led.result_command %} Result Command {% elif led.color_command %} Color Command {% elif led.webhook %} Webhook {% else %} N/A {% endif %} {% if led.teams_state %} {{ led.teams_state.color_on.name | lower }} {% elif led.result_command %} {{ led.result_command.color_on.name | lower }} {% elif led.color_command %} N/A {% else %} N/A {% endif %} {% if led.teams_state %} {{ led.teams_state.color_off.name | lower }} {% elif led.result_command %} {{ led.result_command.color_off.name | lower }} {% elif led.color_command %} N/A {% else %} N/A {% endif %} {% if led.teams_state %} {{ led.teams_state.teams_state.name }} {% elif led.result_command %} Command: {{ led.result_command.command }}
Interval: {{ led.result_command.interval }}
Timeout: {{ led.result_command.timeout }}
{% elif led.color_command %} Command: {{ led.color_command.command }}
Interval: {{ led.color_command.interval }}
Timeout: {{ led.color_command.timeout }}
{% else %} N/A {% endif %}

YAML Configuration

            {{ yaml_config }}
        
{% endblock %}