OpenZWave / open-zwave-control-panel

UNMAINTAINED - We are looking for someone to maintain ozwcp! The OpenZWave Control Panel (ozwcp for short) is an application built on the OpenZWave library that permits users to query, manage and monitor Z-Wave nodes and networks. It provides a web based user interface using AJAX principles.
Other
131 stars 72 forks source link

Autoconnect default device; autoinit connected device. #48

Closed aarsu closed 8 years ago

aarsu commented 8 years ago

I've added a couple features that I've found useful while using ozwcp. They are simple additions that do not really change any existing features (maintaining compatibility), so I thought I should share them and maybe others would also find them useful.

1) A default device can be specified with the environmental variable "OZW_DEFAULT_DEVICE". If no variable is specified or if set to "", no attempt is made to connect a device. 2) If a device is already connected, the path to the device is automatically filled into the form in cp.html by making a GET request for '/currdev' 3) A xml file listing all nodes can be retrieved with a GET request at '/devices.xml'

Fishwaldo commented 8 years ago

Thanks!