getDeviceCurrentTemperature

Return current temperature for specified device.

Usage

  const temperature = await connection.getDeviceCurrentTemperature('<your device id>');
  console.log(temperature);

* Remember to instantiate class before use

Response example

  {
    status: 'ok',
    temperature: '20'
  }
Last update on: September 29th, 2019