-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.example.yaml
More file actions
24 lines (21 loc) · 1.07 KB
/
config.example.yaml
File metadata and controls
24 lines (21 loc) · 1.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
mqtt:
broker: "[MQTT_SERVER_IP_ADDRESS]" # Replace with your MQTT broker IP (e.g., Home Assistant)
port: 1883
username: "[MQTT_USERNAME]"
password: "[MQTT_PASSWORD]"
topic: "smartframe/set_mode"
state_topic: "smartframe/mode_state"
status_topic: "smartframe/status"
available_modes_topic: "smartframe/modes_available"
dba_state_topic: "smartframe/audio/dba"
discovery_prefix: "homeassistant"
debug: false # Set to true to see all browser and subprocess output in the terminal
default_mode: "off" # Possible values: "audio", "mirror", or "off"
magic_mirror:
url: "http(s)://[MAGIC_MIRROR_SERVER_IP_ADDRESS]:[PORT]" # Replace with your MagicMirror server URL
audio:
microphone: "I2S" # Configured via OS (ALSA)
device_index: null # Change to an integer if you need to select a specific microphone index
threshold_db_warning: 60 # Volume in dB to trigger yellow/orange text color
threshold_db_error: 85 # Volume in dB to trigger red text color
calibration_offset_db: 0 # Add or subtract the offset using a decibel meter or a phone/smartwatch app to calibrate.