UNPKG

ember-zli

Version:

Interact with EmberZNet-based adapters using zigbee-herdsman 'ember' driver

33 lines (32 loc) 1.07 kB
import { Zcl, ZSpec } from "zigbee-herdsman"; /** * List of endpoints to register. * * Index 0 is used as default and expected to be the primary network. */ export const ROUTER_FIXED_ENDPOINTS = [ { // primary network endpoint: 1, profileId: ZSpec.HA_PROFILE_ID, deviceId: 0x08, // HA-rangeextender deviceVersion: 1, inClusterList: [Zcl.Clusters.genBasic.ID, Zcl.Clusters.touchlink.ID], outClusterList: [Zcl.Clusters.genOta.ID], networkIndex: 0x00, // - Cluster spec 3.7.2.4.1: group identifier 0x0000 is reserved for the global scene used by the OnOff cluster. // - 901: defaultBindGroup multicastIds: [0, 901], }, { // green power endpoint: ZSpec.GP_ENDPOINT, profileId: ZSpec.GP_PROFILE_ID, deviceId: 0x66, // GP-combo-basic deviceVersion: 1, inClusterList: [Zcl.Clusters.greenPower.ID], outClusterList: [Zcl.Clusters.greenPower.ID], networkIndex: 0x00, multicastIds: [0x0b84], }, ];