music mouse setup
This commit is contained in:
40
roles/pi-musicmouse/files/config.yml
Normal file
40
roles/pi-musicmouse/files/config.yml
Normal file
@@ -0,0 +1,40 @@
|
||||
general:
|
||||
alsa_device: softvol_effects
|
||||
mqtt:
|
||||
user: musicmouse
|
||||
password: KNLEFLZF94yA6Zhj141
|
||||
server: homeassistant
|
||||
hass_url: https://ha.bauer.tech
|
||||
hass_token: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiI4N2ExMzM2ZmQ4ZWQ0ZDgzOWZhMjU3NmZjYTg1NWQ1ZiIsImlhdCI6MTcwNDAyOTUyOSwiZXhwIjoyMDE5Mzg5NTI5fQ.vx9L5bTSey98uc8TwodShaEXSMr-hjXugPsNviR_fEw"
|
||||
button_leds_brightness: 0.5
|
||||
volume_increment: 5
|
||||
min_volume: 23
|
||||
max_volume: 70
|
||||
serial_port: "/dev/ttyUSB0"
|
||||
|
||||
figures:
|
||||
elefant:
|
||||
id: "88041174e9"
|
||||
colors: ["#ffff00", "#00c8ff", "#094b46", "#c20099"]
|
||||
fuchs:
|
||||
id: "8804ce7230"
|
||||
colors: ["#F4D35E", "#F95738", "#F95738", "#083d77"]
|
||||
eule:
|
||||
id: "88040d71f0"
|
||||
colors: ["#e5a200", "#f8e300", "w33", "w99"]
|
||||
omnom:
|
||||
id: "88043c6ede"
|
||||
colors: ["#005102", "#fec800", "#005102", "#3bc405"]
|
||||
eichhoernchen:
|
||||
id: "88040b78ff"
|
||||
colors: ["#ff0ada", "#4BC6B9", "#69045a", "#4BC6B9"]
|
||||
hund:
|
||||
id: "8804bc7444"
|
||||
colors: ["#ffff00", "#00c8ff", "#094b46", "#c20099"]
|
||||
hase:
|
||||
id: "88044670ba"
|
||||
colors: ["#ffff00", "#00c8ff", "#094b46", "#c20099"]
|
||||
schneemann:
|
||||
id: "88043f71c2"
|
||||
colors: ["#ff0ada", "#4BC6B9", "#69045a", "#4BC6B9"]
|
||||
|
||||
11
roles/pi-musicmouse/files/musicmouse.service
Normal file
11
roles/pi-musicmouse/files/musicmouse.service
Normal file
@@ -0,0 +1,11 @@
|
||||
[Unit]
|
||||
Description=MusicMouse Player
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
Restart=always
|
||||
ExecStart=/opt/musicmouse_venv/bin/python /opt/musicmouse/espmusicmouse/host_driver/main.py /media/musicmouse/
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
15
roles/pi-musicmouse/files/smb.conf
Normal file
15
roles/pi-musicmouse/files/smb.conf
Normal file
@@ -0,0 +1,15 @@
|
||||
[global]
|
||||
workgroup = WORKGROUP
|
||||
logging = syslog@1
|
||||
server role = standalone server
|
||||
obey pam restrictions = no
|
||||
unix password sync = no
|
||||
|
||||
|
||||
[MusicMouse]
|
||||
browseable = yes
|
||||
path = /media/musicmouse
|
||||
guest ok = no
|
||||
writeable = yes
|
||||
create mask = 666
|
||||
force create mode = 666
|
||||
Reference in New Issue
Block a user