hotfix for mac-detection and various variable names (#139)
* Change Client-Name: The client name inside LVA is not capable of having spaces in the name. Fixed the example. * Add first version of Docker-Compose for developers * Add variable for network-interface and auto detection by default * Added autodetection for the MAC-Address based on the detected or specified network-interface. * Switched from listening on all IP-Addresses to the IP of the default interface, usually u set the correct network-interface and it will automatically detect the right IP-Address. * Added missing variables, fixed variables names * Fixed not working variables for example sound-files. * Moved the auto-name creation from shell to python. The name is no longer mandatory, it will be generated if no name is given.
This commit is contained in:
1 parent
f72e5c8d30
commit
4052daae01
11 files changed
+256
-113
No files matched your search
+11
-3
@@ -14,8 +14,7 @@ LVA_USER_ID="1000"
|
||||
LVA_USER_GROUP="1000"
|
||||
|
||||
### Name for the client (optional):
|
||||
# by default it uses the HOSTNAME variable from the piCompose environment which includes the MAC from the network card
|
||||
# CLIENT_NAME="My Voice Assistant Speaker"
|
||||
# CLIENT_NAME="speaker_livvingroom"
|
||||
|
||||
### PulseAudio socket path on the host:
|
||||
# PulseAudio Server: /run/user/1000/pulse
|
||||
@@ -26,6 +25,12 @@ LVA_XDG_RUNTIME_DIR="/run/user/${LVA_USER_ID}"
|
||||
### Path to the preferences file (optional):
|
||||
# PREFERENCES_FILE="/app/configuration/preferences.json"
|
||||
|
||||
### Network interface (optional):
|
||||
# NETWORK_INTERFACE="eth0"
|
||||
|
||||
### IP-Address for the api (optional):
|
||||
# HOST="0.0.0.0"
|
||||
|
||||
### Port for the api (optional):
|
||||
# PORT="6053"
|
||||
|
||||
@@ -39,7 +44,10 @@ LVA_XDG_RUNTIME_DIR="/run/user/${LVA_USER_ID}"
|
||||
# ENABLE_THINKING_SOUND="1"
|
||||
|
||||
# Wake model (optional):
|
||||
# WAKE-MODEL="okay_nabu"
|
||||
# WAKE_MODEL="okay_nabu"
|
||||
|
||||
# Stop model (optional):
|
||||
# STOP_MODEL="stop"
|
||||
|
||||
# Refactory seconds (optional):
|
||||
# REFACTORY_SECONDS="2"
|
||||
|
||||
Reference in new issue
Block a user