Skip to content

jonhester/maquette

Repository files navigation

maquette

Connects Smartthings to an MQTT broker. I'm using this with Home Assistant. Inspired by smartthings-mqtt-bridge. It authenticates with Smartthings via oauth and Smartthings communicates back to Maquette using http basic auth. For this to be secure Maquette needs to run behind SSL. I'm using Caddy to reverse proxy to node. At the moment this is not very easy to setup. It should be able to read any device that Smartthings supports, but currently it only can control switches.

Requirements

  • an MQTT broker like Mosquitto
  • a server with node installed

Setup

  1. Install the Maquette Smartapp on Smartthings and get the oauth client id and secret.
  2. Clone this project, npm install in the newly created folder
  3. Update config.json
./node_modules/.bin/sequelize db:migrate
npm run build
node .
  1. Make sure the app is externally accessible and navigate to https://maquette.mydomain.com
  2. Authorize the Maquette
  3. Open the smartapp on your mobile device and set your host, user, and password

About

Connects SmartThings to MQTT to enable to the use of things like Home Assistant

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published