Web py ui

Fixed a bug in manual mode, 
Updated ospi.py to run on both Raspberry Pi (OSPi) and Beagle Bone Black (OSBo) platforms (minor changes).
Added rain sensor code for use on OSBo.