Step 1: Create a ComponentModel

A ComponentModel represents the type of device that will send data to DRIVR.
It defines the device type, capabilities, and data structure within the system.

  • Navigate to PrototypesComponent Models
  • Click "Add New"
  • Enter the following details:

    • Type: Select the type (e.g., Device)
    • Name: Assign a meaningful name (e.g., Plug)
    • Unique Code: Provide a unique identifier or use the auto-generated one
    • Description (Optional): Add additional details about the model
  • Click "Save"
  • Type: Device
  • Name: Plug
  • Unique Code: plug_model_001
  • Description: A smart plug capable of power measurement and switching