Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    homebridge-mqtt-smoke-alarmpublic

    homebridge-mqtt-smoke-alarm

    An homebridge plugin that creates an HomeKit smoke alarm accessory mapped on a MQTT topic.

    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-smoke-alarm
    

    Configuration

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

    {
      "accessory": "mqtt-smoke-alarm",
      "name": "<name>",
      "url": "<url of the broker>", // i.e. "http://mosquitto.org:1883"
      "username": "<username>",
      "password": "<password>",
      "topic": "<topic to get the alarm state>"
    }

    install

    npm i homebridge-mqtt-smoke-alarm

    Downloadsweekly downloads

    1

    version

    0.0.1

    license

    MIT

    repository

    githubgithub

    last publish

    collaborators

    • avatar