Wrapper Documentation

This examples came from the original repository. Don’t know if it works but don’t think so. For documentation only.

Contents:

This file is part of py-openzwave project https://github.com/maartendamen/py-openzwave.
platform:Unix, Windows
sinopsis:openzwave wrapper

License : GPL(v3)

py-openzwave is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

py-openzwave is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with py-openzwave. If not, see http://www.gnu.org/licenses.

exception openzwave.wrapper.ZWaveWrapperException(value)

Exception class for ZWave Wrapper

class openzwave.wrapper.ZWaveValueNode(home_id, node_id, value_data)

Represents a single value for an OZW node element

update(args)

Update node value from callback arguments

class openzwave.wrapper.ZWaveNode(home_id, node_id)

Represents a single device within the Z-Wave Network

class openzwave.wrapper.ZWaveWrapper(device, config, log=None)

The purpose of this wrapper is to eliminate some of the tedium of working with the underlying API, which is extremely fine-grained.

Wrapper provides a single, cohesive set of python objects representing the current state of the underlying ZWave network. It is kept in sync with OZW and the network via callback hooks.

Note: This version only handles a single Driver/Controller. Modifications will be required in order to support more complex ZWave deployments.