diff --git a/include/shell_commands/indkorsel.yaml b/include/shell_commands/indkorsel.yaml index 47dd83a..188f8e4 100644 --- a/include/shell_commands/indkorsel.yaml +++ b/include/shell_commands/indkorsel.yaml @@ -1 +1 @@ -indkorsel_generate_gallery: "python3 /config/python_scripts/generate_indkorsel_gallery.py" +indkorsel_generate_gallery: "/usr/local/bin/docker exec homeassistant python3 /config/python_scripts/generate_indkorsel_gallery.py" diff --git a/python_scripts/generate_indkorsel_gallery.py b/python_scripts/generate_indkorsel_gallery.py index ac6b047..12dd1c2 100644 --- a/python_scripts/generate_indkorsel_gallery.py +++ b/python_scripts/generate_indkorsel_gallery.py @@ -10,7 +10,7 @@ from datetime import datetime SNAPSHOT_DIR = "/config/www/snapshots/indkorsel" OUTPUT_FILE = "/config/www/snapshots/indkorsel_gallery.html" LOADER_FILE = "/config/www/snapshots/indkorsel_loader.html" -MAX_SNAPSHOTS = 100 +MAX_SNAPSHOTS = 500 def parse_timestamp(filename): diff --git a/www/snapshots/indkorsel/2026-05-16_07-39-40.jpg b/www/snapshots/indkorsel/2026-05-16_07-39-40.jpg new file mode 100644 index 0000000..8335ca1 Binary files /dev/null and b/www/snapshots/indkorsel/2026-05-16_07-39-40.jpg differ diff --git a/www/snapshots/indkorsel/2026-05-16_07-58-28.jpg b/www/snapshots/indkorsel/2026-05-16_07-58-28.jpg new file mode 100644 index 0000000..409a2ff Binary files /dev/null and b/www/snapshots/indkorsel/2026-05-16_07-58-28.jpg differ diff --git a/www/snapshots/indkorsel/2026-05-16_07-59-47.jpg b/www/snapshots/indkorsel/2026-05-16_07-59-47.jpg new file mode 100644 index 0000000..b8f0cce Binary files /dev/null and b/www/snapshots/indkorsel/2026-05-16_07-59-47.jpg differ diff --git a/www/snapshots/indkorsel/2026-05-16_08-15-14.jpg b/www/snapshots/indkorsel/2026-05-16_08-15-14.jpg new file mode 100644 index 0000000..3908c5b Binary files /dev/null and b/www/snapshots/indkorsel/2026-05-16_08-15-14.jpg differ diff --git a/www/snapshots/indkorsel/2026-05-16_08-16-26.jpg b/www/snapshots/indkorsel/2026-05-16_08-16-26.jpg new file mode 100644 index 0000000..2e5721a Binary files /dev/null and b/www/snapshots/indkorsel/2026-05-16_08-16-26.jpg differ diff --git a/www/snapshots/indkorsel/2026-05-16_08-22-46.jpg b/www/snapshots/indkorsel/2026-05-16_08-22-46.jpg new file mode 100644 index 0000000..70c70ca Binary files /dev/null and b/www/snapshots/indkorsel/2026-05-16_08-22-46.jpg differ diff --git a/www/snapshots/indkorsel/2026-05-16_08-25-57.jpg b/www/snapshots/indkorsel/2026-05-16_08-25-57.jpg new file mode 100644 index 0000000..4d67ee5 Binary files /dev/null and b/www/snapshots/indkorsel/2026-05-16_08-25-57.jpg differ diff --git a/www/snapshots/indkorsel/2026-05-16_08-38-30.jpg b/www/snapshots/indkorsel/2026-05-16_08-38-30.jpg new file mode 100644 index 0000000..be2c673 Binary files /dev/null and b/www/snapshots/indkorsel/2026-05-16_08-38-30.jpg differ diff --git a/www/snapshots/indkorsel/2026-05-16_08-51-11.jpg b/www/snapshots/indkorsel/2026-05-16_08-51-11.jpg new file mode 100644 index 0000000..1c59a75 Binary files /dev/null and b/www/snapshots/indkorsel/2026-05-16_08-51-11.jpg differ diff --git a/www/snapshots/indkorsel/2026-05-16_09-17-12.jpg b/www/snapshots/indkorsel/2026-05-16_09-17-12.jpg new file mode 100644 index 0000000..f7955f3 Binary files /dev/null and b/www/snapshots/indkorsel/2026-05-16_09-17-12.jpg differ diff --git a/www/snapshots/indkorsel/2026-05-16_09-22-30.jpg b/www/snapshots/indkorsel/2026-05-16_09-22-30.jpg new file mode 100644 index 0000000..ad18736 Binary files /dev/null and b/www/snapshots/indkorsel/2026-05-16_09-22-30.jpg differ diff --git a/www/snapshots/indkorsel/latest.jpg b/www/snapshots/indkorsel/latest.jpg index 9d9786e..3aa228d 100644 Binary files a/www/snapshots/indkorsel/latest.jpg and b/www/snapshots/indkorsel/latest.jpg differ diff --git a/www/snapshots/indkorsel_gallery.html b/www/snapshots/indkorsel_gallery.html index 91cce9c..0063270 100644 --- a/www/snapshots/indkorsel_gallery.html +++ b/www/snapshots/indkorsel_gallery.html @@ -30,407 +30,775 @@ .reload-badge{position:fixed;bottom:14px;right:14px;background:#1a73e8;color:#fff;padding:6px 14px;border-radius:20px;font-size:12px;cursor:pointer;display:none;z-index:9998}
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+