diff --git a/srv/poe_manager/app.py b/srv/poe_manager/app.py index e9ce29f..14ef58b 100644 --- a/srv/poe_manager/app.py +++ b/srv/poe_manager/app.py @@ -116,7 +116,7 @@ def index(): # Geräte aus DB laden conn = sqlite3.connect("sqlite.db") c = conn.cursor() - c.execute("SELECT mac, name, is_active FROM devices ORDER BY name ASC") + c.execute("SELECT mac, name, rpi_ip, switch_hostname, port, is_active FROM devices ORDER BY name ASC") devices = c.fetchall() # Intervall aus DB laden