Posted by martin.konstantin.behrens
What steps will reproduce the problem? 1.add while True: 2. 3. ...
WebIOPi version used? =>0.6.0
Python version used? =>
Distro used? (WebIOPi has only been tested on Raspbian Wheezy) =>Raspian Wheezy
Raspberry Pi board revision? (1 or 2) =>2
Please provide any additional information below. Ich have a pythonscript with the following Line: "while True: if GPIO.digitalRead(Alarm):... that works if I start this without WebIOPi. But if I copy this file into my folder to load this from WebIOPi. The startup of the Server stopped at "Loading myproject". Please Help !
Posted by trouch
replace "while True" with "def loop()"