PyOzwWeb documentation¶
What it’s¶
This will be the next release of the manager in the future. It’s also a good solution for a full event webapp (jquery + socketio)
Launching it¶
Go to the right directory :
cd src-web/pyozwweb
Update the config :
vim app.conf
[zwave]
device = /dev/ttyUSB0
You can fine tune logging in logging.conf and run the app :
./run.py
And connect to http://127.0.0.1:5000 using your favorite browser.
You can also change the ip/port to allow remote connections :
[server]
host = 0.0.0.0
port = 8080
Source¶
The listener.
-
class
pyozwweb.app.listener.
ListenerThread
(_socketio, _app)¶ The listener Tread
-
connect
()¶ Connect to the zwave notifications
-
join_room_controller
()¶ Join room controller
-
join_room_network
()¶ Join room network
-
join_room_node
()¶ Join room nodes
-
join_room_values
()¶ Join room values
-
leave_room_controller
()¶ Leave room controller
-
leave_room_network
()¶ Leave room network
-
leave_room_node
()¶ Leave room nodes
-
leave_room_values
()¶ Leave room values
-
run
()¶ The running method
-
stop
()¶ Stop the tread
-