Skip to content

Latest commit

 

History

History
18 lines (14 loc) · 477 Bytes

README.md

File metadata and controls

18 lines (14 loc) · 477 Bytes

mios-vera

Communicate with a vera-lite mios mi casa verde api to control home automation

Usage

  1. Install the npm package npm install mios-vera
  2. If you know what range of ports your vera device is running, add it to the environment variable MIOS_VERA_IP_RANGE
  3. e.g. MIOS_VERA_IP_RANGE=100-140
  4. Send commands, for example:
var mios = require('mios-vera');

function onError(error) {
  console.log(error);
}

mios.sendCommand('light', true, onError);