The Everyware Device Cloud (EDC) connector allows connected products to communicate with the DPS through the Everyware Device Cloud IoT middleware provided by Eurotech.
Plugin Configuration
To enable this plugin, you need to:
Go to the Integrations / Plugins page.
Select the IoT Connectors category.
Locate the Everyware Cloud card.
Click on the card switch to activate the plugin.
Connector Configuration
Once the plugin has been enabled, in the DPS, for each business entity level (tenant, customer, location, or thing), it is possible to configure the EDC connector.
The Base REST URL is the base URL to access the EDC REST API.
Username and password are the same used to access the Everyware Cloud console.
MQTT Broker URL and Account Name can be retrieved directly within the Everyware Cloud console
Thing Provisioning
Within the Connection mapping tab of a location, the optional Thing Provisioning Policy property allows defining the way the connected things are discovered by the system.
The PLUG_AND_PLAY policy is used to automatically discover connected things, and generally must be used in case there are multiple things connected to the same gateway.
Inspecting the values of some predefined metrics, the connector can discover which are the connected things, and if missing they will be automatically added to the location.
Referring to the image below, it uses the "ICM-V2/registry" topic and the relative "printerList" metric.
The Asset Ids property is a comma-separated list of gateway IDs, in this way is possible to define which are the gateways available on a certain location.
Thing Connection Mapping
The thing mapping allows defining how the thing is configured under the gateway.
The Assed Id represents the gateway ID connected to the thing.
The Path represents the topic part used to identify the thing under the gateway, it depends on how the gateway has been configured. It can be discovered by inspecting the Everyware Cloud console.
Within the Data section, select the By Asset tab, search the asset Id (in this case 8030DCBC1BAF), select the first metric, press the Query button, and then copy the topic part related to the printer (in this case ICM-V2/QZYJZ95).