Web UI Implementation
This page describes our implementation of the Web UI for OpenVisualizer.
Features
Displays networking state of USB attached motes, including 6TiSCH/802.15.4e communication schedule and list of neighbors.
Displays list of internal events.
Provides user help dialogs that describe all displayed attributes.
Server Requirements
Tool | Notes |
|---|---|
Bottle web framework | Using v0.11.6, with Python's WSGI reference web server. Using the built-in template mechanism. |
JavaScript client libraries
The server provides these libraries for use within the browser.
jQuery v1.10.2
jQueryUI v1.1.0
SlickGrid v2.2 (The version available only as a Git commit.)
PocketGrid v1.1
Download
Development code is maintained in the develop_SW-1b branch of Ken's GitHub repository.
Running
Use the SCons CLI target:
~/openwsn-sw/software/openvisualizer# scons runwebRemember, must run as root (or sudo) on Linux; or as Administrator on Windows. Must manually kill the server process. Notice the PID is displayed at startup.
To view the app, browse to http://localhost:8080/moteview.
I don't know if it is okay to mention it here, but it might be helpful for some people. As a comment, in order to kill the server as fast as possible, (on a linux machine) I saved the these lines in a file:
sudo kill `ps aux | grep wsn | grep python | awk '{print $2}'`