UNPKG

@homebridge-plugins/homebridge-noip

Version:

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

54 lines 1.98 kB
import type { PlatformConfig } from 'homebridge'; /** * This is the name of the platform that users will use to register the plugin in the Homebridge config.json */ export declare const PLATFORM_NAME = "NoIP"; /** * This must match the name of your plugin as defined the package.json */ export declare const PLUGIN_NAME = "@homebridge-plugins/homebridge-noip"; export declare const ipinfo_v4 = "https://ipinfo.io/json"; export declare const getmyip_v4 = "https://ipv4.getmyip.dev"; export declare const ipify_v4 = "https://api.ipify.org?format=json"; export declare const ipapi_v4 = "https://ipapi.co/json"; export declare const myip_v4 = "https://api4.my-ip.io/v2/ip.json"; export declare const ipinfo_v6 = "https://v6.ipinfo.io/json"; export declare const getmyip_v6 = "https://ipv6.getmyip.dev"; export declare const ipify_v6 = "https://api64.ipify.org?format=json"; export declare const ipapi_v6 = "https://ip6api.co/json"; export declare const myip_v6 = "https://api6.my-ip.io/v2/ip.txt"; export declare const noip = "https://dynupdate.no-ip.com/nic/update"; export declare const noip_renewal = "https://www.noip.com/api/hostname/confirm"; export interface NoIPPlatformConfig extends PlatformConfig { name?: string; devices?: devicesConfig[]; options?: options; } export interface devicesConfig { configDeviceName?: string; hostname: string; username?: string; password?: string; ipv4or6?: string; ipProvider?: string; firmware: string; refreshRate?: number; updateRate?: number; pushRate?: number; logging?: string; delete?: boolean; autoRenewal?: boolean; renewalInterval?: number; } export interface options { refreshRate?: number; updateRate?: number; pushRate?: number; logging?: string; allowInvalidCharacters?: boolean; autoRenewal?: boolean; renewalInterval?: number; preferMatter?: boolean; enableMatter?: boolean; } //# sourceMappingURL=settings.d.ts.map