Skip to content

Stanback/zigbee2mqtt-adapter

 
 

Repository files navigation

Zigbee2Mqtt Adapter

This adapter for WebThings Gateway by Mozilla allows to use awesome zigbee2mqtt project to support lots of zigbee devices on a cheap cc2531 usb stick zigbee dongle.

Currently supported devices:

  • Aqara ZigBee Light Bulb
  • Xiaomi Magnet Sensor
  • Xiaomi Magic Cube

You can add new ones to devices.js like this:

{
  'lumi.sensor_magnet': {
    name: 'Xiaomi Magnet Contact Sensor',
    '@type': ['BinarySensor'],
    properties: {
      battery: {
        type: 'integer',
        unit: 'percent',
        minimum: 0,
        maximum: 100,
        readOnly: true,
      },
      linkquality: {
        type: 'integer',
        readOnly: true,
      },
      contact: {
        type: 'boolean',
        '@type': 'BooleanProperty',
        readOnly: true,
      },
    },
  },
}

About

zigbee2mqtt adapter for WebThings gateway

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 99.2%
  • Shell 0.8%