Devices
The following devices are included in the App and can be used directly. If you want to add your own devices, have a look at the Tutorial.
If you think you have an interesting device with a power profile which should be included in the App for all users, reach out on the Support page.
Name |
Type |
Standard Room |
Source |
|---|---|---|---|
Boiler |
boiler |
bathroom |
Tracebase |
Bügeleisen |
iron |
bathroom |
Tracebase |
Desktop PC |
desktop_pc |
office |
Tracebase |
Drucker |
printer |
office |
Tracebase |
Fernseher |
tv_lcd |
livingroom |
Tracebase |
Kühlschrank |
refrigerator |
kitchen |
Tracebase |
Lampe |
lamp |
Tracebase |
|
Router |
router |
office |
Tracebase |
Spielekonsole |
playstation |
livingroom |
Tracebase |
Spülmaschine |
dishwasher |
kitchen |
Tracebase |
Tiefkühlschrank |
freezer |
kitchen |
Tracebase |
Waschmaschine |
washing_machine |
bathroom |
Tracebase |
Wasserkocher |
kettle |
kitchen |
Tracebase |
As of June 2023
The file database_script.py contains a few modules to manipulate the sql databases. They can help to add different types of profiles or create new devices in the database.
- database_script.add_device_to_database(device_type, standard_room, device_name, menu_type, icon, power_options)
Module to add a new device to the sql database.
- Parameters:
device_type (str) – Unique type of device which should be added
standard_room (str) – The standard room of the device, where it automatically appears in the menu
device_name (str) – Displayed Device name
menu_type (str) – Type of device, ‘device_preset’ or ‘device_custom’
icon (str) – Iconify icon name reference
power_options (dict) – Dictionary of options for power profiles
- Returns:
None
- database_script.write_part_profile_to_database(start_index, end_index, values, series_id, device_type, standby)
Module to write a custom device load profile to the corresponding database.
- Parameters:
start_index (int) – Minute of the day on which the profile snippet starts (corresponding to the input file)
end_index (int) – Minute of the day on which the profile snippet ends (corresponding to the input file)
values (list[int]) – Complete load profile as
series_id (str) – Unique series_id of the profile
device_type (str) – Type of device which can use this profile
standby (int) – Standby power of the device for times outside the used profile snippet
- Returns:
None
- database_script.write_to_database(database, values, series_id, device_type)
Module to write a preset device load profile to the corresponding database.
- Parameters:
database (str) – Database name
values (list[int]) – List of power values, 1440 steps
series_id (str) – Unique series_id of the profile
device_type (str) – Type of device which can use this profile
- Returns:
None