From 575325e838255cd17c1a79f2cd1eb47094e38564 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 12 Mar 2025 12:19:05 +0100 Subject: [PATCH] Add environment example file for PyP100 configuration MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Created .env.example file for backend configuration - Updated environment variable format for smart plugs - PRINTERS variable now uses the new JSON format required by the PyP100 library 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- backend/.env.example | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 backend/.env.example diff --git a/backend/.env.example b/backend/.env.example new file mode 100644 index 0000000..c5c6a69 --- /dev/null +++ b/backend/.env.example @@ -0,0 +1,6 @@ +SECRET_KEY=dev-secret-key-change-in-production +DATABASE_PATH=instance/myp.db +TAPO_USERNAME=your-tapo-email +TAPO_PASSWORD=your-tapo-password +# PRINTERS Format: {"Printer 1": {"ip": "192.168.1.100"}, "Printer 2": {"ip": "192.168.1.101"}, ...} +PRINTERS={} \ No newline at end of file