In order to control and monitor devices, the user must discover and add the devices to their account.
Some devices (zigbee, insteon, etc) require a gateway, in that case the user must first discover and link a gateway and then they can start discovering the devices to join the gateway
Discovering Gateways and WiFi devices
Linking the Gateways and WiFi devices to your account
Once a Gateway or Wi-Fi device is discovered it can be linked to a specific account.
Discover and link devices through a Gateway
For devices that do not connect to a cloud directly, a gateway is required. Once you have added the gateway and are ready to discover ( also called pair, link, and join) the devices, follow the steps below.
A single method is used for discovery regardless of the protocols of the interfaces attached to the gateway. The interfaces currently supported are: Smartenit USB-CID (ZigBee-HA), Smartenit ZOE-VIPD (ZigBee-SE), Smartenit ZBPLM (ZigBee-HA, INSTEON and X10) and Smartenit EZIComm (INSTEON and X10). With this in mind, the endpoint for devices will have an entry for the gateway which will have a component per interface.
A gateway with two different interfaces (ZBP CID and VIPD) will have two different components. Each component will have a Discover processor which can be used as follow:
The discover method has to be sent to each interface in the device if it is desired to be in Discovery mode. When a zigbee or Insteon device joins the gateway interface, then it will be automatically added to the users account.