Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.directenergypartners.com/llms.txt

Use this file to discover all available pages before exploring further.

Here is an example of a complete devices.json file, featuring devices with various protocols and types. Please note that this file is for illustration only and cannot be uploaded to the controller. Ensure that you modify, add, or remove devices as needed to accurately reflect all the devices in your application.
devices.json
[
  {
    "id": "converter1",
    "type": "converter",
    "protocol": "Modbus TCP/IP",
    "ipAddress": "192.168.1.20",
    "port": 502,
    "slaveId": 240,
    "controlMap": "cet_30C3_control",
    "addressMap": "cet_30C3_address_map",
    "forwardMap": "cet_30C3_forward_map",
    "disabled": false,
    "critical": true,
    "communicationInterval": 0.2
  },
  {
    "id": "battery1",
    "type": "battery",
    "protocol": "CANbus",
    "controlMap": "lg_jh4_control",
    "addressMap": "lg_jh4_address_map",
    "disabled": false,
    "frameFormat": "29-bit"
  },
  {
    "id": "pushbuttons",
    "type": "digitalInputOutput",
    "addressMap": "pushbuttons_address_map",
    "retainInputs": true,
    "disabled": false
  },
  {
    "id": "indicators",
    "type": "digitalInputOutput",
    "controlMap": "indicators_rgb7_control",
    "addressMap": "indicators_address_map",
    "disabled": false
  },
  {
    "id": "transducer",
    "type": "analogInputOutput",
    "addressMap": "vmt_address_map",
    "disabled": false
  },
  {
    "id": "battery1_precharge",
    "type": "precharge",
    "addressMap": "battery1_precharge_address_map",
    "disabled": false,
    "prechargePeriodInSeconds": 10,
    "holdonTimeAuxiliaryContactorInSeconds": 2,
    "tresholdVoltage": 700,
    "contactorFeedback": true,
    "breakerFeedback": true,
    "maximumVoltage": 760
  },
  {
    "id": "breaker1",
    "type": "breaker",
    "addressMap": "breaker1_address_map",
    "disabled": false
  },
  {
    "id": "contactor1",
    "type": "contactor",
    "addressMap": "contactor1_address_map",
    "disabled": false
  }
]