diff --git a/install/proxmox/requirements.txt b/install/proxmox/requirements.txt index 94b10d3f..6948ea66 100755 --- a/install/proxmox/requirements.txt +++ b/install/proxmox/requirements.txt @@ -4,7 +4,7 @@ aiohttp graphene flask flask-cors -unifi-sm-api>=0.2.2 +unifi-sm-api>=0.2.3 tplink-omada-client wakeonlan pycryptodome diff --git a/install/ubuntu24/requirements.txt b/install/ubuntu24/requirements.txt index 94b10d3f..6948ea66 100755 --- a/install/ubuntu24/requirements.txt +++ b/install/ubuntu24/requirements.txt @@ -4,7 +4,7 @@ aiohttp graphene flask flask-cors -unifi-sm-api>=0.2.2 +unifi-sm-api>=0.2.3 tplink-omada-client wakeonlan pycryptodome diff --git a/requirements.txt b/requirements.txt index fc9402b7..9d03b87b 100755 --- a/requirements.txt +++ b/requirements.txt @@ -5,7 +5,7 @@ aiohttp graphene flask flask-cors -unifi-sm-api>=0.2.2 +unifi-sm-api>=0.2.3 tplink-omada-client wakeonlan pycryptodome diff --git a/server/db/db_helper.py b/server/db/db_helper.py index eca85917..8ceb534b 100755 --- a/server/db/db_helper.py +++ b/server/db/db_helper.py @@ -29,6 +29,7 @@ def get_device_conditions(): "unknown": f"WHERE devIsArchived=0 AND devName in ({NULL_EQUIVALENTS_SQL})", "known": f"WHERE devIsArchived=0 AND devName not in ({NULL_EQUIVALENTS_SQL})", "favorites_offline": "WHERE devIsArchived=0 AND devFavorite=1 AND devPresentLastScan=0", + "new_online": "WHERE devIsArchived=0 AND devIsNew=1 AND devPresentLastScan=0", } return conditions