/python-zway

Python script to control Z-Wave devices through the Z-Way server

Primary LanguagePython

REST operation of On/Off Devices in Python

The module provided in this repository shows how some devices can be operated (i.e., turned on or off, and get data from them) on Z-Wave networks using REST APIs (through the Z-Way server). It supports the connection to the Z-Way API through HTTP Basic Auth.

The zway.py script shows how to turn on every "switch" device (i.e., lamps) connected to a Z-Wave network. Such devices are turned on and, after 10s, they are turned off.

Please be aware that this module only works on machines running the Z-Way server.