update skeleton

This commit is contained in:
Florian Brinker 2019-10-13 02:40:29 +02:00
parent fe5f9caca4
commit c1ecdac17e
3 changed files with 114 additions and 0 deletions

1
.gitignore vendored
View File

@ -7,6 +7,7 @@
!*.png
!.gitignore
!*.md
!*.skel
!/automations/
!/lovelace-views/
!/sensors/

23
scripts/create-secrets-skel.sh Executable file
View File

@ -0,0 +1,23 @@
#!/usr/bin/env bash
DIR=$(dirname "$(readlink -f "$0")")
SECRETS_FILE="$DIR/../secrets.yaml"
SKEL_FILE="$SECRETS_FILE.skel"
if [ ! -f $SECRETS_FILE ]; then
echo "File missing: \"$SECRETS_FILE\""
exit 1
fi
touch $SKEL_FILE
echo "" > $SKEL_FILE
while read LINE; do
# do nothing with empty lines
if [[ $LINE = *:* ]]; then
LINE="${LINE%%:*}: "
fi
echo "$LINE" >> $SKEL_FILE
done < $SECRETS_FILE

90
secrets.yaml.skel Normal file
View File

@ -0,0 +1,90 @@
# Misc
adbkey:
url_cctv:
url_chronograf:
url_deconz:
url_esphome:
# Zones
home_lat:
home_long:
home_elevation:
work_name_f:
work_lat_f:
work_long_f:
work_name_j:
work_lat_j:
work_long_j:
# Remote services
alexa_client_id:
alexa_client_secret:
deconz_ip:
deconz_port:
influxdb:
influxdb_user:
influxdb_password:
mqtt_broker_ip:
mqtt_username:
mqtt_password:
# Remote control
ambilight_ip:
firetv_ip:
harmonyhub_ip:
octoprint_ip:
octoprint_api_key:
octoprint_cam_url:
spotify_client_id:
spotify_client_secret:
shinobi_host:
shinobi_api_key:
shinobi_group:
office_stream_url:
office_details_url:
# Weather
openweathermap:
# Wake On Lan
nas_ip:
nas_ssh_user:
nas_ssh_port:
sshkey_wakeonlan:
desktop_ip:
desktop_mac:
desktop_wol_cmd:
iframe_earth:
#iframe_windy:
iframe_windy:
# Notifications
telegram_bot:
telegram_chat_fb:
telegram_chat_group:
# Social data
instagram_beauty:
instagram_franky:
instagram_fb:
instagram_mtb:
youtube_beauty:
youtube_mtb:
bitly_blog_bb:
bitly_instagram_bb:
bitly_impressum_bb:
bitly_youtube_bb: