瀏覽代碼

Adaption to paho 2.0 and jinja config_example for ansible

master
Dirk Alders 9 月之前
父節點
當前提交
1cae13a471
共有 2 個文件被更改,包括 5 次插入5 次删除
  1. 4
    4
      config_example/config.j2
  2. 1
    1
      mqtt

config_example/config.py → config_example/config.j2 查看文件

@@ -3,10 +3,10 @@
3 3
 import os
4 4
 import report
5 5
 
6
-MQTT_USER = "<mqtt_smarthome_username>"
7
-MQTT_PASS = "<mqtt_smarthome_password>"
8
-MQTT_SERVER = "<mqtt_smarthome_hostname>"
9
-MQTT_TOPIC = "<mqtt_spotify_topic>"
6
+MQTT_USER = "{{ audio_spotify_username }}"
7
+MQTT_PASS = "{{ audio_spotify_password }}"
8
+MQTT_SERVER = "{{ audio_spotify_hostname }}"
9
+MQTT_TOPIC = "{{ audio_spotify_topic }}"
10 10
 
11 11
 DEVICE_NAME = "Multimedia"
12 12
 

+ 1
- 1
mqtt

@@ -1 +1 @@
1
-Subproject commit cf97fa066cdff0e2f7eda0ff4d3c8c0f59c3f2ec
1
+Subproject commit 328d3471a748472695a61193becdda76c7eefe69

Loading…
取消
儲存