diff --git a/.gitignore b/.gitignore index f1885f9..e16e6a0 100644 --- a/.gitignore +++ b/.gitignore @@ -14,3 +14,4 @@ results npm-debug.log /node_modules/ +test/mocha.opts diff --git a/README.md b/README.md index 932ca33..cf13c1e 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,8 @@ See more examples in the `examples` dir # Heatmiser Neo - var neo = new Neo("192.168.1.100"); + var heatmiser = require('heatmiser'); + var neo = new heatmiser.Neo("192.168.1.100"); neo.on('success', function(data) { console.log(data); @@ -25,7 +26,8 @@ See more examples in the `examples` dir ## Reading the thermostat status - var hm = new Heatmiser('localhost', 1234); + var heatmiser = require('heatmiser'); + var hm = new heatmiser.Wifi('localhost', 1234); hm.on('success', function(data) { console.log(data);