finalized scripts for prototype deployment, added some features on frontend

This commit is contained in:
katsu 2025-06-05 17:43:45 +02:00
parent 6aacdcadbc
commit 61a8aa8ebc
21 changed files with 762 additions and 153 deletions

View file

@ -1,30 +1,31 @@
Hostname: {{ ansible_facts['hostname'] }} running {{ansible_facts['distribution'] }} on address {{ addr }}
Connected projectors: {{ barco_G62[0].ip }}
[global]
room = {{ room }}
mqttIp = {{ mqtt_ip }}
mqttPort = {{ mqtt_port }}
room = "{{ room }}"
mqttIp = "{{ mqtt_ip }}"
mqttPort = "{{ mqtt_port }}"
{% if barco_G62 %}
{% if barco_G62 is defined %}
{%+ for projector in barco_G62 +%}
[{{projector.model}}.{{projector.position}}]
ip = {{projector.ip}}
ip = "{{projector.ip}}"
port = {{projector.port}}
{% endfor %}
{% endif %}
{%+ if tse_box +%}
serial_device = {{ tse_box.serial_device }}
{%+ if tse_box is defined +%}
serial_device = "{{ tse_box.serial_device }}"
{% endif %}
{%+ if projector_motors +%} {# change to appropriate thingy for running them #}
{% end if %}
{%+ if projector_motors is defined +%} {# change to appropriate thingy for running them #}
{%+ for motor in projector_motors +%}
[projector_motors.{{motor.position}}]
i2c_address = {{motor.i2c_address}}
{% endfor %}
{% endif %}
{%+ if extron_audio +%}
{%+ if extron_audio is defined +%}
{% endif %}
{%+ if extron_video +%}
{%+ if extron_video is defined +%}
{% endif %}