Skip to content

Commit

Permalink
update files on 08-12-2023 17:53:21
Browse files Browse the repository at this point in the history
  • Loading branch information
ngocjohn committed Dec 8, 2023
1 parent 60e8b41 commit 26bdad0
Show file tree
Hide file tree
Showing 2 changed files with 69 additions and 55 deletions.
1 change: 1 addition & 0 deletions config/packages/shell_commands.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ shell_command:

refresh_lovelace: !secret refresh_lovelace
addons_cf_backup: !secret addons_cf_backup
gitpush: !secret gitpush
123 changes: 68 additions & 55 deletions config/secrets_redacted.yaml
Original file line number Diff line number Diff line change
@@ -1,38 +1,9 @@
# Use this file to store secrets like usernames and passwords.
# Learn more at https://www.home-assistant.io/docs/configuration/secrets/

## Home Connect Alt ##
homeconnect_id: '***REDACTED***'
homeconnect_secret: '***REDACTED***'

# ESP DEVICES

wifi_esp: '***REDACTED***'
wifi_password: '***REDACTED***'

##Robot Vacuum ##
vacuum_host: '***REDACTED***'
vacuum_token: '***REDACTED***'
vacuum_username: '***REDACTED***'
vacuum_password: '***REDACTED***'

roidmi_host: '***REDACTED***'
roidmi_token: '***REDACTED***'
roidmi_did: '***REDACTED***'

xiaomi_username: '***REDACTED***'
xiaomi_password: '***REDACTED***'

telegram_api: '***REDACTED***'

unifi_username: '***REDACTED***'
unifi_password: '***REDACTED***'

tracking_username: '***REDACTED***'
tracking_password: '***REDACTED***'

icloud_username: '***REDACTED***'
icloud_password: '***REDACTED***'
########################################
# HASS SYSTEM SECRETS #
########################################

homeassistant_latitude: '***REDACTED***'
homeassistant_longitude: '***REDACTED***'
Expand All @@ -43,36 +14,49 @@ mariadb_username: '***REDACTED***'
mariadb_pass: '***REDACTED***'
mariadb_url: '***REDACTED***'

# CLOUDFLARE

nodered_url: '***REDACTED***'
portainer_url: '***REDACTED***'
unifi_url: '***REDACTED***'
router_url: '***REDACTED***'
homebridge_url: '***REDACTED***'

refresh_lovelace: '***REDACTED***'

addons_cf_backup: '***REDACTED***'

# API TOKEN
ms_api: '***REDACTED***'
google_api: '***REDACTED***'
tmdb_api: '***REDACTED***'
radarr_api: '***REDACTED***'
# Chat GPT #

# Chat GPT #
gpt_cookies: '***REDACTED***'
mindsdb_email: '***REDACTED***'
mindsdb_password: '***REDACTED***'
pinecone_key: '***REDACTED***'
openai_key: '***REDACTED***'

## Spotcast ##
sp_dc: '***REDACTED***'
sp_key: '***REDACTED***'
telegram_api: '***REDACTED***'

## Shell Commands ##
# DOCKER
pidocker_restart: ssh -q -o StrictHostKeyChecking=no -i /config/.ssh/pidocker ***REDACTED*** "sudo shutdown -r now"
pause_watchtower: ssh -q -o StrictHostKeyChecking=no -i /config/.ssh/pidocker ***REDACTED*** "docker pause watchtower"
unpause_watchtower: ssh -q -o StrictHostKeyChecking=no -i /config/.ssh/pidocker ***REDACTED*** "docker unpause watchtower"
purge_dockerlog: ssh -q -o StrictHostKeyChecking=no -i /config/.ssh/pidocker ***REDACTED*** "sudo sh -c 'truncate -s 0 /var/lib/docker/containers/**/*-json.log'"

# MACBOOK AIR
sleep_mac: ssh -i /config/.ssh/id_rsa -o StrictHostKeyChecking=no ***REDACTED*** 'osascript -e "tell app \"System Events\" to sleep" 2>/dev/null'

wake_mac: ssh -i /config/.ssh/id_rsa -o StrictHostKeyChecking=no ***REDACTED*** 'caffeinate -u -t 3600'

login_mac: ssh -i /config/.ssh/id_rsa -o StrictHostKeyChecking=no ***REDACTED*** 'osascript -e "tell app \"System Events\" to keystroke ***REDACTED*** -e "tell app \"System Events\" to keystroke return"'

lock_mac: ssh -i /config/.ssh/id_rsa -o StrictHostKeyChecking=no ***REDACTED*** 'osascript -e "tell application \"System Events\" to keystroke \"q\" using {control down, command down}" 2>/dev/null'

refresh_lovelace: '***REDACTED***'

addons_cf_backup: '***REDACTED***'
# MB PRO SERVER
# GITPUSH
gitpush: ssh -i /config/.ssh/id_rsa -o StrictHostKeyChecking=no ***REDACTED***' 2>/dev/null

# MB PRO SERVER
lock_mbpro: ssh -i /config/.ssh/id_rsa -o StrictHostKeyChecking=no ***REDACTED*** 'osascript -e "tell application \"System Events\" to keystroke \"q\" using {control down, command down}" 2>/dev/null'
sleep_mbpro: ssh -i /config/.ssh/id_rsa -o StrictHostKeyChecking=no ***REDACTED*** 'osascript -e "tell app \"System Events\" to sleep" 2>/dev/null'

Expand All @@ -81,18 +65,47 @@ mbpro_mem: ssh -q -o StrictHostKeyChecking=no -i /config/.ssh/id_rsa ***REDACTED
mbpro_uptime: ssh -q -o StrictHostKeyChecking=no -i /config/.ssh/id_rsa ***REDACTED*** sysctl -n kern.boottime | awk '{print $4}' 2>/dev/null
mbpro_ip: ssh -q -o StrictHostKeyChecking=no -i /config/.ssh/id_rsa ***REDACTED*** curl -s icanhazip.com || echo "unknown"

# Integration
########################################
# INTEGRATIONS SECRETS #
########################################

nodered_url: '***REDACTED***'
portainer_url: '***REDACTED***'
unifi_url: '***REDACTED***'
router_url: '***REDACTED***'
homebridge_url: '***REDACTED***'
## Home Connect Alt ##
homeconnect_id: '***REDACTED***'
homeconnect_secret: '***REDACTED***'

# ESP DEVICES
wifi_esp: '***REDACTED***'
wifi_password: '***REDACTED***'

##Robot Vacuum ##
xiaomi_username: '***REDACTED***'
xiaomi_password: '***REDACTED***'

vacuum_host: '***REDACTED***'
vacuum_token: '***REDACTED***'
vacuum_username: '***REDACTED***'
vacuum_password: '***REDACTED***'

roidmi_host: '***REDACTED***'
roidmi_token: '***REDACTED***'
roidmi_did: '***REDACTED***'

# UNIFI
unifi_username: '***REDACTED***'
unifi_password: '***REDACTED***'

# TRACKING
tracking_username: '***REDACTED***'
tracking_password: '***REDACTED***'

# Spotcast ##
sp_dc: '***REDACTED***'
sp_key: '***REDACTED***'

# ICLOUD
icloud_username: '***REDACTED***'
icloud_password: '***REDACTED***'

# PLEX
plex_token: '***REDACTED***'
plex_host: '***REDACTED***'

mindsdb_email: '***REDACTED***'
mindsdb_password: '***REDACTED***'
pinecone_key: '***REDACTED***'
openai_key: '***REDACTED***'

0 comments on commit 26bdad0

Please sign in to comment.