Dashboard Type¶
Arrangement¶
Widget arrangement configuration on the dashboard layout.
Attributes:
widget_id: strUnique identifier for the widgetx: int or floatHorizontal position coordinatey: int or floatVertical position coordinatewidth: int or floatWidget widthheight: int or floatWidget heighttab: Optional[str]Tab identifier where the widget is located
DashboardCreateInfo¶
Information required to create a new dashboard.
Attributes:
label: strDashboard label/namearrangement: list[Arrangement]Layout configuration for widgetstags: list[TagsObj]Tags for dashboard categorizationvisible: boolDashboard visibility status
icon¶
Dashboard icon configuration.
Attributes:
url: strIcon URLcolor: Optional[str]Icon color Hexadecimal
conditions¶
Condition key-value pair for blueprint device filtering.
Attributes:
key: strCondition keyvalue: strCondition value
filter_conditions¶
Filter conditions for blueprint device selection.
Attributes:
blueprint_device: strBlueprint device identifiertag_key: strTag key for filteringtype: strFilter type
BlueprintDeviceConfig¶
Blueprint device configuration for dynamic dashboards.
Attributes:
conditions: list[conditions]Device selection conditionsname: strBlueprint nameid: strBlueprint identifierlabel: strBlueprint labelfilter_conditions: list[filter_conditions]Filter conditionstheme: anyTheme configurationsetup: anySetup configuration
DashboardInfo¶
Complete dashboard information.
Attributes:
id: GenericIDDashboard unique identifiercreated_at: datetimeDashboard creation timestampupdated_at: datetimeLast update timestamplast_access: datetimeLast access timestampgroup_by: listGrouping configurationtabs: listDashboard tabsicon: iconDashboard iconbackground: anyBackground configurationtype: strDashboard typeblueprint_device_behavior: “more_than_one” or “always”Blueprint device behavior modeblueprint_selector_behavior: “open” or “closed” or “always_open” or “always_closed”Blueprint selector behavior modeblueprint_devices: BlueprintDeviceConfigBlueprint device configurationtheme: anyDashboard themesetup: anyDashboard setupshared: sharedSharing configuration
WidgetData¶
Widget data configuration.
Attributes:
origin: GenericIDData origin identifierqty: Optional[int or float]Quantity of data pointstimezone: Optional[str]Timezone for data queriesvariables: Optional[str]Variables to querybucket: Optional[GenericID]Bucket identifierquery: Optional[“min” or “max” or “count” or “avg” or “sum”]Query typestart_date: Optional[datetime or str]Query start dateend_date: Optional[datetime or str]Query end dateoverwrite: Optional[bool]Whether to overwrite existing data
WidgetResource¶
DeviceResourceView¶
Available views for device resources in widgets.
Type:
Literal[f”tags.{str}”, f”param.{str}”, “name”, “id”, “bucket_name”, “network_name”, “connector_name”, “connector”, “network”, “bucket”, “last_input”, “created_at”, “active”]
WidgetDeviceResource¶
Device resource configuration for widgets.
Attributes:
type: “device”Resource typeview: DeviceResourceViewView configurationeditable: “name” or f”tags.{str}” or f”param.{str}”Editable fields
EditDeviceResource¶
Device resource edit configuration.
Attributes:
device: GenericIDDevice identifiername: Optional[str]Device nameactive: Optional[bool]Device active statusedit: dict[str, str or bool]Fields to edit
EditResourceOptions¶
Options for editing resources.
Attributes:
identifier: Optional[str]Resource identifier
WidgetInfo¶
Complete widget information.
Attributes:
analysis_run: Optional[GenericID]Analysis run identifierdashboard: Optional[GenericID]Dashboard identifierdisplay: anyDisplay configurationdata: Optional[list[WidgetData]]Widget data configurationresource: Optional[list[WidgetDeviceResource]]Widget resource configurationid: Optional[GenericID]Widget identifierlabel: strWidget labelrealtime: Optional[bool]Real-time update statustype: strWidget type
PostDataModel¶
Model for posting data to widgets.
Attributes:
origin: GenericIDData origin identifiervariable: strVariable name
BlueprintDeviceOrigin¶
widgetOverwrite¶
Widget data overwrite options.
Attributes:
start_date: Optional[any]Override start dateend_date: Optional[any]Override end datetimezone: Optional[any]Override timezone
GetDataModel¶
Model for retrieving widget data.
Attributes:
overwrite: Optional[widgetOverwrite]Overwrite optionsblueprint_devices: Optional[list[BlueprintDeviceOrigin]]Blueprint devices listpage: Optional[int or float]Page number for paginationamount: Optional[int or float]Amount of items per page
PublicKeyResponse¶
Response containing dashboard public access token.
Attributes:
token: GenericTokenPublic access tokenexpire_time: ExpireTimeOptionToken expiration time
EditDataModel¶
Model for editing widget data.
Extends: PostDataModel
Additional Attributes:
id: GenericIDData record identifier
widgetOverwriteOptions¶
Available options for widget data override.
Type:
Literal[“start_date”, “end_date”, “timezone”]