homebridge-fan-accessory

MQTT fan accessory plugin for HomeBridge with Rotation Speed and On/Off Status

Usage no npm install needed!

<script type="module">
  import homebridgeFanAccessory from 'https://cdn.skypack.dev/homebridge-fan-accessory';
</script>

README

homebridge-fan-accessory

Fan status and Rotation Speed via MQTT in Homebridge

Installation

sudo npm install -g homebridge-fan-accessory

Sample HomeBridge Configuration

{
  "bridge": {
"name": "HomeBridge",
"username": "CC:12:3B:D3:CE:11",
"port": 51826,
"pin": "321-45-223"

  },
    "description": "",
      "accessories": [
{
  "accessory": "fan-accessory-rotation",
  "name": "Room Fan",
  "url": "mqtt://localhost",
  "topics": {
    "getOn": "getFanOn",
    "setOn": "setFanOn",
    "getRotationSpeed": "getSpeed",
    "setRotationSpeed": "setSpeed"
  },
  "username": "username",
  "password": "password"
}
  ],
"platforms": []
}