homebridge-mclimate
v1.0.3
Published
Mclimate smart plug plugin for homebridge: https://github.com/nfarina/homebridge
Downloads
10
Readme
homebridge-mclimate
MClimate plugin for HomeBridge
This repository contains the MClimate plugin for homebridge that was previously bundled in the main homebridge
repository.
Installation
- Install homebridge using:
npm install -g homebridge
- Install this plugin using:
npm install -g homebridge-mclimate
- Update your configuration file. See
sample-config.json
snippet below.
How to Setup New API
- Go to https://developers.seemelissa.com
- Choose Sign In
- Use your normal account to sign in
- Create new OAuth Client
- In 'OAuth Client Details' set:
- OAuth Client name: HomeBridge-Mclimate
- Description: Open source project to provide HomeKit integration
- Support URL: https://github.com/MClimate/homebridge-mclimate
- Default OAuth redirect URL: http://localhost:51826/callback
- Click on Edit icon
- Copy the Client ID to your HomeBridge config as client_Id
- Copy the Client secret to your HomeBridge config as client_secret
- Enter your Email and Password to your HomeBridge config as username and password
After that you will be FINALLY done.
Configuration
Configuration sample:
...
"accessories": [
{
"accessory": "MClimate-Melissa",
"name": "The name of accessory",
"serial_number": "Serial number of accessory",
"client_id": "Client id from MClimate developers portal",
"client_secret": "Client secret from MClimate developers portal",
"username": "Use email from your MClimate account",
"password": "Use password from your MClimate account"
}
]
....
- Field "accessory": Must always be "MClimate-Melissa" for Melissa device, "MClimate-SmartPlug" for Smart Plug device or "MClimate-Vicki" for your Vicki device.