🎉 Feat: Enhanced Printer Management System

This commit introduces a comprehensive overhaul of the printer management system, enhancing its functionality and user experience. The following changes have been implemented:

- backend/blueprints/__pycache__/admin_unified.cpython-311.pyc: Updated for improved admin interface integration.
- backend/blueprints/__pycache__/drucker_steuerung.cpython-311.pyc
This commit is contained in:
2025-06-19 22:34:54 +02:00
parent 9696cdcc3f
commit 78a9f9545f
25 changed files with 332 additions and 38 deletions

View File

@@ -2620,7 +2620,8 @@ def tapo_monitoring():
# Aktueller Status aller Tapo-Steckdosen abrufen
try:
from utils.hardware_integration import tapo_controller
from utils.hardware_integration import get_tapo_controller
tapo_controller = get_tapo_controller()
tapo_available = True
# Status für jeden Drucker mit Tapo-Steckdose abrufen
@@ -2749,7 +2750,8 @@ def api_admin_bulk_tapo_control():
# Tapo-Controller laden
try:
from utils.hardware_integration import tapo_controller
from utils.hardware_integration import get_tapo_controller
tapo_controller = get_tapo_controller()
except Exception as e:
return jsonify({
'success': False,
@@ -2870,7 +2872,8 @@ def api_admin_tapo_health_check():
try:
# Tapo-Controller laden
try:
from utils.hardware_integration import tapo_controller
from utils.hardware_integration import get_tapo_controller
tapo_controller = get_tapo_controller()
tapo_available = True
except Exception as e:
return jsonify({
@@ -3060,7 +3063,8 @@ def api_admin_configure_printer_tapo():
test_result = None
if test_connection and printer.plug_ip:
try:
from utils.hardware_integration import tapo_controller
from utils.hardware_integration import get_tapo_controller
tapo_controller = get_tapo_controller()
test_result = tapo_controller.test_connection(
printer.plug_ip,
username=printer.plug_username,