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 🙏

© 2024 – Pkg Stats / Ryan Hefner

thing-it-device-z-wave

v0.1.6

Published

[thing-it-node] Device Plugin for Z-wave Networks.

Downloads

394

Readme

thing-it-device-z-wave

NPM NPM

[thing-it-node] Device Plugin for arbitrary Z-Wave networks and their devices.

This allows you to

  • control Z-Wave-enabled devices over the Internet,
  • define complex scenes, storyboards and timer controlled execution

by means of thing-it-node and thing-it.com.

As you can combine Z-Wave devices with other devices and can orchestrate scenarios across locations, this goes far beyond what Z-Wave networks allow you to do with scenes and alerts.

Installation

Installation of Open Z-Wave

Linux

The [thing-it] team is testing with a Aeon Labs Z-Wave Z-Stick Series 2 USB Dongle. Most Linux distributions such as Raspbian Jessie require no driver installation. [thing-it] expects the USB stick to be found at "/dev/ttyUSB0".

You will need to ensure the OpenZWave library and headers are installed first. You can do this one of two ways:

  • Downloading the source tarball from the OpenZWave repository and then compiling it and installing on your system via make and sudo make install.
  • You could also install OpenZWave via a precompiled package that's suitable for your Linux distribution and architecture. Notice: Be sure to install BOTH the binary (libopenzwave-x.y) AND the development package (libopenzwave-dev).

OSX

The [thing-it] team is testing with a Aeon Labs Z-Wave Z-Stick Series 2 USB Dongle. On Mac OSX this dongle requires the installation of a driver which can be found on the support section of Aeon Lab's website. [thing-it] is going to try to communicate with the driver via "/dev/cu.SLAB_USBtoUART".

You will need to ensure the OpenZWave library and headers are installed first. You can do this one of two ways:

  • Downloading the source tarball from the OpenZWave repository and then compiling it and installing on your system via make and sudo make install.
  • You could also install OpenZWave via a precompiled package that's suitable for your Linux distribution and architecture. Notice: Be sure to install BOTH the binary (libopenzwave-x.y) AND the development package (libopenzwave-dev).

If an error related to pkg-config occurs during the build process, perform the following steps and try again.

  • brew uninstall pkg-config
  • brew install pkg-config
  • brew unlink pkg-config && brew link pkg-config

Windows

Since there is no standard installation location for Open Z-Wave on Windows, it will be automatically downloaded, compiled, and installed when you install openzwave-shared via npm (see below).

Installation of NodeJS and [thing-it-node]

First, install nodejs on your computer (e.g. your PC or your Raspberry Pi).

Then install [thing-it-node] via

npm install -g thing-it-node

Initialization and Start of [thing-it-node]

The [thing-it-device-z-wave] Plugin is installed with [thing-it-node], hence there is no need to install it separately.

The Plugin supports Autodiscovery for an existing Z-Wave network and its devices, hence you only have to create a directory in which you intend to run the configuration, e.g.

mkdir ~/hue-test
cd ~/hue-test

and invoke

tin init

and then start [thing-it-node] via

tin run

Install the thing-it Mobile App from the Apple Appstore or Google Play and set it up to connect to [thing-it-node] locally as described here or just connect your browser under http://localhost:3001.

Z-Wave Setup

Procure a Z-Wave USB Stick e.g. the (Aeonlab Z-Stick)[http://aeotec.com/z-wave-usb-stick] and connect it to the USB port of your node computer. Make sure that you have the latest driver installed and identify the device the stick is connected to.

Examples are:

  • /dev/ttyUSB0 on Linux/Mac OS or
  • /dev/cu.SLAB_USBtoUART on Linux/Mac OS or
  • \\.\COM3 on Windows.

Follow the instructions for your stick to pair Z-Wave devices.

If you start [thing-it-node] after configuring your Z-Wave network will automatically add all Z-Wave devices to your [thing-it-node] Configuration and you will be able control these from the [thing-it] Mobile App immediately.

Mobile UI

The following screenshot shows a few typical Z-Wave devices in the [thing-it] Mobile UI:

  • Binary power switch with electricity consumption measurement
  • Multilevel switch, often used as dimmer, with the ability to switch on and off as well as setting the level
  • Multilevel sensor with temperature, luminance and humidity data

Tested Devices

The following Devices have been tested regarding

  • Autodiscovery,
  • State Change Detection and
  • Service Invocation:

| Device | Device Class |Manufacturer | Details | | ---------------------- |:-------------:|:-----------------:|:--------:| | Aeotec Z-Stick | Controller | Aeon Labs | | | Aeotec Gen5 Z-wave Plus 6-in-1 Multisensor 6 ZW100-A | Multisensor | Aeon Labs | | | DSC06106-ZWUS - Z-Wave Smart Energy Switch | Switch | Aeon Labs | | | CT-100 Thermostat | Thermostat | Radio Thermostat | | | [GoControl Z-Wave Dimmable LED Light Bulb] (http://www.amazon.com/GoControl-Z-Wave-Dimmable-Light-LB60Z-1/dp/B00PJH16UC) | Light Bulb | GoControl | |

Where to go from here ...

After completing the above, you may be interested in