0.3.0 • Published 9 years ago

tellsock v0.3.0

Weekly downloads
2
License
MIT
Repository
github
Last release
9 years ago

node-tellsock

A pure socket interface for connecting node.js to a Tellstick Duo.

Installation

npm install tellsock

Examples

var TelldusEvents = require('tellsock').TelldusEvents;

var events = new TelldusEvents();


events.on('connect', function () {
  console.log('listening for events');
});

events.on('sensor', function (payload) {
  console.log('sensor', payload);
});

events.on('raw', function (payload) {
  console.log('raw', payload);
});

events.on('message', function (msg) {
  console.log('message', msg);
});

Notes

Lots of inspiration for the client came from https://github.com/stromnet/jtelldus/blob/master/src/java/se/stromnet/jtelldus/TelldusInterface.java

0.3.0

9 years ago

0.1.2

9 years ago

0.1.1

9 years ago

0.1.0

9 years ago

0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago