Issue #047 [WontFix/closed] - Provided custom html code doesn't work

Posted by

The sample code provided at doesn't work at following buttons: a. The switch and LED buttons don't work.

Also, there isn't any examples/custom/index.html file.

What steps will reproduce the problem?

  1. Install the webiopi as described in
  2. Copy .html code from and put it in index.html in /usr/share/webiopi/htdocs
  3. access the code at raspberrypi:8000 ...

WebIOPi version used? =>0.6.0

Python version used? =>2.7

Distro used? (WebIOPi has only been tested on Raspbian Wheezy) =>Raspbian Wheezy

Raspberry Pi board revision? (1 or 2) =>2

For Javascript side bugs, Browser? =>

Please provide any additional information below.

Comment 1

Posted by trouch

See discussion at!msg/webiopi/A7ZGV-HyJk0/ypQBPICAOG4J

I think you miss to set GPIO used as input and output. You also have to change doc-root instead of overwriting files in /usr/share/webiopi