Skip to content

Commit

Permalink
docs: add friendly description to settings
Browse files Browse the repository at this point in the history
  • Loading branch information
fronbasal committed Jun 21, 2019
1 parent 3c22880 commit 00fc1bc
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion settings.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,17 @@
# Unifi settings
# Credentials for API access
UNIFI_USERNAME = 'admin'
UNIFI_PASSWORD = 'belastend2342'
# Specify Unifi site (id in URL path)
UNIFI_SITE = 'default'
# Unifi controller base URL
UNIFI_URL = 'https://localhost:8443'
# Unifi voucher parameters
EXPIRE = 67 # in minutes
USAGES = 35
# Cups settings
CUPS_SERVER = 'localhost'
# Specify printer (friendly name is okay)
CUPS_PRINTER = 'HP'
BUTTON_PIN = 3 # Button pin
# Raspberry PI button GPIO pin (GPIO, not PIN! Check pinout!)
BUTTON_PIN = 3

0 comments on commit 00fc1bc

Please sign in to comment.