npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

seneca-telldus-live

v0.1.0

Published

Seneca plugin for communication with the Telldus live service public API.

Readme

seneca-telldus-live NPM version Build Status Dependency Status

Seneca plugin for communication with the Telldus live service public API.

Seneca

This module is a plugin to the Seneca microservices toolkit. Read more at http://senecajs.org.

Installation

$ npm install --save seneca-telldus-live

Seneca Actions

Most of the actions are just simple mappings to the Telldus live API, you can expect to get back what the API would return.

role: 'telldus-devices'

cmd: 'list'

Returns a list of all devices managed by the Telldus live service, the result will be a json object identical to the object returned from the api: http://api.telldus.com/explore/devices/list.

role: 'telldus-device'

All the actions in the the role telldus-device expects a key id in the action that identifies the device to act upon.

cmd: 'turnOn'

Turns a device on, (see: http://api.telldus.com/explore/device/turnOn). Returns a object that contains the device id and a status: 'success' if successful.

cmd: 'turnOff'

Turns a device off, (see: http://api.telldus.com/explore/device/turnOff). Returns a object that contains the device id and a status: 'success' if successful.

cmd: 'getState'

Returns a object that contains the device id and a state key. The state ca be one of:

  • on
  • off
  • up
  • down

Build and test

Clone the repository to you favourite location. Run $ npm install. Since gulp is used as the build tool it is convenient to install the gulp-cli globally on your machine $ npm install -g gulp-cli.

Unit tests

Run the unit tests using $ npm test or $ gulp test.

Integration tests

The integration tests can be run using $ gulp int-test. The integration tests will call the Telldus live API when they run. For this to work you will have to supply credentials and some other account specific details to the tests. Please refer to int-test/sample-telldus-test-conf.js.

TODO

There are a great number of features in the Telldus live API not yet supported. (see: http://api.telldus.com)

License

MIT © Jonas Andreasson