Die Dateien wurden wie folgt geändert und aktualisiert:

This commit is contained in:
Tomczak
2025-06-13 14:01:44 +02:00
parent 822e3c542a
commit 3b1e6ce6a4
157 changed files with 807 additions and 2 deletions

View File

@@ -74,3 +74,30 @@
2025-06-13 07:17:21 - [admin] admin - [INFO] INFO - Admin-Check für Funktion api_admin_system_health_alias: User authenticated: True, User ID: 1, Is Admin: True
2025-06-13 07:17:21 - [admin] admin - [INFO] INFO - Admin-Check für Funktion api_admin_system_health: User authenticated: True, User ID: 1, Is Admin: True
2025-06-13 07:17:23 - [admin] admin - [INFO] INFO - Admin-Check für Funktion guest_requests: User authenticated: True, User ID: 1, Is Admin: True
2025-06-13 12:47:33 - [admin] admin - [INFO] INFO - Admin-Check für Funktion admin_dashboard: User authenticated: True, User ID: 1, Is Admin: True
2025-06-13 12:47:33 - [admin] admin - [INFO] INFO - Admin-Dashboard geladen von admin
2025-06-13 12:47:33 - [admin] admin - [ERROR] ERROR - Fehler beim Laden des Admin-Dashboards: 'dict object' has no attribute 'online_printers'
2025-06-13 12:47:34 - [admin] admin - [INFO] INFO - Admin-Check für Funktion api_admin_system_health_alias: User authenticated: True, User ID: 1, Is Admin: True
2025-06-13 12:47:34 - [admin] admin - [INFO] INFO - Admin-Check für Funktion api_admin_system_health: User authenticated: True, User ID: 1, Is Admin: True
2025-06-13 12:47:41 - [admin] admin - [INFO] INFO - Admin-Check für Funktion tapo_monitoring: User authenticated: True, User ID: 1, Is Admin: True
2025-06-13 12:47:41 - [admin] admin - [INFO] INFO - Tapo-Monitoring aufgerufen von admin
2025-06-13 12:47:45 - [admin] admin - [INFO] INFO - Tapo-Monitoring geladen: 6 Steckdosen, 0 online
2025-06-13 12:47:48 - [admin] admin - [INFO] INFO - Admin-Check für Funktion api_admin_bulk_tapo_control: User authenticated: True, User ID: 1, Is Admin: True
2025-06-13 12:47:51 - [admin] admin - [INFO] INFO - Admin-Check für Funktion tapo_monitoring: User authenticated: True, User ID: 1, Is Admin: True
2025-06-13 12:47:51 - [admin] admin - [INFO] INFO - Tapo-Monitoring aufgerufen von admin
2025-06-13 12:47:52 - [admin] admin - [INFO] INFO - Admin-Check für Funktion api_admin_bulk_tapo_control: User authenticated: True, User ID: 1, Is Admin: True
2025-06-13 12:47:54 - [admin] admin - [INFO] INFO - Tapo-Monitoring geladen: 6 Steckdosen, 0 online
2025-06-13 12:47:55 - [admin] admin - [INFO] INFO - Admin-Check für Funktion api_admin_bulk_tapo_control: User authenticated: True, User ID: 1, Is Admin: True
2025-06-13 12:47:58 - [admin] admin - [INFO] INFO - Admin-Check für Funktion tapo_monitoring: User authenticated: True, User ID: 1, Is Admin: True
2025-06-13 12:47:58 - [admin] admin - [INFO] INFO - Tapo-Monitoring aufgerufen von admin
2025-06-13 12:47:59 - [admin] admin - [INFO] INFO - Admin-Check für Funktion api_admin_bulk_tapo_control: User authenticated: True, User ID: 1, Is Admin: True
2025-06-13 12:48:02 - [admin] admin - [INFO] INFO - Tapo-Monitoring geladen: 6 Steckdosen, 0 online
2025-06-13 12:48:03 - [admin] admin - [INFO] INFO - Admin-Check für Funktion api_admin_bulk_tapo_control: User authenticated: True, User ID: 1, Is Admin: True
2025-06-13 12:48:06 - [admin] admin - [INFO] INFO - Admin-Check für Funktion tapo_monitoring: User authenticated: True, User ID: 1, Is Admin: True
2025-06-13 12:48:06 - [admin] admin - [INFO] INFO - Tapo-Monitoring aufgerufen von admin
2025-06-13 12:48:09 - [admin] admin - [INFO] INFO - Tapo-Monitoring geladen: 6 Steckdosen, 0 online
2025-06-13 12:48:36 - [admin] admin - [INFO] INFO - Admin-Check für Funktion admin_dashboard: User authenticated: True, User ID: 1, Is Admin: True
2025-06-13 12:48:36 - [admin] admin - [INFO] INFO - Admin-Dashboard geladen von admin
2025-06-13 12:48:36 - [admin] admin - [ERROR] ERROR - Fehler beim Laden des Admin-Dashboards: 'dict object' has no attribute 'online_printers'
2025-06-13 12:48:37 - [admin] admin - [INFO] INFO - Admin-Check für Funktion api_admin_system_health_alias: User authenticated: True, User ID: 1, Is Admin: True
2025-06-13 12:48:37 - [admin] admin - [INFO] INFO - Admin-Check für Funktion api_admin_system_health: User authenticated: True, User ID: 1, Is Admin: True

View File

@@ -16,3 +16,19 @@
2025-06-13 07:17:21 - [admin_api] admin_api - [ERROR] ERROR - Datenbank-Health-Check fehlgeschlagen: Textual SQL expression 'SELECT 1' should be explicitly declared as text('SELECT 1')
2025-06-13 07:17:21 - [admin_api] admin_api - [ERROR] ERROR - Speicherplatz-Check fehlgeschlagen: module 'os' has no attribute 'statvfs'
2025-06-13 07:17:21 - [admin_api] admin_api - [INFO] INFO - System-Health-Check durchgeführt: unhealthy
2025-06-13 12:47:34 - [admin_api] admin_api - [ERROR] ERROR - Datenbank-Health-Check fehlgeschlagen: Textual SQL expression 'SELECT 1' should be explicitly declared as text('SELECT 1')
2025-06-13 12:47:34 - [admin_api] admin_api - [ERROR] ERROR - Speicherplatz-Check fehlgeschlagen: module 'os' has no attribute 'statvfs'
2025-06-13 12:47:34 - [admin_api] admin_api - [INFO] INFO - System-Health-Check durchgeführt: unhealthy
2025-06-13 12:47:48 - [admin_api] admin_api - [INFO] INFO - Bulk-Tapo-Steuerung von admin
2025-06-13 12:47:48 - [admin_api] admin_api - [INFO] INFO - Bulk-Tapo-Steuerung abgeschlossen: 1 erfolgreich, 0 Fehler
2025-06-13 12:47:52 - [admin_api] admin_api - [INFO] INFO - Bulk-Tapo-Steuerung von admin
2025-06-13 12:47:52 - [admin_api] admin_api - [INFO] INFO - Bulk-Tapo-Steuerung abgeschlossen: 1 erfolgreich, 0 Fehler
2025-06-13 12:47:55 - [admin_api] admin_api - [INFO] INFO - Bulk-Tapo-Steuerung von admin
2025-06-13 12:47:55 - [admin_api] admin_api - [INFO] INFO - Bulk-Tapo-Steuerung abgeschlossen: 1 erfolgreich, 0 Fehler
2025-06-13 12:47:59 - [admin_api] admin_api - [INFO] INFO - Bulk-Tapo-Steuerung von admin
2025-06-13 12:48:00 - [admin_api] admin_api - [INFO] INFO - Bulk-Tapo-Steuerung abgeschlossen: 1 erfolgreich, 0 Fehler
2025-06-13 12:48:03 - [admin_api] admin_api - [INFO] INFO - Bulk-Tapo-Steuerung von admin
2025-06-13 12:48:03 - [admin_api] admin_api - [INFO] INFO - Bulk-Tapo-Steuerung abgeschlossen: 1 erfolgreich, 0 Fehler
2025-06-13 12:48:37 - [admin_api] admin_api - [ERROR] ERROR - Datenbank-Health-Check fehlgeschlagen: Textual SQL expression 'SELECT 1' should be explicitly declared as text('SELECT 1')
2025-06-13 12:48:37 - [admin_api] admin_api - [ERROR] ERROR - Speicherplatz-Check fehlgeschlagen: module 'os' has no attribute 'statvfs'
2025-06-13 12:48:37 - [admin_api] admin_api - [INFO] INFO - System-Health-Check durchgeführt: unhealthy

View File

@@ -2,3 +2,5 @@
2025-06-13 07:13:59 - [api] api - [INFO] INFO - Statistiken abgerufen von Benutzer admin
2025-06-13 07:14:28 - [api] api - [INFO] INFO - Statistiken abgerufen von Benutzer admin
2025-06-13 07:17:21 - [api] api - [INFO] INFO - Statistiken abgerufen von Benutzer admin
2025-06-13 12:47:34 - [api] api - [INFO] INFO - Statistiken abgerufen von Benutzer admin
2025-06-13 12:48:36 - [api] api - [INFO] INFO - Statistiken abgerufen von Benutzer admin

View File

