Skip to content

Commit

Permalink
Update readme with new class names
Browse files Browse the repository at this point in the history
  • Loading branch information
Carlos Sanchez committed Apr 28, 2014
1 parent ee47c4e commit 272fb26
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ results

npm-debug.log
/node_modules/
test/mocha.opts
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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);
Expand Down

0 comments on commit 272fb26

Please sign in to comment.