From c1ecdac17eb4c18e3e6966de666aeca1c6ded183 Mon Sep 17 00:00:00 2001 From: Florian Brinker Date: Sun, 13 Oct 2019 02:40:29 +0200 Subject: [PATCH] update skeleton --- .gitignore | 1 + scripts/create-secrets-skel.sh | 23 +++++++++ secrets.yaml.skel | 90 ++++++++++++++++++++++++++++++++++ 3 files changed, 114 insertions(+) create mode 100755 scripts/create-secrets-skel.sh create mode 100644 secrets.yaml.skel diff --git a/.gitignore b/.gitignore index 58e042b..843cff7 100644 --- a/.gitignore +++ b/.gitignore @@ -7,6 +7,7 @@ !*.png !.gitignore !*.md +!*.skel !/automations/ !/lovelace-views/ !/sensors/ diff --git a/scripts/create-secrets-skel.sh b/scripts/create-secrets-skel.sh new file mode 100755 index 0000000..15dabcf --- /dev/null +++ b/scripts/create-secrets-skel.sh @@ -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 diff --git a/secrets.yaml.skel b/secrets.yaml.skel new file mode 100644 index 0000000..e7b8b3d --- /dev/null +++ b/secrets.yaml.skel @@ -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: