WebThingsIO / zigbee-adapter

Zigbee adapter add-on for WebThings Gateway
Mozilla Public License 2.0
46 stars 29 forks source link

SmartThings Multipurpose Sensor Acceleration Cluster #182

Open damooooooooooh opened 4 years ago

damooooooooooh commented 4 years ago

Hi there, I dont have much time to go through the inner workings of the zigbee handler, but I see that picking up the acceleration property of the SmartThings Multipurpose sensor is possible. See here: https://github.com/dmulcahey/zha-device-handlers/blob/2c0964eebe07f83f94ae617f02603c43fb5e27cf/zhaquirks/smartthings/__init__.py

Where do I start to add this quirk?

mrstegeman commented 4 years ago

The primary code will go in this file: https://github.com/mozilla-iot/zigbee-adapter/blob/master/zb-classifier.js