zwave.dart

zwave is a Dart package for interacting with Z-Wave devices.

Overview

This Dart package enables interacting with Z-Wave devices on Linux.

Usage

This package provides

Requirements

Setup

  1. Setup your Z-Wave controller with your Z-Wave devices

  2. Activate this zwave package using the pub global command.

    pub global activate zwave
  1. From your application directory (the application that references the zwave package) run the following command to build the native library
    pub global run zwave:build_lib
  1. Finally, run the included command line application to ensure that this package is installed correctly and can communicate with your devices using your Z-Wave Controller.
    pub global run zwave:zw

pub global activate makes the Dart scripts in the zwave/bin directory runnable from the command line. pub global run zwave:build_lib runs the zwave/bin/build_lib.dart program which in turn calls the build_lib script to compile the native libozw_ext.so library for the zwave package.

Example

The example demonstrates how to use this package to build an application for interacting with a Z-Wave network.

Libraries

air_temperature
api_library_version
application_command_handler
application_update_handler
basic
basic_report
battery
binary_sensor
command_handler
electrical
humidity
message_consts
message_dispatcher
meter_report
node_naming
power
rpi_zw_port
scene_activation_set
send_data_dispatcher
sensor_binary_report
sensor_multilevel_report
sleepy_node
switch_binary
thermostat
unknown_node
unknown_sleepy_node
zw_command
zw_command_class_report
zw_driver
zw_exception
zw_manager
zw_message
zw_node
zw_node_mixin
zw_port
zw_request
zw_send_data