-
-
Save Koenkk/302b6af0aaa020e347314788f2e67b12 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const fz = require('zigbee-herdsman-converters/converters/fromZigbee'); | |
const tz = require('zigbee-herdsman-converters/converters/toZigbee'); | |
const exposes = require('zigbee-herdsman-converters/lib/exposes'); | |
const reporting = require('zigbee-herdsman-converters/lib/reporting'); | |
const legacy = require('zigbee-herdsman-converters/lib/legacy'); | |
const extend = require('zigbee-herdsman-converters/lib/extend'); | |
const ota = require('zigbee-herdsman-converters/lib/ota'); | |
const tuya = require('zigbee-herdsman-converters/lib/tuya'); | |
const utils = require('zigbee-herdsman-converters/lib/utils'); | |
const globalStore = require('zigbee-herdsman-converters/lib/store'); | |
const e = exposes.presets; | |
const ea = exposes.access; | |
const definition = { | |
fingerprint: [{modelID: 'GreenPower_2', ieeeAddr: /^0x00000000017.....$/}, {modelID: 'GreenPower_2', ieeeAddr: /^0x00000000048.....$/, priority: 1}], | |
model: 'PTM 215Z', | |
vendor: 'EnOcean', | |
description: 'Pushbutton transmitter module', | |
fromZigbee: [fz.enocean_ptm215z], | |
toZigbee: [], | |
exposes: [e.action(['press_1', 'release_1', 'press_2', 'release_2', 'press_3', 'release_3', 'press_4', 'release_4', | |
'press_1_and_3', 'release_1_and_3', 'press_2_and_4', 'release_2_and_4', 'press_energy_bar'])], | |
whiteLabel: [ | |
{vendor: 'Niko', description: 'Dimmer switch for Hue system', model: '91004'}, | |
{vendor: 'NodOn', description: 'Smart switch for Philips Hue', model: 'CWS-4-1-01_HUE'}, | |
{vendor: 'Vimar', description: 'Zigbee Friends of Hue RF switch', model: '03906'}, | |
{vendor: 'Sunricher', model: 'SR-ZGP2801K4-FOH-E'}, | |
{vendor: 'LED Trading', model: '9125'}, | |
{vendor: 'Feller', description: 'Smart light control for Philips Hue', model: '4120.2.S.FMI.61'}, | |
], | |
}; | |
module.exports = definition; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment