Joined June 2014
·

Robert Berwick

bos
·
·

So one more question: it seems that when all this is in place and is working (as it is on my pi right now), then what happens for me at least is that at boot time, the Sainsmart 2 channel relay gets power from pin 4, and clicks 'on' (the red led lights up)
So - I guess depending whether the relay is normally open (NO) or normally closed (NC), then this might have the unexpected effect of opening the garage door every time the pi boots.... no? There ought to be something to deal with power glitches, I guess, as well....
thanks for any tips

Hi, thanks! Yes, this did the trick. Thanks again for such a quick reply.

Thanks. The reason I asked is that, at least in the config file I downloaded just a bit ago, the line in the [Scripts] section that points to a python script is not commented out with #.
It points to a (missing) python.py script in the garagepi dir. So if one fires up webiopi with that, it fails & raises a 'file not found' python exception.
I have to comment that out to get it to run.

Cool One quick Q: the github code repo seems to have only the html index file and the WebIOPi config file. There's no python code at all - is this correct?
thanks for clarifying.

Achievements
1 Karma
0 Total ProTip Views