@@ -23222,3 +23222,656 @@ Traceback (most recent call last):
werkzeug.routing.exceptions.BuildError: Could not build url for endpoint 'admin.add_printer'. Did you mean 'admin.add_printer_page' instead?
2025-06-13 12:41:03 - [app] app - [DEBUG] DEBUG - Response: 500
2025-06-13 12:46:55 - [app] app - [DEBUG] DEBUG - Request: GET /tapo/
2025-06-13 12:47:08 - [app] app - [ERROR] ERROR - Unhandled Exception - ID: 20250613_124708
2025-06-13 12:47:08 - [app] app - [ERROR] ERROR - URL: http://127.0.0.1:5000/tapo/
2025-06-13 12:47:08 - [app] app - [ERROR] ERROR - Method: GET
2025-06-13 12:47:08 - [app] app - [ERROR] ERROR - User: admin
2025-06-13 12:47:08 - [app] app - [ERROR] ERROR - Exception Type: BuildError
2025-06-13 12:47:08 - [app] app - [ERROR] ERROR - Exception: Could not build url for endpoint 'admin.add_printer'. Did you mean 'admin.add_printer_page' instead?
2025-06-13 12:47:08 - [app] app - [ERROR] ERROR - Traceback: Traceback (most recent call last):
File "C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\blueprints\tapo_control.py", line 132, in tapo_dashboard
return render_template('tapo_control.html',
outlets=sorted_outlets,
total_outlets=len(sorted_outlets),
online_outlets=online_count,
fixed_layout=True) # Flag für festes Layout
File "C:\Users\TTOMCZA.EMEA\AppData\Roaming\Python\Python313\site-packages\flask\templating.py", line 151, in render_template
return _render(app, template, context)
File "C:\Users\TTOMCZA.EMEA\AppData\Roaming\Python\Python313\site-packages\flask\templating.py", line 132, in _render
rv = template.render(context)
File "C:\Users\TTOMCZA.EMEA\AppData\Roaming\Python\Python313\site-packages\jinja2\environment.py", line 1295, in render
self.environment.handle_exception()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "C:\Users\TTOMCZA.EMEA\AppData\Roaming\Python\Python313\site-packages\jinja2\environment.py", line 942, in handle_exception
raise rewrite_traceback_stack(source=source)
File "C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\templates\tapo_control.html", line 1, in top-level template code
{% extends "base.html" %}
File "C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\templates\base.html", line 433, in top-level template code
{% block content %}{% endblock %}
^^^^^^^^^^^^^
File "C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\templates\tapo_control.html", line 251, in block 'content'
<a href="{{ url_for('admin.add_printer') }}?preset_plug_ip={{ ip }}"
File "C:\Users\TTOMCZA.EMEA\AppData\Roaming\Python\Python313\site-packages\flask\app.py", line 1697, in url_for
return self.handle_url_build_error(error, endpoint, values)
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\TTOMCZA.EMEA\AppData\Roaming\Python\Python313\site-packages\flask\app.py", line 1686, in url_for
rv = url_adapter.build( # type: ignore[union-attr]
endpoint,
...<3 lines>...
force_external=_external,
)
File "C:\Users\TTOMCZA.EMEA\AppData\Roaming\Python\Python313\site-packages\werkzeug\routing\map.py", line 924, in build
raise BuildError(endpoint, values, method, self)
werkzeug.routing.exceptions.BuildError: Could not build url for endpoint 'admin.add_printer'. Did you mean 'admin.add_printer_page' instead?
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\TTOMCZA.EMEA\AppData\Roaming\Python\Python313\site-packages\flask\app.py", line 1484, in full_dispatch_request
rv = self.dispatch_request()
File "C:\Users\TTOMCZA.EMEA\AppData\Roaming\Python\Python313\site-packages\flask\app.py", line 1469, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
File "C:\Users\TTOMCZA.EMEA\AppData\Roaming\Python\Python313\site-packages\flask_login\utils.py", line 290, in decorated_view
return current_app.ensure_sync(func)(*args, **kwargs)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "C:\Users\TTOMCZA.EMEA\AppData\Roaming\Python\Python313\site-packages\flask_login\utils.py", line 290, in decorated_view
return current_app.ensure_sync(func)(*args, **kwargs)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\utils\security_suite.py", line 100, in wrapper
return f(*args, **kwargs)
File "C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\blueprints\tapo_control.py", line 159, in tapo_dashboard
return render_template('tapo_control.html',
outlets=error_outlets,
total_outlets=6,
online_outlets=0,
fixed_layout=True)
File "C:\Users\TTOMCZA.EMEA\AppData\Roaming\Python\Python313\site-packages\flask\templating.py", line 151, in render_template
return _render(app, template, context)
File "C:\Users\TTOMCZA.EMEA\AppData\Roaming\Python\Python313\site-packages\flask\templating.py", line 132, in _render
rv = template.render(context)
File "C:\Users\TTOMCZA.EMEA\AppData\Roaming\Python\Python313\site-packages\jinja2\environment.py", line 1295, in render
self.environment.handle_exception()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "C:\Users\TTOMCZA.EMEA\AppData\Roaming\Python\Python313\site-packages\jinja2\environment.py", line 942, in handle_exception
raise rewrite_traceback_stack(source=source)
File "C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\templates\tapo_control.html", line 1, in top-level template code
{% extends "base.html" %}
File "C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\templates\base.html", line 433, in top-level template code
{% block content %}{% endblock %}
^^^^^^^^^^^^^
File "C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\templates\tapo_control.html", line 251, in block 'content'
<a href="{{ url_for('admin.add_printer') }}?preset_plug_ip={{ ip }}"
File "C:\Users\TTOMCZA.EMEA\AppData\Roaming\Python\Python313\site-packages\flask\app.py", line 1697, in url_for
return self.handle_url_build_error(error, endpoint, values)
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\TTOMCZA.EMEA\AppData\Roaming\Python\Python313\site-packages\flask\app.py", line 1686, in url_for
rv = url_adapter.build( # type: ignore[union-attr]
endpoint,
...<3 lines>...
force_external=_external,
)
File "C:\Users\TTOMCZA.EMEA\AppData\Roaming\Python\Python313\site-packages\werkzeug\routing\map.py", line 924, in build
raise BuildError(endpoint, values, method, self)
werkzeug.routing.exceptions.BuildError: Could not build url for endpoint 'admin.add_printer'. Did you mean 'admin.add_printer_page' instead?
2025-06-13 12:47:08 - [app] app - [DEBUG] DEBUG - Response: 500
2025-06-13 12:47:14 - [app] app - [DEBUG] DEBUG - Request: GET /printers
2025-06-13 12:47:14 - [app] app - [INFO] INFO - Locating template 'printers.html':
1: trying loader of application '__main__'
class: jinja2.loaders.FileSystemLoader
encoding: 'utf-8'
followlinks: False
searchpath:
- C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\templates
-> found ('C:\\Users\\TTOMCZA.EMEA\\Dev\\Projektarbeit-MYP\\backend\\templates\\printers.html')
2025-06-13 12:47:14 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-13 12:47:14 - [app] app - [DEBUG] DEBUG - Request: GET /api/printers
2025-06-13 12:47:14 - [app] app - [INFO] INFO - ✅ API: 6 Drucker abgerufen (include_inactive=True)
2025-06-13 12:47:14 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-13 12:47:14 - [app] app - [DEBUG] DEBUG - Request: GET /api/printers
2025-06-13 12:47:14 - [app] app - [INFO] INFO - ✅ API: 6 Drucker abgerufen (include_inactive=True)
2025-06-13 12:47:14 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-13 12:47:22 - [app] app - [DEBUG] DEBUG - Request: GET /api/printers
2025-06-13 12:47:22 - [app] app - [INFO] INFO - ✅ API: 6 Drucker abgerufen (include_inactive=True)
2025-06-13 12:47:22 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-13 12:47:24 - [app] app - [DEBUG] DEBUG - Request: GET /api/printers
2025-06-13 12:47:24 - [app] app - [INFO] INFO - ✅ API: 6 Drucker abgerufen (include_inactive=True)
2025-06-13 12:47:24 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-13 12:47:24 - [app] app - [DEBUG] DEBUG - Request: GET /api/printers
2025-06-13 12:47:24 - [app] app - [INFO] INFO - ✅ API: 6 Drucker abgerufen (include_inactive=True)
2025-06-13 12:47:24 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-13 12:47:24 - [app] app - [DEBUG] DEBUG - Request: GET /api/printers
2025-06-13 12:47:24 - [app] app - [INFO] INFO - ✅ API: 6 Drucker abgerufen (include_inactive=True)
2025-06-13 12:47:24 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-13 12:47:25 - [app] app - [DEBUG] DEBUG - Request: GET /api/printers
2025-06-13 12:47:25 - [app] app - [INFO] INFO - ✅ API: 6 Drucker abgerufen (include_inactive=True)
2025-06-13 12:47:25 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-13 12:47:25 - [app] app - [DEBUG] DEBUG - Request: GET /api/printers
2025-06-13 12:47:25 - [app] app - [INFO] INFO - ✅ API: 6 Drucker abgerufen (include_inactive=True)
2025-06-13 12:47:25 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-13 12:47:25 - [app] app - [DEBUG] DEBUG - Request: GET /api/printers
2025-06-13 12:47:25 - [app] app - [INFO] INFO - ✅ API: 6 Drucker abgerufen (include_inactive=True)
2025-06-13 12:47:25 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-13 12:47:26 - [app] app - [DEBUG] DEBUG - Request: GET /api/printers
2025-06-13 12:47:26 - [app] app - [INFO] INFO - ✅ API: 6 Drucker abgerufen (include_inactive=True)
2025-06-13 12:47:26 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-13 12:47:26 - [app] app - [DEBUG] DEBUG - Request: GET /api/printers
2025-06-13 12:47:26 - [app] app - [INFO] INFO - ✅ API: 6 Drucker abgerufen (include_inactive=True)
2025-06-13 12:47:26 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-13 12:47:30 - [app] app - [DEBUG] DEBUG - Request: GET /energy/
2025-06-13 12:47:30 - [app] app - [INFO] INFO - Locating template 'energy_dashboard.html':
1: trying loader of application '__main__'
class: jinja2.loaders.FileSystemLoader
encoding: 'utf-8'
followlinks: False
searchpath:
- C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\templates
-> found ('C:\\Users\\TTOMCZA.EMEA\\Dev\\Projektarbeit-MYP\\backend\\templates\\energy_dashboard.html')
2025-06-13 12:47:30 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-13 12:47:30 - [app] app - [DEBUG] DEBUG - Request: GET /api/energy/dashboard
2025-06-13 12:47:30 - [app] app - [DEBUG] DEBUG - Request: GET /api/energy/statistics
2025-06-13 12:47:30 - [app] app - [DEBUG] DEBUG - Request: GET /api/energy/live
2025-06-13 12:47:30 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-13 12:47:30 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-13 12:47:30 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-13 12:47:33 - [app] app - [DEBUG] DEBUG - Request: GET /admin/
2025-06-13 12:47:33 - [app] app - [INFO] INFO - Locating template 'admin.html':
1: trying loader of application '__main__'
class: jinja2.loaders.FileSystemLoader
encoding: 'utf-8'
followlinks: False
searchpath:
- C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\templates
-> found ('C:\\Users\\TTOMCZA.EMEA\\Dev\\Projektarbeit-MYP\\backend\\templates\\admin.html')
2025-06-13 12:47:33 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-13 12:47:34 - [app] app - [DEBUG] DEBUG - Request: GET /api/stats
2025-06-13 12:47:34 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-13 12:47:34 - [app] app - [DEBUG] DEBUG - Request: GET /api/admin/system-health
2025-06-13 12:47:34 - [app] app - [ERROR] ERROR - Datenbank-Transaktion fehlgeschlagen: Textual SQL expression 'SELECT 1' should be explicitly declared as text('SELECT 1')
2025-06-13 12:47:34 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-13 12:47:41 - [app] app - [DEBUG] DEBUG - Request: GET /admin/tapo-monitoring
2025-06-13 12:47:45 - [app] app - [INFO] INFO - Locating template 'admin_tapo_monitoring.html':
1: trying loader of application '__main__'
class: jinja2.loaders.FileSystemLoader
encoding: 'utf-8'
followlinks: False
searchpath:
- C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\templates
-> found ('C:\\Users\\TTOMCZA.EMEA\\Dev\\Projektarbeit-MYP\\backend\\templates\\admin_tapo_monitoring.html')
2025-06-13 12:47:45 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-13 12:47:48 - [app] app - [DEBUG] DEBUG - Request: POST /api/admin/tapo/bulk-control
2025-06-13 12:47:48 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-13 12:47:51 - [app] app - [DEBUG] DEBUG - Request: GET /admin/tapo-monitoring
2025-06-13 12:47:52 - [app] app - [DEBUG] DEBUG - Request: POST /api/admin/tapo/bulk-control
2025-06-13 12:47:52 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-13 12:47:54 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-13 12:47:55 - [app] app - [DEBUG] DEBUG - Request: POST /api/admin/tapo/bulk-control
2025-06-13 12:47:55 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-13 12:47:58 - [app] app - [DEBUG] DEBUG - Request: GET /admin/tapo-monitoring
2025-06-13 12:47:59 - [app] app - [DEBUG] DEBUG - Request: POST /api/admin/tapo/bulk-control
2025-06-13 12:48:00 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-13 12:48:02 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-13 12:48:03 - [app] app - [DEBUG] DEBUG - Request: POST /api/admin/tapo/bulk-control
2025-06-13 12:48:03 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-13 12:48:06 - [app] app - [DEBUG] DEBUG - Request: GET /admin/tapo-monitoring
2025-06-13 12:48:06 - [app] app - [DEBUG] DEBUG - Request: GET /printers
2025-06-13 12:48:06 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-13 12:48:06 - [app] app - [DEBUG] DEBUG - Request: GET /api/printers
2025-06-13 12:48:06 - [app] app - [INFO] INFO - ✅ API: 6 Drucker abgerufen (include_inactive=True)
2025-06-13 12:48:06 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-13 12:48:06 - [app] app - [DEBUG] DEBUG - Request: GET /api/printers
2025-06-13 12:48:06 - [app] app - [INFO] INFO - ✅ API: 6 Drucker abgerufen (include_inactive=True)
2025-06-13 12:48:06 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-13 12:48:09 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-13 12:48:16 - [app] app - [DEBUG] DEBUG - Request: GET /tapo/
2025-06-13 12:48:29 - [app] app - [ERROR] ERROR - Unhandled Exception - ID: 20250613_124829
2025-06-13 12:48:29 - [app] app - [ERROR] ERROR - URL: http://127.0.0.1:5000/tapo/
2025-06-13 12:48:29 - [app] app - [ERROR] ERROR - Method: GET
2025-06-13 12:48:29 - [app] app - [ERROR] ERROR - User: admin
2025-06-13 12:48:29 - [app] app - [ERROR] ERROR - Exception Type: BuildError
2025-06-13 12:48:29 - [app] app - [ERROR] ERROR - Exception: Could not build url for endpoint 'admin.add_printer'. Did you mean 'admin.add_printer_page' instead?
2025-06-13 12:48:29 - [app] app - [ERROR] ERROR - Traceback: Traceback (most recent call last):
File "C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\blueprints\tapo_control.py", line 132, in tapo_dashboard
return render_template('tapo_control.html',
outlets=sorted_outlets,
total_outlets=len(sorted_outlets),
online_outlets=online_count,
fixed_layout=True) # Flag für festes Layout
File "C:\Users\TTOMCZA.EMEA\AppData\Roaming\Python\Python313\site-packages\flask\templating.py", line 151, in render_template
return _render(app, template, context)
File "C:\Users\TTOMCZA.EMEA\AppData\Roaming\Python\Python313\site-packages\flask\templating.py", line 132, in _render
rv = template.render(context)
File "C:\Users\TTOMCZA.EMEA\AppData\Roaming\Python\Python313\site-packages\jinja2\environment.py", line 1295, in render
self.environment.handle_exception()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "C:\Users\TTOMCZA.EMEA\AppData\Roaming\Python\Python313\site-packages\jinja2\environment.py", line 942, in handle_exception
raise rewrite_traceback_stack(source=source)
File "C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\templates\tapo_control.html", line 1, in top-level template code
{% extends "base.html" %}
File "C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\templates\base.html", line 433, in top-level template code
{% block content %}{% endblock %}
^^^^^^^^^^^^^
File "C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\templates\tapo_control.html", line 251, in block 'content'
<a href="{{ url_for('admin.add_printer') }}?preset_plug_ip={{ ip }}"
File "C:\Users\TTOMCZA.EMEA\AppData\Roaming\Python\Python313\site-packages\flask\app.py", line 1697, in url_for
return self.handle_url_build_error(error, endpoint, values)
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\TTOMCZA.EMEA\AppData\Roaming\Python\Python313\site-packages\flask\app.py", line 1686, in url_for
rv = url_adapter.build( # type: ignore[union-attr]
endpoint,
...<3 lines>...
force_external=_external,
)
File "C:\Users\TTOMCZA.EMEA\AppData\Roaming\Python\Python313\site-packages\werkzeug\routing\map.py", line 924, in build
raise BuildError(endpoint, values, method, self)
werkzeug.routing.exceptions.BuildError: Could not build url for endpoint 'admin.add_printer'. Did you mean 'admin.add_printer_page' instead?
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\TTOMCZA.EMEA\AppData\Roaming\Python\Python313\site-packages\flask\app.py", line 1484, in full_dispatch_request
rv = self.dispatch_request()
File "C:\Users\TTOMCZA.EMEA\AppData\Roaming\Python\Python313\site-packages\flask\app.py", line 1469, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
File "C:\Users\TTOMCZA.EMEA\AppData\Roaming\Python\Python313\site-packages\flask_login\utils.py", line 290, in decorated_view
return current_app.ensure_sync(func)(*args, **kwargs)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "C:\Users\TTOMCZA.EMEA\AppData\Roaming\Python\Python313\site-packages\flask_login\utils.py", line 290, in decorated_view
return current_app.ensure_sync(func)(*args, **kwargs)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\utils\security_suite.py", line 100, in wrapper
return f(*args, **kwargs)
File "C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\blueprints\tapo_control.py", line 159, in tapo_dashboard
return render_template('tapo_control.html',
outlets=error_outlets,
total_outlets=6,
online_outlets=0,
fixed_layout=True)
File "C:\Users\TTOMCZA.EMEA\AppData\Roaming\Python\Python313\site-packages\flask\templating.py", line 151, in render_template
return _render(app, template, context)
File "C:\Users\TTOMCZA.EMEA\AppData\Roaming\Python\Python313\site-packages\flask\templating.py", line 132, in _render
rv = template.render(context)
File "C:\Users\TTOMCZA.EMEA\AppData\Roaming\Python\Python313\site-packages\jinja2\environment.py", line 1295, in render
self.environment.handle_exception()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "C:\Users\TTOMCZA.EMEA\AppData\Roaming\Python\Python313\site-packages\jinja2\environment.py", line 942, in handle_exception
raise rewrite_traceback_stack(source=source)
File "C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\templates\tapo_control.html", line 1, in top-level template code
{% extends "base.html" %}
File "C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\templates\base.html", line 433, in top-level template code
{% block content %}{% endblock %}
^^^^^^^^^^^^^
File "C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\templates\tapo_control.html", line 251, in block 'content'
<a href="{{ url_for('admin.add_printer') }}?preset_plug_ip={{ ip }}"
File "C:\Users\TTOMCZA.EMEA\AppData\Roaming\Python\Python313\site-packages\flask\app.py", line 1697, in url_for
return self.handle_url_build_error(error, endpoint, values)
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\TTOMCZA.EMEA\AppData\Roaming\Python\Python313\site-packages\flask\app.py", line 1686, in url_for
rv = url_adapter.build( # type: ignore[union-attr]
endpoint,
...<3 lines>...
force_external=_external,
)
File "C:\Users\TTOMCZA.EMEA\AppData\Roaming\Python\Python313\site-packages\werkzeug\routing\map.py", line 924, in build
raise BuildError(endpoint, values, method, self)
werkzeug.routing.exceptions.BuildError: Could not build url for endpoint 'admin.add_printer'. Did you mean 'admin.add_printer_page' instead?
2025-06-13 12:48:29 - [app] app - [DEBUG] DEBUG - Response: 500
2025-06-13 12:48:31 - [app] app - [DEBUG] DEBUG - Request: GET /tapo/
2025-06-13 12:48:36 - [app] app - [DEBUG] DEBUG - Request: GET /admin/
2025-06-13 12:48:36 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-13 12:48:36 - [app] app - [DEBUG] DEBUG - Request: GET /api/stats
2025-06-13 12:48:36 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-13 12:48:37 - [app] app - [DEBUG] DEBUG - Request: GET /api/admin/system-health
2025-06-13 12:48:37 - [app] app - [ERROR] ERROR - Datenbank-Transaktion fehlgeschlagen: Textual SQL expression 'SELECT 1' should be explicitly declared as text('SELECT 1')
2025-06-13 12:48:37 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-13 12:48:38 - [app] app - [DEBUG] DEBUG - Request: GET /calendar
2025-06-13 12:48:38 - [app] app - [INFO] INFO - Locating template 'calendar.html':
1: trying loader of application '__main__'
class: jinja2.loaders.FileSystemLoader
encoding: 'utf-8'
followlinks: False
searchpath:
- C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\templates
-> found ('C:\\Users\\TTOMCZA.EMEA\\Dev\\Projektarbeit-MYP\\backend\\templates\\calendar.html')
2025-06-13 12:48:38 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-13 12:48:38 - [app] app - [DEBUG] DEBUG - Request: GET /api/calendar/events
2025-06-13 12:48:38 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-13 12:48:43 - [app] app - [DEBUG] DEBUG - Request: GET /api/calendar/events
2025-06-13 12:48:43 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-13 12:48:44 - [app] app - [ERROR] ERROR - Unhandled Exception - ID: 20250613_124844
2025-06-13 12:48:44 - [app] app - [ERROR] ERROR - URL: http://127.0.0.1:5000/tapo/
2025-06-13 12:48:44 - [app] app - [ERROR] ERROR - Method: GET
2025-06-13 12:48:44 - [app] app - [ERROR] ERROR - User: admin
2025-06-13 12:48:44 - [app] app - [ERROR] ERROR - Exception Type: BuildError
2025-06-13 12:48:44 - [app] app - [ERROR] ERROR - Exception: Could not build url for endpoint 'admin.add_printer'. Did you mean 'admin.add_printer_page' instead?
2025-06-13 12:48:44 - [app] app - [ERROR] ERROR - Traceback: Traceback (most recent call last):
File "C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\blueprints\tapo_control.py", line 132, in tapo_dashboard
return render_template('tapo_control.html',
outlets=sorted_outlets,
total_outlets=len(sorted_outlets),
online_outlets=online_count,
fixed_layout=True) # Flag für festes Layout
File "C:\Users\TTOMCZA.EMEA\AppData\Roaming\Python\Python313\site-packages\flask\templating.py", line 151, in render_template
return _render(app, template, context)
File "C:\Users\TTOMCZA.EMEA\AppData\Roaming\Python\Python313\site-packages\flask\templating.py", line 132, in _render
rv = template.render(context)
File "C:\Users\TTOMCZA.EMEA\AppData\Roaming\Python\Python313\site-packages\jinja2\environment.py", line 1295, in render
self.environment.handle_exception()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "C:\Users\TTOMCZA.EMEA\AppData\Roaming\Python\Python313\site-packages\jinja2\environment.py", line 942, in handle_exception
raise rewrite_traceback_stack(source=source)
File "C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\templates\tapo_control.html", line 1, in top-level template code
{% extends "base.html" %}
File "C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\templates\base.html", line 433, in top-level template code
{% block content %}{% endblock %}
^^^^^^^^^^^^^
File "C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\templates\tapo_control.html", line 251, in block 'content'
<a href="{{ url_for('admin.add_printer') }}?preset_plug_ip={{ ip }}"
File "C:\Users\TTOMCZA.EMEA\AppData\Roaming\Python\Python313\site-packages\flask\app.py", line 1697, in url_for
return self.handle_url_build_error(error, endpoint, values)
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\TTOMCZA.EMEA\AppData\Roaming\Python\Python313\site-packages\flask\app.py", line 1686, in url_for
rv = url_adapter.build( # type: ignore[union-attr]
endpoint,
...<3 lines>...
force_external=_external,
)
File "C:\Users\TTOMCZA.EMEA\AppData\Roaming\Python\Python313\site-packages\werkzeug\routing\map.py", line 924, in build
raise BuildError(endpoint, values, method, self)
werkzeug.routing.exceptions.BuildError: Could not build url for endpoint 'admin.add_printer'. Did you mean 'admin.add_printer_page' instead?
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\TTOMCZA.EMEA\AppData\Roaming\Python\Python313\site-packages\flask\app.py", line 1484, in full_dispatch_request
rv = self.dispatch_request()
File "C:\Users\TTOMCZA.EMEA\AppData\Roaming\Python\Python313\site-packages\flask\app.py", line 1469, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
File "C:\Users\TTOMCZA.EMEA\AppData\Roaming\Python\Python313\site-packages\flask_login\utils.py", line 290, in decorated_view
return current_app.ensure_sync(func)(*args, **kwargs)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "C:\Users\TTOMCZA.EMEA\AppData\Roaming\Python\Python313\site-packages\flask_login\utils.py", line 290, in decorated_view
return current_app.ensure_sync(func)(*args, **kwargs)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\utils\security_suite.py", line 100, in wrapper
return f(*args, **kwargs)
File "C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\blueprints\tapo_control.py", line 159, in tapo_dashboard
return render_template('tapo_control.html',
outlets=error_outlets,
total_outlets=6,
online_outlets=0,
fixed_layout=True)
File "C:\Users\TTOMCZA.EMEA\AppData\Roaming\Python\Python313\site-packages\flask\templating.py", line 151, in render_template
return _render(app, template, context)
File "C:\Users\TTOMCZA.EMEA\AppData\Roaming\Python\Python313\site-packages\flask\templating.py", line 132, in _render
rv = template.render(context)
File "C:\Users\TTOMCZA.EMEA\AppData\Roaming\Python\Python313\site-packages\jinja2\environment.py", line 1295, in render
self.environment.handle_exception()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "C:\Users\TTOMCZA.EMEA\AppData\Roaming\Python\Python313\site-packages\jinja2\environment.py", line 942, in handle_exception
raise rewrite_traceback_stack(source=source)
File "C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\templates\tapo_control.html", line 1, in top-level template code
{% extends "base.html" %}
File "C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\templates\base.html", line 433, in top-level template code
{% block content %}{% endblock %}
^^^^^^^^^^^^^
File "C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\templates\tapo_control.html", line 251, in block 'content'
<a href="{{ url_for('admin.add_printer') }}?preset_plug_ip={{ ip }}"
File "C:\Users\TTOMCZA.EMEA\AppData\Roaming\Python\Python313\site-packages\flask\app.py", line 1697, in url_for
return self.handle_url_build_error(error, endpoint, values)
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\TTOMCZA.EMEA\AppData\Roaming\Python\Python313\site-packages\flask\app.py", line 1686, in url_for
rv = url_adapter.build( # type: ignore[union-attr]
endpoint,
...<3 lines>...
force_external=_external,
)
File "C:\Users\TTOMCZA.EMEA\AppData\Roaming\Python\Python313\site-packages\werkzeug\routing\map.py", line 924, in build
raise BuildError(endpoint, values, method, self)
werkzeug.routing.exceptions.BuildError: Could not build url for endpoint 'admin.add_printer'. Did you mean 'admin.add_printer_page' instead?
2025-06-13 12:48:44 - [app] app - [DEBUG] DEBUG - Response: 500
2025-06-13 12:48:56 - [app] app - [DEBUG] DEBUG - Request: GET /dashboard
2025-06-13 12:48:56 - [app] app - [INFO] INFO - Locating template 'dashboard.html':
1: trying loader of application '__main__'
class: jinja2.loaders.FileSystemLoader
encoding: 'utf-8'
followlinks: False
searchpath:
- C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\templates
-> found ('C:\\Users\\TTOMCZA.EMEA\\Dev\\Projektarbeit-MYP\\backend\\templates\\dashboard.html')
2025-06-13 12:48:56 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-13 12:48:58 - [app] app - [DEBUG] DEBUG - Request: GET /printers
2025-06-13 12:48:58 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-13 12:48:58 - [app] app - [DEBUG] DEBUG - Request: GET /api/printers
2025-06-13 12:48:58 - [app] app - [INFO] INFO - ✅ API: 6 Drucker abgerufen (include_inactive=True)
2025-06-13 12:48:58 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-13 12:48:59 - [app] app - [DEBUG] DEBUG - Request: GET /api/printers
2025-06-13 12:48:59 - [app] app - [INFO] INFO - ✅ API: 6 Drucker abgerufen (include_inactive=True)
2025-06-13 12:48:59 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-13 12:49:12 - [app] app - [DEBUG] DEBUG - Request: POST /api/printers/1/connect
2025-06-13 12:49:12 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/printers/1/connect
2025-06-13 12:49:12 - [app] app - [DEBUG] DEBUG - Response: 404
2025-06-13 12:49:14 - [app] app - [DEBUG] DEBUG - Request: POST /api/printers/1/connect
2025-06-13 12:49:14 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/printers/1/connect
2025-06-13 12:49:14 - [app] app - [DEBUG] DEBUG - Response: 404
2025-06-13 12:49:28 - [app] app - [DEBUG] DEBUG - Request: GET /api/printers
2025-06-13 12:49:29 - [app] app - [INFO] INFO - ✅ API: 6 Drucker abgerufen (include_inactive=True)
2025-06-13 12:49:29 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-13 12:49:29 - [app] app - [DEBUG] DEBUG - Request: GET /api/printers
2025-06-13 12:49:29 - [app] app - [INFO] INFO - ✅ API: 6 Drucker abgerufen (include_inactive=True)
2025-06-13 12:49:29 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-13 12:49:58 - [app] app - [DEBUG] DEBUG - Request: GET /api/printers
2025-06-13 12:49:58 - [app] app - [INFO] INFO - ✅ API: 6 Drucker abgerufen (include_inactive=True)
2025-06-13 12:49:59 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-13 12:49:59 - [app] app - [DEBUG] DEBUG - Request: GET /api/printers
2025-06-13 12:49:59 - [app] app - [INFO] INFO - ✅ API: 6 Drucker abgerufen (include_inactive=True)
2025-06-13 12:49:59 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-13 12:50:28 - [app] app - [DEBUG] DEBUG - Request: GET /api/printers
2025-06-13 12:50:29 - [app] app - [INFO] INFO - ✅ API: 6 Drucker abgerufen (include_inactive=True)
2025-06-13 12:50:29 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-13 12:50:29 - [app] app - [DEBUG] DEBUG - Request: GET /api/printers
2025-06-13 12:50:29 - [app] app - [INFO] INFO - ✅ API: 6 Drucker abgerufen (include_inactive=True)
2025-06-13 12:50:29 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-13 12:50:58 - [app] app - [DEBUG] DEBUG - Request: GET /api/printers
2025-06-13 12:50:58 - [app] app - [INFO] INFO - ✅ API: 6 Drucker abgerufen (include_inactive=True)
2025-06-13 12:50:58 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-13 12:50:59 - [app] app - [DEBUG] DEBUG - Request: GET /api/printers
2025-06-13 12:50:59 - [app] app - [INFO] INFO - ✅ API: 6 Drucker abgerufen (include_inactive=True)
2025-06-13 12:50:59 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-13 12:51:28 - [app] app - [DEBUG] DEBUG - Request: GET /api/printers
2025-06-13 12:51:28 - [app] app - [INFO] INFO - ✅ API: 6 Drucker abgerufen (include_inactive=True)
2025-06-13 12:51:28 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-13 12:51:29 - [app] app - [DEBUG] DEBUG - Request: GET /api/printers
2025-06-13 12:51:29 - [app] app - [INFO] INFO - ✅ API: 6 Drucker abgerufen (include_inactive=True)
2025-06-13 12:51:29 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-13 12:51:58 - [app] app - [DEBUG] DEBUG - Request: GET /api/printers
2025-06-13 12:51:58 - [app] app - [INFO] INFO - ✅ API: 6 Drucker abgerufen (include_inactive=True)
2025-06-13 12:51:58 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-13 12:51:59 - [app] app - [DEBUG] DEBUG - Request: GET /api/printers
2025-06-13 12:51:59 - [app] app - [INFO] INFO - ✅ API: 6 Drucker abgerufen (include_inactive=True)
2025-06-13 12:51:59 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-13 12:52:01 - [app] app - [DEBUG] DEBUG - Request: POST /api/printers/2/connect
2025-06-13 12:52:01 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/printers/2/connect
2025-06-13 12:52:01 - [app] app - [DEBUG] DEBUG - Response: 404
2025-06-13 12:52:09 - [app] app - [DEBUG] DEBUG - Request: GET /tapo/
2025-06-13 12:52:14 - [app] app - [DEBUG] DEBUG - Request: GET /jobs
2025-06-13 12:52:14 - [app] app - [INFO] INFO - Locating template 'jobs.html':
1: trying loader of application '__main__'
class: jinja2.loaders.FileSystemLoader
encoding: 'utf-8'
followlinks: False
searchpath:
- C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\templates
-> found ('C:\\Users\\TTOMCZA.EMEA\\Dev\\Projektarbeit-MYP\\backend\\templates\\jobs.html')
2025-06-13 12:52:14 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-13 12:52:14 - [app] app - [DEBUG] DEBUG - Request: GET /api/jobs
2025-06-13 12:52:14 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-13 12:52:14 - [app] app - [DEBUG] DEBUG - Request: GET /api/printers
2025-06-13 12:52:14 - [app] app - [INFO] INFO - ✅ API: 6 Drucker abgerufen (include_inactive=True)
2025-06-13 12:52:14 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-13 12:52:15 - [app] app - [DEBUG] DEBUG - Request: GET /jobs
2025-06-13 12:52:15 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-13 12:52:15 - [app] app - [DEBUG] DEBUG - Request: GET /api/jobs
2025-06-13 12:52:15 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-13 12:52:15 - [app] app - [DEBUG] DEBUG - Request: GET /api/printers
2025-06-13 12:52:15 - [app] app - [INFO] INFO - ✅ API: 6 Drucker abgerufen (include_inactive=True)
2025-06-13 12:52:15 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-13 12:52:19 - [app] app - [DEBUG] DEBUG - Request: GET /api/jobs
2025-06-13 12:52:19 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-13 12:52:22 - [app] app - [ERROR] ERROR - Unhandled Exception - ID: 20250613_125222
2025-06-13 12:52:22 - [app] app - [ERROR] ERROR - URL: http://127.0.0.1:5000/tapo/
2025-06-13 12:52:22 - [app] app - [ERROR] ERROR - Method: GET
2025-06-13 12:52:22 - [app] app - [ERROR] ERROR - User: admin
2025-06-13 12:52:22 - [app] app - [ERROR] ERROR - Exception Type: BuildError
2025-06-13 12:52:22 - [app] app - [ERROR] ERROR - Exception: Could not build url for endpoint 'admin.add_printer'. Did you mean 'admin.add_printer_page' instead?
2025-06-13 12:52:22 - [app] app - [ERROR] ERROR - Traceback: Traceback (most recent call last):
File "C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\blueprints\tapo_control.py", line 132, in tapo_dashboard
return render_template('tapo_control.html',
outlets=sorted_outlets,
total_outlets=len(sorted_outlets),
online_outlets=online_count,
fixed_layout=True) # Flag für festes Layout
File "C:\Users\TTOMCZA.EMEA\AppData\Roaming\Python\Python313\site-packages\flask\templating.py", line 151, in render_template
return _render(app, template, context)
File "C:\Users\TTOMCZA.EMEA\AppData\Roaming\Python\Python313\site-packages\flask\templating.py", line 132, in _render
rv = template.render(context)
File "C:\Users\TTOMCZA.EMEA\AppData\Roaming\Python\Python313\site-packages\jinja2\environment.py", line 1295, in render
self.environment.handle_exception()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "C:\Users\TTOMCZA.EMEA\AppData\Roaming\Python\Python313\site-packages\jinja2\environment.py", line 942, in handle_exception
raise rewrite_traceback_stack(source=source)
File "C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\templates\tapo_control.html", line 1, in top-level template code
{% extends "base.html" %}
File "C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\templates\base.html", line 433, in top-level template code
{% block content %}{% endblock %}
^^^^^^^^^^^^^
File "C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\templates\tapo_control.html", line 251, in block 'content'
<a href="{{ url_for('admin.add_printer') }}?preset_plug_ip={{ ip }}"
File "C:\Users\TTOMCZA.EMEA\AppData\Roaming\Python\Python313\site-packages\flask\app.py", line 1697, in url_for
return self.handle_url_build_error(error, endpoint, values)
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\TTOMCZA.EMEA\AppData\Roaming\Python\Python313\site-packages\flask\app.py", line 1686, in url_for
rv = url_adapter.build( # type: ignore[union-attr]
endpoint,
...<3 lines>...
force_external=_external,
)
File "C:\Users\TTOMCZA.EMEA\AppData\Roaming\Python\Python313\site-packages\werkzeug\routing\map.py", line 924, in build
raise BuildError(endpoint, values, method, self)
werkzeug.routing.exceptions.BuildError: Could not build url for endpoint 'admin.add_printer'. Did you mean 'admin.add_printer_page' instead?
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\TTOMCZA.EMEA\AppData\Roaming\Python\Python313\site-packages\flask\app.py", line 1484, in full_dispatch_request
rv = self.dispatch_request()
File "C:\Users\TTOMCZA.EMEA\AppData\Roaming\Python\Python313\site-packages\flask\app.py", line 1469, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
File "C:\Users\TTOMCZA.EMEA\AppData\Roaming\Python\Python313\site-packages\flask_login\utils.py", line 290, in decorated_view
return current_app.ensure_sync(func)(*args, **kwargs)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "C:\Users\TTOMCZA.EMEA\AppData\Roaming\Python\Python313\site-packages\flask_login\utils.py", line 290, in decorated_view
return current_app.ensure_sync(func)(*args, **kwargs)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\utils\security_suite.py", line 100, in wrapper
return f(*args, **kwargs)
File "C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\blueprints\tapo_control.py", line 159, in tapo_dashboard
return render_template('tapo_control.html',
outlets=error_outlets,
total_outlets=6,
online_outlets=0,
fixed_layout=True)
File "C:\Users\TTOMCZA.EMEA\AppData\Roaming\Python\Python313\site-packages\flask\templating.py", line 151, in render_template
return _render(app, template, context)
File "C:\Users\TTOMCZA.EMEA\AppData\Roaming\Python\Python313\site-packages\flask\templating.py", line 132, in _render
rv = template.render(context)
File "C:\Users\TTOMCZA.EMEA\AppData\Roaming\Python\Python313\site-packages\jinja2\environment.py", line 1295, in render
self.environment.handle_exception()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "C:\Users\TTOMCZA.EMEA\AppData\Roaming\Python\Python313\site-packages\jinja2\environment.py", line 942, in handle_exception
raise rewrite_traceback_stack(source=source)
File "C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\templates\tapo_control.html", line 1, in top-level template code
{% extends "base.html" %}
File "C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\templates\base.html", line 433, in top-level template code
{% block content %}{% endblock %}
^^^^^^^^^^^^^
File "C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\templates\tapo_control.html", line 251, in block 'content'
<a href="{{ url_for('admin.add_printer') }}?preset_plug_ip={{ ip }}"
File "C:\Users\TTOMCZA.EMEA\AppData\Roaming\Python\Python313\site-packages\flask\app.py", line 1697, in url_for
return self.handle_url_build_error(error, endpoint, values)
~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\TTOMCZA.EMEA\AppData\Roaming\Python\Python313\site-packages\flask\app.py", line 1686, in url_for
rv = url_adapter.build( # type: ignore[union-attr]
endpoint,
...<3 lines>...
force_external=_external,
)
File "C:\Users\TTOMCZA.EMEA\AppData\Roaming\Python\Python313\site-packages\werkzeug\routing\map.py", line 924, in build
raise BuildError(endpoint, values, method, self)
werkzeug.routing.exceptions.BuildError: Could not build url for endpoint 'admin.add_printer'. Did you mean 'admin.add_printer_page' instead?
2025-06-13 12:52:22 - [app] app - [DEBUG] DEBUG - Response: 500
2025-06-13 12:52:40 - [app] app - [DEBUG] DEBUG - Request: POST /api/jobs
2025-06-13 12:52:40 - [app] app - [DEBUG] DEBUG - Request: POST /api/jobs
2025-06-13 12:52:40 - [app] app - [DEBUG] DEBUG - Response: 302
2025-06-13 12:52:40 - [app] app - [ERROR] ERROR - Fehler beim Laden des Benutzers 1: (sqlite3.InterfaceError) bad parameter or other API misuse
[SQL: SELECT users.id AS users_id, users.email AS users_email, users.username AS users_username, users.password_hash AS users_password_hash, users.name AS users_name, users.role AS users_role, users.active AS users_active, users.created_at AS users_created_at, users.last_login AS users_last_login, users.updated_at AS users_updated_at, users.settings AS users_settings, users.last_activity AS users_last_activity, users.department AS users_department, users.position AS users_position, users.phone AS users_phone, users.bio AS users_bio, users.theme_preference AS users_theme_preference, users.language_preference AS users_language_preference, users.email_notifications AS users_email_notifications, users.browser_notifications AS users_browser_notifications, users.dashboard_layout AS users_dashboard_layout, users.compact_mode AS users_compact_mode, users.show_completed_jobs AS users_show_completed_jobs, users.auto_refresh_interval AS users_auto_refresh_interval, users.auto_logout_timeout AS users_auto_logout_timeout
FROM users
WHERE users.id = ?
LIMIT ? OFFSET ?]
[parameters: (1, 1, 0)]
(Background on this error at: https://sqlalche.me/e/20/rvf5)
2025-06-13 12:52:40 - [app] app - [DEBUG] DEBUG - Response: 302
2025-06-13 12:52:40 - [app] app - [DEBUG] DEBUG - Request: GET /auth/login
2025-06-13 12:52:40 - [app] app - [DEBUG] DEBUG - Response: 302
2025-06-13 12:52:40 - [app] app - [DEBUG] DEBUG - Request: GET /auth/login
2025-06-13 12:52:40 - [app] app - [DEBUG] DEBUG - Request: GET /
2025-06-13 12:52:40 - [app] app - [DEBUG] DEBUG - Response: 302
2025-06-13 12:52:40 - [app] app - [DEBUG] DEBUG - Response: 302
2025-06-13 12:52:40 - [app] app - [DEBUG] DEBUG - Request: GET /
2025-06-13 12:52:40 - [app] app - [DEBUG] DEBUG - Request: GET /dashboard
2025-06-13 12:52:40 - [app] app - [ERROR] ERROR - Fehler beim Laden des Benutzers 1: tuple index out of range
2025-06-13 12:52:40 - [app] app - [DEBUG] DEBUG - Response: 302
2025-06-13 12:52:40 - [app] app - [DEBUG] DEBUG - Response: 302
2025-06-13 12:52:40 - [app] app - [DEBUG] DEBUG - Request: GET /auth/login
2025-06-13 12:52:40 - [app] app - [DEBUG] DEBUG - Request: GET /dashboard
2025-06-13 12:52:40 - [app] app - [ERROR] ERROR - Fehler beim Laden des Benutzers 1: tuple index out of range
2025-06-13 12:52:40 - [app] app - [DEBUG] DEBUG - Response: 302
2025-06-13 12:52:40 - [app] app - [DEBUG] DEBUG - Response: 302
2025-06-13 12:52:40 - [app] app - [DEBUG] DEBUG - Request: GET /auth/login
2025-06-13 12:52:40 - [app] app - [DEBUG] DEBUG - Request: GET /
2025-06-13 12:52:40 - [app] app - [DEBUG] DEBUG - Response: 302
2025-06-13 12:52:40 - [app] app - [DEBUG] DEBUG - Response: 302
2025-06-13 12:52:40 - [app] app - [DEBUG] DEBUG - Request: GET /
2025-06-13 12:52:40 - [app] app - [DEBUG] DEBUG - Request: GET /dashboard
2025-06-13 12:52:40 - [app] app - [DEBUG] DEBUG - Response: 302
2025-06-13 12:52:40 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-13 12:52:40 - [app] app - [DEBUG] DEBUG - Request: GET /dashboard
2025-06-13 12:52:40 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-13 12:52:45 - [app] app - [DEBUG] DEBUG - Request: GET /api/jobs
2025-06-13 12:52:45 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-13 12:52:49 - [app] app - [DEBUG] DEBUG - Request: POST /api/jobs
2025-06-13 12:52:49 - [app] app - [DEBUG] DEBUG - Request: POST /api/jobs
2025-06-13 12:52:49 - [app] app - [DEBUG] DEBUG - Response: 500
2025-06-13 12:52:49 - [app] app - [DEBUG] DEBUG - Response: 500
2025-06-13 12:52:54 - [app] app - [DEBUG] DEBUG - Request: POST /api/jobs
2025-06-13 12:52:54 - [app] app - [DEBUG] DEBUG - Request: POST /api/jobs
2025-06-13 12:52:54 - [app] app - [DEBUG] DEBUG - Response: 500
2025-06-13 12:52:54 - [app] app - [DEBUG] DEBUG - Response: 500
2025-06-13 12:53:16 - [app] app - [DEBUG] DEBUG - Request: GET /api/jobs
2025-06-13 12:53:16 - [app] app - [DEBUG] DEBUG - Response: 200

View File

@@ -5,3 +5,5 @@
2025-06-12 21:01:17 - [calendar] calendar - [INFO] INFO - 📅 Kalender-Events abgerufen: 0 Einträge für Zeitraum 2025-06-07 22:00:00+00:00 bis 2025-06-14 22:00:00+00:00
2025-06-13 07:12:59 - [calendar] calendar - [INFO] INFO - 📅 Kalender-Events abgerufen: 0 Einträge für Zeitraum 2025-06-07 22:00:00+00:00 bis 2025-06-14 22:00:00+00:00
2025-06-13 07:13:06 - [calendar] calendar - [INFO] INFO - 📅 Kalender-Events abgerufen: 44 Einträge für Zeitraum 2025-06-07 22:00:00+00:00 bis 2025-06-14 22:00:00+00:00
2025-06-13 12:48:38 - [calendar] calendar - [INFO] INFO - 📅 Kalender-Events abgerufen: 0 Einträge für Zeitraum 2025-06-07 22:00:00+00:00 bis 2025-06-14 22:00:00+00:00
2025-06-13 12:48:43 - [calendar] calendar - [INFO] INFO - 📅 Kalender-Events abgerufen: 24 Einträge für Zeitraum 2025-06-07 22:00:00+00:00 bis 2025-06-14 22:00:00+00:00

View File

@@ -52,3 +52,11 @@
2025-06-13 12:39:10 - [energy_monitoring] energy_monitoring - [INFO] INFO - ✅ Energiemonitoring-Blueprint initialisiert
2025-06-13 12:39:45 - [energy_monitoring] energy_monitoring - [INFO] INFO - ✅ Energiemonitoring-Blueprint initialisiert
2025-06-13 12:39:49 - [energy_monitoring] energy_monitoring - [INFO] INFO - ✅ Energiemonitoring-Blueprint initialisiert
2025-06-13 12:47:30 - [energy_monitoring] energy_monitoring - [INFO] INFO - 🔋 Energiemonitoring-Dashboard aufgerufen von admin
2025-06-13 12:47:30 - [energy_monitoring] energy_monitoring - [INFO] INFO - 📊 API-Energiemonitoring-Dashboard von admin
2025-06-13 12:47:30 - [energy_monitoring] energy_monitoring - [INFO] INFO - 📈 API-Energiestatistiken (today) von admin
2025-06-13 12:47:30 - [energy_monitoring] energy_monitoring - [INFO] INFO - ✅ Dashboard-Daten erfolgreich erstellt: 0 Geräte online
2025-06-13 12:47:30 - [energy_monitoring] energy_monitoring - [INFO] INFO - [OK] API-Energiemonitoring-Dashboard 'api_energy_dashboard' erfolgreich in 10.26ms
2025-06-13 12:47:30 - [energy_monitoring] energy_monitoring - [INFO] INFO - ✅ Energiestatistiken erfolgreich erstellt für Zeitraum: today
2025-06-13 12:47:30 - [energy_monitoring] energy_monitoring - [INFO] INFO - [OK] API-Energiestatistiken 'api_energy_statistics' erfolgreich in 10.75ms
2025-06-13 12:47:30 - [energy_monitoring] energy_monitoring - [INFO] INFO - [OK] API-Live-Energiedaten 'api_live_energy_data' erfolgreich in 8.32ms

View File

@@ -562,3 +562,39 @@
2025-06-13 12:39:47 - [hardware_integration] hardware_integration - [INFO] INFO - ✅ Printer Monitor initialisiert
2025-06-13 12:39:47 - [hardware_integration] hardware_integration - [INFO] INFO - ✅ Hardware Integration Module initialisiert
2025-06-13 12:39:47 - [hardware_integration] hardware_integration - [INFO] INFO - 📊 Massive Konsolidierung: 2 Dateien → 1 Datei (50% Reduktion)
2025-06-13 12:47:30 - [hardware_integration] hardware_integration - [INFO] INFO - 🔋 Sammle Energiestatistiken von allen P110 Steckdosen...
2025-06-13 12:47:30 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ Konnte Energiedaten für Drucker 1 nicht abrufen: module 'PyP100.PyP100' has no attribute 'P110'
2025-06-13 12:47:30 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ Konnte Energiedaten für Drucker 2 nicht abrufen: module 'PyP100.PyP100' has no attribute 'P110'
2025-06-13 12:47:30 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ Konnte Energiedaten für Drucker 3 nicht abrufen: module 'PyP100.PyP100' has no attribute 'P110'
2025-06-13 12:47:30 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ Konnte Energiedaten für Drucker 4 nicht abrufen: module 'PyP100.PyP100' has no attribute 'P110'
2025-06-13 12:47:30 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ Konnte Energiedaten für Drucker 5 nicht abrufen: module 'PyP100.PyP100' has no attribute 'P110'
2025-06-13 12:47:30 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ Konnte Energiedaten für Drucker 6 nicht abrufen: module 'PyP100.PyP100' has no attribute 'P110'
2025-06-13 12:47:30 - [hardware_integration] hardware_integration - [INFO] INFO - ✅ Energiestatistiken erfolgreich gesammelt: 0/6 Geräte online
2025-06-13 12:47:30 - [hardware_integration] hardware_integration - [INFO] INFO - 📊 Gesamtverbrauch: 0.0W aktuell, 0.0Wh heute
2025-06-13 12:47:30 - [hardware_integration] hardware_integration - [INFO] INFO - 🔋 Sammle Energiestatistiken von allen P110 Steckdosen...
2025-06-13 12:47:30 - [hardware_integration] hardware_integration - [INFO] INFO - 🔋 Sammle Energiestatistiken von allen P110 Steckdosen...
2025-06-13 12:47:30 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ Konnte Energiedaten für Drucker 1 nicht abrufen: module 'PyP100.PyP100' has no attribute 'P110'
2025-06-13 12:47:30 - [hardware_integration] hardware_integration - [INFO] INFO - 🔋 Sammle Energiestatistiken von allen P110 Steckdosen...
2025-06-13 12:47:30 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ Konnte Energiedaten für Drucker 2 nicht abrufen: module 'PyP100.PyP100' has no attribute 'P110'
2025-06-13 12:47:30 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ Konnte Energiedaten für Drucker 1 nicht abrufen: module 'PyP100.PyP100' has no attribute 'P110'
2025-06-13 12:47:30 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ Konnte Energiedaten für Drucker 1 nicht abrufen: module 'PyP100.PyP100' has no attribute 'P110'
2025-06-13 12:47:30 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ Konnte Energiedaten für Drucker 3 nicht abrufen: module 'PyP100.PyP100' has no attribute 'P110'
2025-06-13 12:47:30 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ Konnte Energiedaten für Drucker 2 nicht abrufen: module 'PyP100.PyP100' has no attribute 'P110'
2025-06-13 12:47:30 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ Konnte Energiedaten für Drucker 2 nicht abrufen: module 'PyP100.PyP100' has no attribute 'P110'
2025-06-13 12:47:30 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ Konnte Energiedaten für Drucker 4 nicht abrufen: module 'PyP100.PyP100' has no attribute 'P110'
2025-06-13 12:47:30 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ Konnte Energiedaten für Drucker 3 nicht abrufen: module 'PyP100.PyP100' has no attribute 'P110'
2025-06-13 12:47:30 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ Konnte Energiedaten für Drucker 3 nicht abrufen: module 'PyP100.PyP100' has no attribute 'P110'
2025-06-13 12:47:30 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ Konnte Energiedaten für Drucker 5 nicht abrufen: module 'PyP100.PyP100' has no attribute 'P110'
2025-06-13 12:47:30 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ Konnte Energiedaten für Drucker 4 nicht abrufen: module 'PyP100.PyP100' has no attribute 'P110'
2025-06-13 12:47:30 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ Konnte Energiedaten für Drucker 4 nicht abrufen: module 'PyP100.PyP100' has no attribute 'P110'
2025-06-13 12:47:30 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ Konnte Energiedaten für Drucker 6 nicht abrufen: module 'PyP100.PyP100' has no attribute 'P110'
2025-06-13 12:47:30 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ Konnte Energiedaten für Drucker 5 nicht abrufen: module 'PyP100.PyP100' has no attribute 'P110'
2025-06-13 12:47:30 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ Konnte Energiedaten für Drucker 5 nicht abrufen: module 'PyP100.PyP100' has no attribute 'P110'
2025-06-13 12:47:30 - [hardware_integration] hardware_integration - [INFO] INFO - ✅ Energiestatistiken erfolgreich gesammelt: 0/6 Geräte online
2025-06-13 12:47:30 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ Konnte Energiedaten für Drucker 6 nicht abrufen: module 'PyP100.PyP100' has no attribute 'P110'
2025-06-13 12:47:30 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ Konnte Energiedaten für Drucker 6 nicht abrufen: module 'PyP100.PyP100' has no attribute 'P110'
2025-06-13 12:47:30 - [hardware_integration] hardware_integration - [INFO] INFO - 📊 Gesamtverbrauch: 0.0W aktuell, 0.0Wh heute
2025-06-13 12:47:30 - [hardware_integration] hardware_integration - [INFO] INFO - ✅ Energiestatistiken erfolgreich gesammelt: 0/6 Geräte online
2025-06-13 12:47:30 - [hardware_integration] hardware_integration - [INFO] INFO - ✅ Energiestatistiken erfolgreich gesammelt: 0/6 Geräte online
2025-06-13 12:47:30 - [hardware_integration] hardware_integration - [INFO] INFO - 📊 Gesamtverbrauch: 0.0W aktuell, 0.0Wh heute
2025-06-13 12:47:30 - [hardware_integration] hardware_integration - [INFO] INFO - 📊 Gesamtverbrauch: 0.0W aktuell, 0.0Wh heute

View File

@@ -424,3 +424,5 @@
2025-06-13 12:39:47 - [job_queue_system] job_queue_system - [INFO] INFO - ✅ Job & Queue System Module initialisiert
2025-06-13 12:39:47 - [job_queue_system] job_queue_system - [INFO] INFO - 📊 MASSIVE Konsolidierung: 4 Dateien → 1 Datei (75% Reduktion)
2025-06-13 12:39:49 - [job_queue_system] job_queue_system - [INFO] INFO - Queue Manager gestartet (Legacy-Kompatibilität)
2025-06-13 12:53:18 - [job_queue_system] job_queue_system - [INFO] INFO - Queue Manager gestoppt (Legacy-Kompatibilität)
2025-06-13 12:53:18 - [job_queue_system] job_queue_system - [INFO] INFO - Queue Manager gestoppt (Legacy-Kompatibilität)

View File

@@ -573,3 +573,21 @@ IndexError: tuple index out of range
2025-06-13 07:18:48 - [jobs] jobs - [INFO] INFO - ✅ Jobs erfolgreich abgerufen: 1 von 1 (Seite 1)
2025-06-13 07:19:18 - [jobs] jobs - [INFO] INFO - 📋 Jobs-Abfrage gestartet von Benutzer 1 (Admin: True)
2025-06-13 07:19:18 - [jobs] jobs - [INFO] INFO - ✅ Jobs erfolgreich abgerufen: 1 von 1 (Seite 1)
2025-06-13 12:52:14 - [jobs] jobs - [INFO] INFO - 📋 Jobs-Abfrage gestartet von Benutzer 1 (Admin: True)
2025-06-13 12:52:14 - [jobs] jobs - [INFO] INFO - ✅ Jobs erfolgreich abgerufen: 0 von 0 (Seite 1)
2025-06-13 12:52:15 - [jobs] jobs - [INFO] INFO - 📋 Jobs-Abfrage gestartet von Benutzer 1 (Admin: True)
2025-06-13 12:52:15 - [jobs] jobs - [INFO] INFO - ✅ Jobs erfolgreich abgerufen: 0 von 0 (Seite 1)
2025-06-13 12:52:19 - [jobs] jobs - [INFO] INFO - 📋 Jobs-Abfrage gestartet von Benutzer 1 (Admin: True)
2025-06-13 12:52:19 - [jobs] jobs - [INFO] INFO - ✅ Jobs erfolgreich abgerufen: 0 von 0 (Seite 1)
2025-06-13 12:52:45 - [jobs] jobs - [INFO] INFO - 📋 Jobs-Abfrage gestartet von Benutzer 1 (Admin: True)
2025-06-13 12:52:45 - [jobs] jobs - [INFO] INFO - ✅ Jobs erfolgreich abgerufen: 0 von 0 (Seite 1)
2025-06-13 12:52:49 - [jobs] jobs - [INFO] INFO - 🚀 Neue Job-Erstellung gestartet von Benutzer 1
2025-06-13 12:52:49 - [jobs] jobs - [INFO] INFO - 🚀 Neue Job-Erstellung gestartet von Benutzer 1
2025-06-13 12:52:49 - [jobs] jobs - [ERROR] ERROR - ❌ Datenbankfehler beim Job-Erstellen: 'ConflictManager' object has no attribute 'detect_conflicts'
2025-06-13 12:52:49 - [jobs] jobs - [ERROR] ERROR - ❌ Datenbankfehler beim Job-Erstellen: 'ConflictManager' object has no attribute 'detect_conflicts'
2025-06-13 12:52:54 - [jobs] jobs - [INFO] INFO - 🚀 Neue Job-Erstellung gestartet von Benutzer 1
2025-06-13 12:52:54 - [jobs] jobs - [INFO] INFO - 🚀 Neue Job-Erstellung gestartet von Benutzer 1
2025-06-13 12:52:54 - [jobs] jobs - [ERROR] ERROR - ❌ Datenbankfehler beim Job-Erstellen: 'ConflictManager' object has no attribute 'detect_conflicts'
2025-06-13 12:52:54 - [jobs] jobs - [ERROR] ERROR - ❌ Datenbankfehler beim Job-Erstellen: 'ConflictManager' object has no attribute 'detect_conflicts'
2025-06-13 12:53:16 - [jobs] jobs - [INFO] INFO - 📋 Jobs-Abfrage gestartet von Benutzer 1 (Admin: True)
2025-06-13 12:53:16 - [jobs] jobs - [INFO] INFO - ✅ Jobs erfolgreich abgerufen: 0 von 0 (Seite 1)

View File

@@ -121,3 +121,39 @@
2025-06-13 12:41:03 - [tapo_control] tapo_control - [WARNING] WARNING - ⚠️ Steckdose 6 (192.168.1.206) nicht erreichbar
2025-06-13 12:41:03 - [tapo_control] tapo_control - [INFO] INFO - Dashboard geladen: 6 Steckdosen konfiguriert, 0 online
2025-06-13 12:41:03 - [tapo_control] tapo_control - [ERROR] ERROR - Fehler beim Laden des Tapo-Dashboards: Could not build url for endpoint 'admin.add_printer'. Did you mean 'admin.add_printer_page' instead?
2025-06-13 12:46:55 - [tapo_control] tapo_control - [INFO] INFO - Tapo Dashboard aufgerufen von Benutzer: Administrator
2025-06-13 12:46:57 - [tapo_control] tapo_control - [WARNING] WARNING - ⚠️ Steckdose 1 (192.168.1.201) nicht erreichbar
2025-06-13 12:46:59 - [tapo_control] tapo_control - [WARNING] WARNING - ⚠️ Steckdose 2 (192.168.1.202) nicht erreichbar
2025-06-13 12:47:01 - [tapo_control] tapo_control - [WARNING] WARNING - ⚠️ Steckdose 3 (192.168.1.203) nicht erreichbar
2025-06-13 12:47:03 - [tapo_control] tapo_control - [WARNING] WARNING - ⚠️ Steckdose 4 (192.168.1.204) nicht erreichbar
2025-06-13 12:47:05 - [tapo_control] tapo_control - [WARNING] WARNING - ⚠️ Steckdose 5 (192.168.1.205) nicht erreichbar
2025-06-13 12:47:08 - [tapo_control] tapo_control - [WARNING] WARNING - ⚠️ Steckdose 6 (192.168.1.206) nicht erreichbar
2025-06-13 12:47:08 - [tapo_control] tapo_control - [INFO] INFO - Dashboard geladen: 6 Steckdosen konfiguriert, 0 online
2025-06-13 12:47:08 - [tapo_control] tapo_control - [ERROR] ERROR - Fehler beim Laden des Tapo-Dashboards: Could not build url for endpoint 'admin.add_printer'. Did you mean 'admin.add_printer_page' instead?
2025-06-13 12:48:16 - [tapo_control] tapo_control - [INFO] INFO - Tapo Dashboard aufgerufen von Benutzer: Administrator
2025-06-13 12:48:18 - [tapo_control] tapo_control - [WARNING] WARNING - ⚠️ Steckdose 1 (192.168.1.201) nicht erreichbar
2025-06-13 12:48:21 - [tapo_control] tapo_control - [WARNING] WARNING - ⚠️ Steckdose 2 (192.168.1.202) nicht erreichbar
2025-06-13 12:48:23 - [tapo_control] tapo_control - [WARNING] WARNING - ⚠️ Steckdose 3 (192.168.1.203) nicht erreichbar
2025-06-13 12:48:25 - [tapo_control] tapo_control - [WARNING] WARNING - ⚠️ Steckdose 4 (192.168.1.204) nicht erreichbar
2025-06-13 12:48:27 - [tapo_control] tapo_control - [WARNING] WARNING - ⚠️ Steckdose 5 (192.168.1.205) nicht erreichbar
2025-06-13 12:48:29 - [tapo_control] tapo_control - [WARNING] WARNING - ⚠️ Steckdose 6 (192.168.1.206) nicht erreichbar
2025-06-13 12:48:29 - [tapo_control] tapo_control - [INFO] INFO - Dashboard geladen: 6 Steckdosen konfiguriert, 0 online
2025-06-13 12:48:29 - [tapo_control] tapo_control - [ERROR] ERROR - Fehler beim Laden des Tapo-Dashboards: Could not build url for endpoint 'admin.add_printer'. Did you mean 'admin.add_printer_page' instead?
2025-06-13 12:48:31 - [tapo_control] tapo_control - [INFO] INFO - Tapo Dashboard aufgerufen von Benutzer: Administrator
2025-06-13 12:48:33 - [tapo_control] tapo_control - [WARNING] WARNING - ⚠️ Steckdose 1 (192.168.1.201) nicht erreichbar
2025-06-13 12:48:36 - [tapo_control] tapo_control - [WARNING] WARNING - ⚠️ Steckdose 2 (192.168.1.202) nicht erreichbar
2025-06-13 12:48:38 - [tapo_control] tapo_control - [WARNING] WARNING - ⚠️ Steckdose 3 (192.168.1.203) nicht erreichbar
2025-06-13 12:48:40 - [tapo_control] tapo_control - [WARNING] WARNING - ⚠️ Steckdose 4 (192.168.1.204) nicht erreichbar
2025-06-13 12:48:42 - [tapo_control] tapo_control - [WARNING] WARNING - ⚠️ Steckdose 5 (192.168.1.205) nicht erreichbar
2025-06-13 12:48:44 - [tapo_control] tapo_control - [WARNING] WARNING - ⚠️ Steckdose 6 (192.168.1.206) nicht erreichbar
2025-06-13 12:48:44 - [tapo_control] tapo_control - [INFO] INFO - Dashboard geladen: 6 Steckdosen konfiguriert, 0 online
2025-06-13 12:48:44 - [tapo_control] tapo_control - [ERROR] ERROR - Fehler beim Laden des Tapo-Dashboards: Could not build url for endpoint 'admin.add_printer'. Did you mean 'admin.add_printer_page' instead?
2025-06-13 12:52:09 - [tapo_control] tapo_control - [INFO] INFO - Tapo Dashboard aufgerufen von Benutzer: Administrator
2025-06-13 12:52:11 - [tapo_control] tapo_control - [WARNING] WARNING - ⚠️ Steckdose 1 (192.168.1.201) nicht erreichbar
2025-06-13 12:52:13 - [tapo_control] tapo_control - [WARNING] WARNING - ⚠️ Steckdose 2 (192.168.1.202) nicht erreichbar
2025-06-13 12:52:15 - [tapo_control] tapo_control - [WARNING] WARNING - ⚠️ Steckdose 3 (192.168.1.203) nicht erreichbar
2025-06-13 12:52:17 - [tapo_control] tapo_control - [WARNING] WARNING - ⚠️ Steckdose 4 (192.168.1.204) nicht erreichbar
2025-06-13 12:52:20 - [tapo_control] tapo_control - [WARNING] WARNING - ⚠️ Steckdose 5 (192.168.1.205) nicht erreichbar
2025-06-13 12:52:22 - [tapo_control] tapo_control - [WARNING] WARNING - ⚠️ Steckdose 6 (192.168.1.206) nicht erreichbar
2025-06-13 12:52:22 - [tapo_control] tapo_control - [INFO] INFO - Dashboard geladen: 6 Steckdosen konfiguriert, 0 online
2025-06-13 12:52:22 - [tapo_control] tapo_control - [ERROR] ERROR - Fehler beim Laden des Tapo-Dashboards: Could not build url for endpoint 'admin.add_printer'. Did you mean 'admin.add_printer_page' instead?

View File

@@ -136,3 +136,8 @@
2025-06-13 12:39:09 - [tapo_controller] tapo_controller - [INFO] INFO - ✅ tapo controller initialisiert
2025-06-13 12:39:43 - [tapo_controller] tapo_controller - [INFO] INFO - ✅ tapo controller initialisiert
2025-06-13 12:39:47 - [tapo_controller] tapo_controller - [INFO] INFO - ✅ tapo controller initialisiert
2025-06-13 12:47:48 - [tapo_controller] tapo_controller - [INFO] INFO - ✅ tapo-steckdose 192.168.0.101 erfolgreich eingeschaltet
2025-06-13 12:47:52 - [tapo_controller] tapo_controller - [INFO] INFO - ✅ tapo-steckdose 192.168.0.100 erfolgreich eingeschaltet
2025-06-13 12:47:55 - [tapo_controller] tapo_controller - [INFO] INFO - ✅ tapo-steckdose 192.168.0.102 erfolgreich eingeschaltet
2025-06-13 12:48:00 - [tapo_controller] tapo_controller - [INFO] INFO - ✅ tapo-steckdose 192.168.0.106 erfolgreich eingeschaltet
2025-06-13 12:48:03 - [tapo_controller] tapo_controller - [INFO] INFO - ✅ tapo-steckdose 192.168.0.103 erfolgreich eingeschaltet