system.kanoa.attribute.getAttributeEventTotals(paramsDict)
Returns attribute event totals for the given parameters. paramsDict keys are optional.
Parameters
paramsDict Dictionary
| - assetId | Integer | |
| - assetPath | String | |
| - attributeAssetLinkId | Integer | |
| - attributeName | String | |
| - attributePath | String | |
| - endDate | DateTime | Set to None to return the current value |
| - startDate | DateTime | |
| - strictDates | Boolean | If true then we only return events where the tStamp is between the start and endDate |
Returns
data pyDataset
Example
paramsDict = {'attributeId': 5, 'startDate': system.date.parse("2026-01-01 00:00:00"), 'endDate': system.date.parse("2026-01-02 00:00:00")}
data = system.kanoa.attribute.getAttributeEventTotals(paramsDict)