Skip to content

WolkGateway module for connecting Z-Wave devices to WolkAbout IoT Platform by communicating with WolkGateway.

License

Notifications You must be signed in to change notification settings

Wolkabout/WolkGatewayModule-Z-Wave

Repository files navigation

WolkGatewayModule-Z-Wave

WolkGateway module for connecting Z-Wave devices to WolkAbout IoT Platform by communicating with WolkGateway.

Requirements

  • Python 3.7

Dependencies

This project was built using PyZwaver that handles all Z-Wave communication and WolkGatewayModule-SDK-Python that manages the connection to WolkGateway.

They can be installed by running:

sudo ./setup.sh

Usage

Edit configuration.json with the serial_port where the primary controller is connected, and setup the host and port to refer to the WolkGateway's MQTT broker. module_name is used to uniquely identify a module on WolkGateway.

{
  "serial_port": "/dev/ttyACM0", // Primary Z-Wave controller
  "host": "localhost",           // Host address of WolkGateway
  "port": 1883,                  // Port of WolkGateway's MQTT broker
  "module_name": "Z-Wave Module" // Unique module identifier
}

Managing the communication with Z-Wave nodes can be seen in demo.py that uses Aeotec Z-Stick controller and Aeotec Smart Dimmer 6. The example gets the current energy consumption periodically from the smart plug and accepts commands from WolkAbout IoT Platform to change the current value of the dimmer.

About

WolkGateway module for connecting Z-Wave devices to WolkAbout IoT Platform by communicating with WolkGateway.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published