Switched from browser refresh to update webpage with API fetch

Added an ID field to the API. Added a fetch script that updates the webpage every second.
This commit is contained in:
2025-08-31 14:06:55 +02:00
parent f2a006b397
commit 6103a34ae1
3 changed files with 42 additions and 2 deletions

View File

@@ -40,6 +40,7 @@ class service:
"ping": self.ping,
"label": self.label,
"icon_filetype": self.icon_filetype,
"id": self.id,
}
def set_status(self, status: Optional[int]):