Skip to content

NMP installation

rhamblen edited this page Nov 24, 2019 · 2 revisions

Install

To install the module, just use npm:

$ npm install -g mqtt-bridge-smartthings

If you want to run it, you can simply call the binary which is in the bin folder

$ smartthings-mqtt-bridge
Starting SmartThings MQTT Bridge - v1.0.1
Loading configuration
No previous configuration found, creating one

Configure

  1. Customize the MQTT host (config.yml) and devices (devices.yml)

    $ vi config.yml
    $ vi devices.yml
    # Restart the service to get the latest changes
    

    (you can use any editor, but vi is used as an example here)

  2. Take note of the IP address and the mac address of the network port on this device.