-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #11 from amenekowo/master
Update auth api, add config file, add rotation
- Loading branch information
Showing
6 changed files
with
110 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Configuration file for pihole-dashboard | ||
|
||
# Interface to parse ip address. Default is wlan0 | ||
interface = "wlan0" | ||
|
||
# Pi-hole lighttpd web admin port. Default is 80 | ||
pihole_port = 80 | ||
|
||
# Pi-hole IP. Useful when monitor remote pi-hole server. Default 127.0.0.1 (localhost) | ||
pihole_ip = "127.0.0.1" | ||
|
||
# Pi-hole api token. | ||
# To get api token, go to web admin page, see Settings -> API -> Show API token | ||
# Or run "grep WEBPASSWORD /etc/pihole/setupVars.conf" and get the string after "=" | ||
# https://github.com/pi-hole/AdminLTE/issues/2467 | ||
pihole_api_token = "" | ||
|
||
# Rotate indicator, set 1 for 180 degrees rotation. Default is 0 | ||
is_rotated = 0 | ||
|
||
# Screen selection. Supported screens: | ||
# 213v2 | Waveshare 2.13 BW V2 | ||
# 213v3 | Waveshare 2.13 BW V3 | ||
screen_type = "213v2" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
waveshare-epd | ||
netifaces>=0.10.9 | ||
Pillow>=8.2.0 | ||
Pillow>=8.2.0 | ||
toml>=0.10.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters