server_config.json 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. {
  2. "network": {
  3. "command_port": 2101,
  4. "audio_input_port": 2102,
  5. "audio_output_port": 2103,
  6. "music_port": 2104,
  7. "config_port": 2105,
  8. "bind_address": "0.0.0.0",
  9. "max_connections": 100
  10. },
  11. "security": {
  12. "encryption_enabled": true,
  13. "encryption_key_path": "certs/encryption.key",
  14. "ssl_enabled": false,
  15. "ssl_cert_path": "certs/server.crt",
  16. "ssl_key_path": "certs/server.key",
  17. "allowed_mac_addresses": []
  18. },
  19. "audio": {
  20. "sample_rate": 16000,
  21. "channels": 1,
  22. "bit_depth": 16,
  23. "music_sample_rate": 44100,
  24. "music_channels": 2,
  25. "music_bit_depth": 16
  26. },
  27. "wakeword": {
  28. "models": ["trixy", "system_command"],
  29. "admin_wakewords": ["system_command"],
  30. "threshold": 0.5,
  31. "debounce_seconds": 1.0,
  32. "arbitration_timeout_seconds": 1.0
  33. },
  34. "voice_recognition": {
  35. "model": "default",
  36. "enabled": true,
  37. "threshold": 0.7
  38. },
  39. "conversation": {
  40. "max_silence_seconds": 3.0,
  41. "max_duration_seconds": 60.0,
  42. "timeout_seconds": 30.0
  43. },
  44. "plugins": {
  45. "enabled": true,
  46. "plugin_directory": "plugins",
  47. "auto_reload": false
  48. },
  49. "logging": {
  50. "level": "INFO",
  51. "file_log_level": "INFO",
  52. "log_directory": "logs",
  53. "max_file_size_mb": 10,
  54. "backup_count": 5,
  55. "plugin_timeout_seconds": 30.0,
  56. "plugin_max_failures": 3
  57. },
  58. "stt_correction": {
  59. "enabled": true,
  60. "language": "de",
  61. "layers": ["symspell", "phonetic", "kenlm"],
  62. "protected_words": ["Eminem", "Rammstein", "AC/DC", "Trixy", "Alexa"],
  63. "custom_aliases": {
  64. "shop": "stopp",
  65. "schop": "stopp"
  66. },
  67. "symspell_max_edit_distance": 2,
  68. "symspell_dictionary_path": "",
  69. "kenlm_model_path": "models/kenlm/de.binary",
  70. "jamspell_model_path": "models/jamspell/de.bin",
  71. "hunspell_dict_path": "/usr/share/hunspell/de_DE",
  72. "languagetool_language": "de-DE"
  73. },
  74. "email": {
  75. "smtp_host": "",
  76. "smtp_port": 587,
  77. "smtp_user": "",
  78. "smtp_password": "",
  79. "smtp_ssl": true,
  80. "smtp_starttls": true,
  81. "from_address": "",
  82. "from_name": "Trixy",
  83. "reply_to": "",
  84. "organization": "",
  85. "pgp": {
  86. "enabled": false,
  87. "gpg_home": "~/.gnupg",
  88. "sign_key": "",
  89. "passphrase": "",
  90. "always_sign": false,
  91. "always_encrypt": false,
  92. "recipient_keys": {}
  93. }
  94. },
  95. "satellite_connection": {
  96. "notification": 1,
  97. "tts_text": "Verbunden",
  98. "wave_file": "connected.wav",
  99. "mic_test_tts_text": "Teste Mikrofon. Audio wird weitergeleitet"
  100. },
  101. "satellites_directory": "satellites",
  102. "assets_directory": "assets",
  103. "models_directory": "models",
  104. "profile": "default"
  105. }