In a ClearBlade System Devices are machines that have access to data and API’s while communicating with your IoT Solution. Devices have unique ids, and keys for gaining role based access over http or mqtt protocols or SDKs. Devices can be created via APIs, Portals or via the developer console while also have a unique device profile associated with your Solution. To create attributes necessary for your solution in the developer console navigate to your system and select devices from the menu. Click Edit Columns button and add a new column to represent the additional data your device must store.
Voltage int, brand string
Click Done when finished.
To create a device in the developer console navigate to the devices page and click the Add Device button. Provide a name and type in the default fields, accept authorization method and provide an active key which is analogous to a password. Expand the more fields and populate your newly added attributes. Finally give the newly device a role appropriate to the function it will perform in the IoT solution. Click create and view the newly created device record.
Devices can quickly be filtered in the developer console. On the devices pages click the filter icon, set an attribute to filter on and then enter the appropriate values. Click Filter. Your device table now shows only matching devices.
To put a device in a disabled state, go to the device page and find the device in the device table. Find the enabled column and simply uncheck it. This will continue to store the device information for others to view but the authentication process for the device is disabled. A device attempting to connect with its name and key will fail. To fully delete the device from the IoT Solution check the far left column and click the -Row button. The device is now deleted from the IoT System.