0.0.3 • Published 8 years ago

homebridge-mqtt-power-consumption v0.0.3

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

homebridge-mqtt-power-consumption

An homebridge plugin that create an HomeKit power consumption accessory mapped on MQTT topics.

Installation

Follow the instruction in homebridge for the homebridge server installation. The plugin is published through NPM and should be installed "globally" by typing:

npm install -g homebridge-mqtt-power-consumption

Configuration

Remember to configure the plugin in config.json in your home directory inside the .homebridge directory. Configuration parameters:

{
  "accessory": "mqtt-power-consumption",
  "name": "<name of the power-consumption>",
  "url": "<url of the broker>", // i.e. "http://mosquitto.org:1883"
  "username": "<username>",
  "password": "<password>",
  "topics": {
    "power": "<topic to get the current power consumption>"
    "totalPower": "<topic to get the total power consumption>"
  }
}

Info

Uses special characteristics of the eve power outlet. Apples Home app does not show special characteristic, power consumption will only be displayed in the eve app.

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago