Rename musikserverwohnzimmeroben -> musicdolphin
The Pi's OS hostname was changed first (raspi-config do_hostname + reboot), since no mediapi sets ansible_host and Ansible resolves these by hostname via mDNS/router DNS. Host now answers as musicdolphin.local at 192.168.178.100. The motd file must match the live OS hostname (pi_standard_setup reads it off the device), the host_vars filename and the pi_musicmouse config filename must match the inventory key. sensor_room_name/sensor_room_name_ascii stay WohnzimmerOben - they name the physical room for MQTT topics, not the host, and renaming them would orphan the Home Assistant history. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
12
host_vars/musicdolphin.yml
Normal file
12
host_vars/musicdolphin.yml
Normal file
@@ -0,0 +1,12 @@
|
||||
---
|
||||
squeezelite_name: Wohnzimmer
|
||||
pi_shairport_name: _Oben_Wohnzimmer
|
||||
alsa_card_name: sndrpihifiberry
|
||||
sensor_room_name_ascii: wohnzimmeroben
|
||||
sensor_room_name: WohnzimmerOben
|
||||
hifiberry_overlay: hifiberry-dacplus
|
||||
main_user: root
|
||||
|
||||
mediapi_has_hifiberry_amp: true
|
||||
mediapi_ir_control: irserver
|
||||
mediapi_has_dhtsensor: true
|
||||
Reference in New Issue
Block a user