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.