getDeviceCurrentHumidity

Return current humidity for specified device.

Usage

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

* Remember to instantiate class before use

Response example

  {
    status: 'ok',
    humidity: '76'
  }
Last update on: September 29th, 2019