Sensibo Client API
A NodeJS API for Sensibo and Sensibo Sky.
Usage with NodeJS
The API exports a SensiboClient class, to be constructed with an API key:
const SensiboClient = const client = someApiKey //initialize with API key
The client has one asynchronous method, getPods
, which returns a promise to instances of a Pod
class. Each Pod
comes with asynchronous methods getMeasurements
, getAcState
and setAcState
const pods = await clientconst measurements = await pods0 //batteryVoltage, humidity, etcconst acState = await pods0 // on, fanLevel, swing etcconst updateResult = await pods0