UNPKG

homebridge-velux

Version:

Homebridge plugin for Velux Integra KLF 200 gateway

31 lines (25 loc) 793 B
// homebridge-deconz/lib/VeluxService/Gateway.js // Copyright © 2025 Erik Baauw. All rights reserved. // // Homebridge plugin for Velux Integra KLF 200 gateway. import { VeluxService } from './index.js' class Gateway extends VeluxService { constructor (accessory, params) { params.Service = accessory.Services.my.DeconzGateway super(accessory, params) this.client = accessory.client this.addCharacteristicDelegate({ key: 'heartrate', Characteristic: this.Characteristics.my.Heartrate, value: 30, unit: 's', props: { minValue: 0, maxValue: 120, minStep: 1 } }) this.addCharacteristicDelegate({ key: 'logLevel', Characteristic: this.Characteristics.my.LogLevel, value: 2 }) } } VeluxService.Gateway = Gateway