JavaScript HTML CSS Python LiveScript Makefile
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
css
demos
docs
images
js
service
.gitignore
.travis.yml
COPYRIGHT
LICENSE
README.md
index.html

README.md

VSCP & Friends - HTML5 UX demos

VSCP logo

This is the VSCP HTML5 user interface component framework which can be used to create nice and responsible user interfaces experiences.

The provided demo's are based on websocket and REST interface to the VSCP server. The interfaces itself are described in the VSCP daemon documentation:

If you want to know more about the VSCP project visit the VSCP web site.

Everything is released under the MIT License.

Getting started

On a standard system install this full source tree at /srv/vscp/web (programdata/vscp/www on windows) or other folder set in <webrootpath>...</webrootpath> directive under the <websrver> tag in the vscpd.conf file of the VSCP daemon.

If you just want the VSCP websocket or REST javascript code you find it in the 'js/vscp-js' folder. Or get them from its repository:https://github.com/grodansparadis/vscp-js/ You should probably compress this javascript file for a production system. There are plenty of them around this is one of them.

Demos

You will find the demo code in the demo subfolder. The index.html file in it will take you to it and give some further instructions. The folder contains a few demos on how to use VSCP widgets and demonstrates the VSCP daemon websocket and REST interface.

In the configuration file this is set as


<!-- Path to server root file system                       -->
<!-- Server should have read/write access to this location -->
<webserver enable="true" port="8080">
   /srv/vscp/web

Remember to restart the daemon if you change the configuration file.

To test that everything is working enter

http://localhost:8884/testws/index.html

and you should get the start page which takes you true the rest of the demo..

Some useful commands for the vanilla test window

5 Turn ON Zone=1, Subzone=35
send 0,30,5,0,0,-,0,1,35
6 Turn Off
send 0,30,6,0,0,-,0,1,35
7 Start
send 0,30,7,0,0,-,0,1,35
8 stop
send 0,30,8,0,0,-,0,1,35

send head,class,type,obid,time-stamp,GUID,data1,data2,data3....




Copyright © 2015-2018 Andreas Merkle (vscp@blue-andi.de)
Copyright © 2012-2018 Grodans Paradis AB (Paradise of the Frog)