From aeb96e9aafbe44ac91bfc9623119559467dab884 Mon Sep 17 00:00:00 2001 From: Mihit Date: Sat, 4 Oct 2025 21:59:03 +0530 Subject: [PATCH] removed hassio token --- .gitignore | 2 +- .moonraker.conf.bkp | 5 +++-- moonraker.conf | 7 ++++--- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index c7d5bb5..f81604c 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -moonraker.conf +moonraker.secrets diff --git a/.moonraker.conf.bkp b/.moonraker.conf.bkp index 1814e6d..5db1720 100644 --- a/.moonraker.conf.bkp +++ b/.moonraker.conf.bkp @@ -1,3 +1,5 @@ +[secrets] + [server] host = 0.0.0.0 port = 7125 @@ -61,8 +63,7 @@ protocol = https address = home.fieryeagle.org port = 443 device = switch.printer -token = eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiI1MTJmMjA4ZjVjMzA0YTE3YjFmYjc2ZjNiYTM5YWVjOCIsImlhdCI6MTc0NzMxNjY4MSwiZXhwIjoyMDYyNjc2NjgxfQ.ZAsmTvECJxKf8Dl0pf-L1tox7yOndHQjAZNwMmWCZvk -domain = switch +token = {secrets.home_assistant.token} initial_state = off off_when_shutdown = True off_when_shutdown_delay = 0 diff --git a/moonraker.conf b/moonraker.conf index 8ad005f..8b43dff 100644 --- a/moonraker.conf +++ b/moonraker.conf @@ -1,3 +1,5 @@ +[secrets] + [server] host: 0.0.0.0 port: 7125 @@ -63,8 +65,7 @@ protocol: https address: home.fieryeagle.org port: 443 device: switch.printer -token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiI1MTJmMjA4ZjVjMzA0YTE3YjFmYjc2ZjNiYTM5YWVjOCIsImlhdCI6MTc0NzMxNjY4MSwiZXhwIjoyMDYyNjc2NjgxfQ.ZAsmTvECJxKf8Dl0pf-L1tox7yOndHQjAZNwMmWCZvk -domain: switch +token: {secrets.home_assistant.token} initial_state: off off_when_shutdown: True off_when_shutdown_delay: 0 @@ -85,4 +86,4 @@ bound_services: #frame_path: /tmp/timelapse/ ## Directory where the temporary frames are saved #ffmpeg_binary_path: /usr/bin/ffmpeg -## Directory where ffmpeg is installed \ No newline at end of file +## Directory where ffmpeg is installed