-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmidi2mqtt.yaml.template
75 lines (67 loc) · 1.72 KB
/
midi2mqtt.yaml.template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
mqtt_server:
# MQTT Broker Configuration
broker:
host: "localhost"
port: 1883
protocol: "mqtt" # mqtt, mqtts, ws, wss
# Client Configuration
client:
client_id: "midi2mqtt"
clean_session: true
keepalive: 60
# Authentication Configuration
auth:
username: ""
password: ""
# TLS Configuration
tls:
enabled: false
verify_cert: true
ca_cert: ""
client_cert: ""
client_key: ""
cipher_suites: []
starttls: false
# Connection Configuration
connection:
retry_interval: 10
max_retries: 3
timeout: 30
# MQTT Publication Configuration
mqtt_publications:
- type: custom_json
enabled: false
topic: "midi/events"
qos: 1
retain: false
- type: home_assistant
enabled: true
topic: "homeassistant/sensor/akai_mpk_mini"
qos: 1
retain: false
unique_id: "arturia_mpk_mini"
device:
identifiers: ["arturia_mpk_mini"]
name: "Arturia MPK Mini"
manufacturer: "Arturia"
midi:
# MIDI port configuration
port: "" # Set this to the MIDI port name you want to use
# Event type whitelist
# Available event types:
# - note_on : Note press with velocity
# - note_off : Note release
# - cc:[0-127] : Control Change events (e.g., cc:1 for modulation wheel, cc:7 for volume)
# - pitch_bend : Pitch bend wheel
# - program_change : Program/patch change
# - channel_pressure : Channel aftertouch (mono pressure)
event_types:
- note_on
- note_off
# Examples of other events you might want to enable:
# - cc:1 # Modulation wheel
# - cc:74 # Filter cutoff
# - pitch_bend
# Logging Configuration
# Available levels: DEBUG, INFO, WARN, ERROR
log_level: "INFO"