Virtual device fed with data from real sensors (“Devices”), data on which mathematical transformations and aggregations are applied. The smart device is mainly used on consumption data (energy, machines) in order to convert units, and perform aggregations by day, week, month or year.
There are 2 types of Smart Devies:
Primary Smart Devices processing are triggered when new measurements (payload) - specified in the formula of the smart device - are received by the IOT Platform. A typical use of a primary smart device is the calculation of instant/daily/weekly/monthly Consumptions (delta, aggregation) based on a formula applied to index (counter) data from a device.
Secondary Smart Devices are triggered at specified time intervals - specified in the smart device -. A typical use of a secondary smart device is the calculation of a global daily/weekly/monthly/yearly consumption, as the sum of individual consumptions (primary smart devices).
Smart Devices generate, as a result to the formula, smart measurements, equivalent to device measurements. They are stored in the database, and can then be used as Devices measurements in Dashboards, Reports, Rules…
Create a Primary Smart Device
Tips:
NB: Smart Devices, as all objects on the IOT Platform, must be in ACTIVE State, in order to operate and process payloads from connected devices.
View smart measurements. Be aware that if you rebuild smart devices, it may take some time to get all new smart measurements, depending on the amount of smart measurements that need to be rebuild.
Standard chart showing your smart measurements. You can see:
View a log of Alerts triggered based on (smart) measurements of this smart device
Shows which Asset(s) have attached this smart device.
It is possible to save a smart device as a template.
Smart Device templates can be used to create new smart devices faster. But it can also be used to automatically create a smart device when an asset is created, if a smart device Data Source is defined in the Asset Type, and linked to a Smart Device template.
Be aware that Smart Device templates should always refer (the variables) to “generic” inputs. It means inputs that will always be available when creating a smart device.