JSPM

  • Created
  • Published
  • Downloads 594
  • Score
    100M100P100Q102251F
  • License MIT

Matterbridge dynamic plugin

Package Exports

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (matterbridge-example-dynamic-platform) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    Matterbridge Logo   Matterbridge dynamic platform example plugin

    npm version npm downloads Docker Version Docker Pulls Node.js CI Coverage

    power by power by power by power by


    Matterbridge dynamic platform example plugin is a template to develop your own plugin using the dynamic platform.

    It exposes:

    • a switch with onOff cluster
    • a light with onOff
    • a light with onOff and levelControl (dimmer)
    • a light with onOff, levelControl and colorControl (with XY, HS and CT) clusters
    • a light with onOff, levelControl and colorControl (with HS and CT) clusters
    • a light with onOff, levelControl and colorControl (with XY and CT) clusters
    • a light with onOff, levelControl and colorControl (with CT only) clusters
    • an outlet (plug) with onOff cluster
    • a cover with windowCovering cluster
    • a lock with doorLock cluster
    • a thermo autoMode (i.e. with Auto Heat and Cool features) with thermostat cluster and 3 sub endpoints with flowMeasurement cluster, temperatureMeasurement cluster and relativeHumidityMeasurement cluster (to show how to create a composed device with sub endpoints)
    • a thermo heat only with two external temperature sensors (tagged like Indoor and Outdoor)
    • a thermo cool only
    • a fan with FanControl cluster
    • a rainSensor device
    • a waterFreezeDetector device
    • a waterLeakDetector device
    • a smokeCoAlarm device
    • an airConditioner device
    • an airPurifier device with temperature and humidity sensor (supported by Apple Home)
    • a pumpDevice device
    • a waterValve device
    • an airQuality device with all concentration measurements clusters
    • a momentary switch
    • a latching switch

    All these devices continuously change state and position. The plugin also shows how to use all the command handlers (you can control all the devices), how to subscribe to attributes and how to trigger events.

    If you like this project and find it useful, please consider giving it a star on GitHub at https://github.com/Luligu/matterbridge-example-dynamic-platform and sponsoring it.

    Prerequisites

    Matterbridge

    See the guidelines on Matterbridge for more information.