dummy keys

This commit is contained in:
Your Name
2019-11-08 20:30:32 +03:00
parent 43cdef8ee2
commit 0a6b9466ac
2 changed files with 6 additions and 3 deletions
+3
View File
@@ -18,6 +18,9 @@ update_secrets_sample:
@sed -i "s/powerstrip_key:.*/powerstrip_key: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/g" hass/settings/secrets.yaml.sample #len 32 @sed -i "s/powerstrip_key:.*/powerstrip_key: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/g" hass/settings/secrets.yaml.sample #len 32
@sed -i "s/telegram_chat:.*/telegram_chat: 0/g" hass/settings/secrets.yaml.sample #must be a number @sed -i "s/telegram_chat:.*/telegram_chat: 0/g" hass/settings/secrets.yaml.sample #must be a number
@sed -i "s/timezone:.*/timezone: Europe\/London/g" hass/settings/secrets.yaml.sample #must be valid @sed -i "s/timezone:.*/timezone: Europe\/London/g" hass/settings/secrets.yaml.sample #must be valid
@sed -i "s/chat_id:.*/chat_id: 12312312/g" hass/settings/secrets.yaml.sample #must be valid
@sed -i "s/token:.*/token: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/g" hass/settings/secrets.yaml.sample #must be valid
@echo "Masking env files..." @echo "Masking env files..."
@find . -name *.env | xargs -I{} cp {} {}.sample @find . -name *.env | xargs -I{} cp {} {}.sample
@find . -name *.env.sample | xargs -I{} sed -i "s/\=.*/\=xxxxxxxxx/g" {} @find . -name *.env.sample | xargs -I{} sed -i "s/\=.*/\=xxxxxxxxx/g" {}
+3 -3
View File
@@ -53,7 +53,7 @@ wifi_socket_ip: xxxxxxxxx
wifi_socket_key: xxxxxxxxx wifi_socket_key: xxxxxxxxx
philips_downlight_ip: xxxxxxxxx philips_downlight_ip: xxxxxxxxx
philips_downlight_token: xxxxxxxxx philips_downlight_token: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
purifier_ip: xxxxxxxxx purifier_ip: xxxxxxxxx
purifier_key: xxxxxxxxx purifier_key: xxxxxxxxx
@@ -114,7 +114,7 @@ mosenergo_alt_pwd: xxxxxxxxx
# APPDAEMON SETTINGS # # APPDAEMON SETTINGS #
################################### ###################################
ha_url: xxxxxxxxx ha_url: xxxxxxxxx
ha_token: xxxxxxxxx ha_token: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
################################### ###################################
@@ -127,7 +127,7 @@ narodmon_key: xxxxxxxxx
################################### ###################################
mosru_login: xxxxxxxxx mosru_login: xxxxxxxxx
mosru_pwd: xxxxxxxxx mosru_pwd: xxxxxxxxx
mosru_token: xxxxxxxxx mosru_token: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
mosru_flat_id: xxxxxxxxx mosru_flat_id: xxxxxxxxx
mosru_paycode: xxxxxxxxx mosru_paycode: xxxxxxxxx