# Bluetooth Audio This repos supports incomming bt audio connections. It also sends the bt audio state via MQTT to smarthome.
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

config.j2 469B

12345678910111213141516171819202122
  1. #!/usr/bin/env python
  2. # -*- coding: UTF-8 -*-
  3. import os
  4. import report
  5. MQTT_USER = "{{ audio_bt_username }}"
  6. MQTT_PASS = "{{ audio_bt_password }}"
  7. MQTT_SERVER = "{{ audio_bt_hostname }}"
  8. MQTT_TOPIC = "{{ audio_bt_topic }}"
  9. #
  10. # Logging
  11. #
  12. __BASEPATH__ = os.path.abspath(os.path.dirname(__file__))
  13. APP_NAME = "btaudio"
  14. LOGTARGET = 'stdout' # possible choices are: 'logfile' or 'stdout'
  15. LOGLVL = 'INFO'
  16. LOGHOST = 'cutelog'
  17. LOGPORT = 19996
  18. formatter = report.SHORT_FMT