Skip to content

Latest commit

 

History

History
executable file
·
24 lines (18 loc) · 428 Bytes

readme.md

File metadata and controls

executable file
·
24 lines (18 loc) · 428 Bytes

max-control

Control the ELV Max! heating system with node.js

Usage

var MaxCube = require('./index');
var mc = new MaxCube('192.168.1.110', 62910);

mc.on('connected', function () {
  console.log('ready');

  setTimeout(function () {
    console.log('send');
    mc.setTemperature('0087ae', 'manual', 19);
  }, 5000);
});

mc.on('update', function (data) {
  console.log('got update');
  console.log(data);
});