homebridge-daikin-local-platform
Version:
Homebridge platform plugin providing HomeKit support for Daikin air conditioners with local control
13 lines • 788 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.DEVICE_STATUS_REFRESH_INTERVAL = exports.REQUEST_TIMEOUT_MS = exports.MIN_REQUEST_INTERVAL_MS = exports.USER_AGENT = exports.ENDPOINT = void 0;
exports.ENDPOINT = '/dsiot/multireq';
exports.USER_AGENT = 'DaikinMobileController/1.0.0 CFNetwork/1410.0.3 Darwin/22.6.0';
// Minimum time between two device queries; a read inside this window returns the
// cached response instead of hitting the unit again.
exports.MIN_REQUEST_INTERVAL_MS = 2000;
// Abort a device request that hasn't responded within this window so a hung
// connection can't stall the shared rate-limited queue.
exports.REQUEST_TIMEOUT_MS = 20 * 1000;
exports.DEVICE_STATUS_REFRESH_INTERVAL = 30 * 1000;
//# sourceMappingURL=const.js.map