Rimco/OSPy — pull request #40 by martinpihrt (2014-11-21 14:26:07+00:00)
Title: New plugin UPS for master (old no refactor)

New plugin (OpenSprinkler Pi UPS monitor settings). This plugin checked power line for system. UPS (uninterrupted power supply). If is error with power line in a certain time, sends plugin email with error and shutdown system (and generate pulse to GPIO). (Power line is connected via optocoupler between GPIO 23 - pin 16 and ground) . Output on GPIO 24 - pin 18 (via optocoupler open colector and ground) to UPS for shutdown battery in UPS.