UNPKG

@homebridge-plugins/homebridge-noip

Version:

The No-IP plugin allows you to update your No-IP hostname(s) for your homebridge instance.

32 lines 1.18 kB
import type { PlatformAccessory } from 'homebridge'; import type { NoIPPlatform } from '../platform.js'; import type { devicesConfig } from '../settings.js'; import { deviceBase } from './device.js'; /** * Platform Accessory * An instance of this class is created for each accessory your platform registers * Each accessory may expose multiple services of different service types. */ export declare class ContactSensor extends deviceBase { readonly platform: NoIPPlatform; private ContactSensor; interval: any; SensorUpdateInProgress: boolean; constructor(platform: NoIPPlatform, accessory: PlatformAccessory, device: devicesConfig); /** * Parse the device status from the noip api */ parseStatus(response: string | string[]): Promise<void>; /** * Asks the NoIP API for the latest device information */ refreshStatus(): Promise<void>; status(f: any, data: any): Promise<void>; private timeout; /** * Updates the status for each of the HomeKit Characteristics */ updateHomeKitCharacteristics(): Promise<void>; apiError(e: any): Promise<void>; } //# sourceMappingURL=contactsensor.d.ts.map