Commit graph

43 commits

Author SHA1 Message Date
14b92ac966 configuration.nix: start systemd unit at boot 2025-09-30 20:23:57 +00:00
c798554bc4 configuration.nix: comment out non systemd python package 2025-09-30 19:49:24 +00:00
d3b5bfd6cf configuration.nix: auto restart script on crash 2025-09-30 19:22:32 +00:00
4bd5f738e7 make mqtt_client.py executable 2025-09-30 19:21:50 +00:00
7c2d8e806a configuration.nix: replace -c by PYTHONUNBUFFERED=1 env var 2025-09-30 19:17:54 +00:00
d3c7886552 configuration.nix: hacky execution of mqtt_client.py via systemd 2025-09-30 19:09:48 +00:00
772dee8cd9 add configuration.nix with python env 2025-09-30 17:57:11 +00:00
b7024c124b mqtt_client.py: remove unused command line args 2025-09-29 23:10:02 +02:00
7c97f94908 mqtt_client.py: build fix 2025-09-29 23:08:56 +02:00
eb10a069ac mixer.py: make code more compact 2025-09-27 02:02:38 +02:00
d6e62544db mqtt_client.py: reorder imports 2025-09-27 01:58:40 +02:00
eafc71d4f2 mqtt_client.py: mqtt_autodiscovery: remove client arg 2025-09-27 01:55:12 +02:00
bde5e940c8 hass_button_emulator.py: ruff format 2025-09-26 23:51:20 +02:00
14c4ec65ee mqtt_client.py: remove mixer import 2025-09-26 23:50:12 +02:00
3a97a7a059 mqtt_client.py: move global vars into MqttClient class 2025-09-26 23:50:12 +02:00
6acb919486 mqtt_client.py: move implemntation into MqttClient class 2025-09-26 23:50:12 +02:00
5ae6d1f832 mqtt_client.py: add auto discovery for home assistant 2025-09-26 23:33:59 +02:00
6b8c57441f mqtt_client.py: add subparser for scene_recall and shutdown 2025-09-26 22:43:32 +02:00
f31a6b8817 hass_button_emulator.py: restructure + remove on_message handler + require hostname as arg 2025-09-25 22:31:54 +02:00
a2f4079223 mqtt_client.py: subscribe to actual topic + require mqtt broker hostname via arg 2025-09-25 22:31:54 +02:00
6bf5debce8 add comment with link to A&H midi spec 2025-09-25 22:31:54 +02:00
238aada4a1 use MQTT credentials from mqtt_client.py 2025-09-25 21:17:51 +02:00
0f3ab79bdb make mido parser a class var 2025-09-25 21:04:43 +02:00
3e123bc751 move MIXER_PORT into Mixer class 2025-09-25 20:59:28 +02:00
2ae803ebfe add hass_button_emulator.py with mqtt test 2025-09-24 23:11:43 +02:00
872d56fcbd add mqtt_client.py with scene_recall + shutdown commands 2025-09-24 23:11:16 +02:00
20f90018c0 mixer.py: remove double arg 2025-09-24 23:06:28 +02:00
927e2513e3 add uv stuff 2025-09-24 21:44:23 +02:00
5d73bf125f add .gitignore 2025-09-24 21:43:44 +02:00
dbdf3a226f mixer.py: ran ruff 2025-09-24 21:38:34 +02:00
cce93ce2cb mixer.py: rename recv -> recv_sys_ex 2025-09-24 20:31:06 +02:00
4a31f50b50 add optional filter for recv() function 2025-09-23 21:49:40 +02:00
f639bb9d1b fix enum (remove trailing , to avoid accidental tuple creation) 2025-09-23 21:20:34 +02:00
ebef9e1a54 add and use enum for SysEx message ids 2025-09-23 20:41:06 +02:00
8bce5aa899 DRY: create mixer once 2025-09-23 20:41:06 +02:00
c16c482eb8 enhance arg parsing 2025-09-23 20:41:06 +02:00
38a3d23b91 implement set_default_mixer command 2025-09-23 20:41:06 +02:00
0af2dabf6b use match / case syntax 2025-09-23 20:41:06 +02:00
a4cc88fc61 A_H -> ALLEN_HEATH 2025-09-23 20:41:06 +02:00
28ee5c9681 mixer.py: implement some cli functions 2025-09-23 20:40:39 +02:00
21ffb051eb mixer.py: add basic MIDI handling + get_system_state command 2025-09-16 23:24:50 +02:00
2deeeebc04 add mixer.py 2025-09-11 23:02:13 +02:00
44a919811f add requirements.txt (mido + rtmidi) 2025-09-11 22:08:09 +02:00