InoDrive / IO / getTemperatures


InoDrive.IO.getTemperatures()

Get information about the Temperature of the InoDrive Module

Returns: Temperature Information (Object) This object contains temperature information for the Drive including: the Case, CPU, FETs, Outputs, and Regen.

// Import InoDrive API Library
 import { InoDriveApiJS }  from ( "ck-inodrive-api" ) 

// Instatiate the API
let InoDriveApi = new InoDriveApiJS.InoDriveApi({ connectAppUrl: "", secure: false })

// Instantiate InoDrive Object
Drive = await InoDriveApi.InoDrive({target:'Name', autoConnect:True})

// Get the Temperature Information
await Drive.IO.getTemperatures()