Add files from GitHub.

This commit is contained in:
WickedJack99
2025-12-07 01:00:15 +01:00
commit a0b6239334
53 changed files with 2843 additions and 0 deletions

View File

@@ -0,0 +1,42 @@
Table instances:
A. id - Python int - SQLite INTEGER - ID der Instanz
B. owner - Python str - SQLite TEXT - wer besitzt die Instanz?
C. calculated_demand - Python bytes (UTF-8 encoding) - SQLite BLOB - die vorberechnete Liste ueber
den Energiebedarf jeder Instanz
im json Format
Beispiel:
{
"energy_demands":[
{
"date": "01.01.2024",
"energy_demand_in_watts": 4
}
]
}
D. number_of_persons_in_household - Python int - SQLite INTEGER - Anzahl Personen in Haushalt
E. fulfilled_demand - Python bytes (UTF-8 encoding) - SQLite BLOB - der tatsaechlich gedeckte Energiebedarf
am jeweiligen Datum im json Format
Beispiel:
{
"scored_demand":[
{
"date": "01.01.2024",
"scored_energy_demand_in_watts": 3,
"busy_method_used":[
"hpc"
]
}
]
}
F. status - Python str - SQLite TEXT - Status der Instanz, "offline", "online", "error"
G. heater_busy_methods - Python bytes (UTF-8 encoding) - SQLite BLOB - Methoden, welche die Instanz ausfuehrt im json Format
Beispiel:
{
"busy_methods_active":[
"hpc"
]
}
Table application:
A. state - Python constants.State - SQLite TEXT - Zustand der Anwendung, Running oder Stopped