Skip to content

Latest commit

 

History

History
27 lines (23 loc) · 1.1 KB

README.md

File metadata and controls

27 lines (23 loc) · 1.1 KB

homebridge-fluksometer

An homebridge plugin that creates an HomeKit consumption accessory mapped on MQTT topics. The fluksometer supports multiple types of sensors - Consumption and Generation of power, water and gas consumption.

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-fluksometer

Configuration

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

{
  "accessory": "fluksometer",
  "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

First version supports only Power Consumption.