Update config_template.py

This commit is contained in:
arofarn 2020-05-16 09:04:12 +02:00
parent 4b98e63c22
commit 7ddb19f53a

View File

@ -1,6 +1,20 @@
# Just a dic with each known wifi access point's SSID and WPA key """Config file"""
# Update it with your own setting and rename it "wifi_config.py"
known_wifi_ap = {"wifi_ssid": "wifi_wpa_key", known_wifi_ap = {"wifi_ssid": "wifi_wpa_key",
"wifi_ssid_2": "wifi_wpa_key_2", "wifi_ssid_2": "wifi_wpa_key_2",
} }
CLIENT_ID = "desktop_light"
LOCATION = "desktop"
MQTT_HOST = "192.168.0.XXX"
MQTT_PORT = 1883
MQTT_USERNAME = "user"
MQTT_PASSWD = "blabla"
MQTT_TOPIC = "home/desk/desktop_light"
# NEOPIXEL strings
NB_PIX = 67 # Nombre de pixels de la 1e bande de LED
NB_PIX2 = 67 # Nombre de pixels de la 2e bande de LED
MAX_BRIGHT = 100 # Luminosité max (100 max.)
USR_COLOR = [255, 130, 20] # Couleur de base (à luminosité max)