UNPKG

netatmo-nodejs-api

Version:
115 lines (114 loc) 2.63 kB
/** * Netatmo - Weather * This is a sample test for describing NETATMO's APIs with the OAS3 standard definition using swagger. * * OpenAPI spec version: 1.1.2 * Contact: contact-api@netatmo.com * * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * Do not edit the class manually. */ import { IndoorModuleDashboardData } from './indoor-module-dashboard-data'; /** * Weather - Weather module indoor - getstationsdata * * @export * @interface IndoorModule */ export interface IndoorModule { /** * @type {string} * @memberof IndoorModule * @example 06:00:00:02:47:00 */ id?: string; /** * @type {string} * @memberof IndoorModule * @example NAModule4 */ type?: string; /** * @type {string} * @memberof IndoorModule * @example Indoor Module */ moduleName?: string; /** * Array of data measured by the device (e.g. \"Temperature\",\"Humidity\") * * @type {Array<string>} * @memberof IndoorModule */ dataType?: Array<string>; /** * timestamp of the last installation * * @type {number} * @memberof IndoorModule * @example 1435834348 */ lastSetup?: number; /** * true if the station connected to Netatmo cloud within the last 4 hours * * @type {boolean} * @memberof IndoorModule * @example true */ reachable?: boolean; /** * @type {IndoorModuleDashboardData} * @memberof IndoorModule */ dashboardData?: IndoorModuleDashboardData; /** * version of the software * * @type {number} * @memberof IndoorModule * @example 19 */ firmware?: number; /** * timestamp of the last measure update * * @type {number} * @memberof IndoorModule * @example 1555677746 */ lastMessage?: number; /** * timestamp of the last status update * * @type {number} * @memberof IndoorModule * @example 1555677746 */ lastSeen?: number; /** * Current radio status per module. (90=low, 60=highest) * * @type {number} * @memberof IndoorModule * @example 31 */ rfStatus?: number; /** * current battery status per module * * @type {number} * @memberof IndoorModule * @example 5148 */ batteryVp?: number; /** * Percentage of battery remaining (10=low) * * @type {number} * @memberof IndoorModule * @example 58 */ batteryPercent?: number; }