Turning off the fourth station False print( 'The state of the fourth station is currently', os. OpenSprinkler (278, 1,236) OpenSprinkler Pi (OSPi) (682, 3,663) OpenSprinkler Beagle (OSBo) (53, 187) OpenSprinkler Bee (OSBee) (43, 119) DIY Kit Assembly Questions (67, 337) 1,357 7,773 18 hours, 49 minutes ago Ray Third-Party Software Explore alternative firmware solutions and software extensions developed by the community. I actually rewired mine so it would water lawn in proper physical order. Opensprinkler programs only water in order of the stations 01-08 and cannot have a program that does stations in order 03,06,01,04 for example. S01 0 ON Station 2 1 OFF S03 2 OFF S04 3 OFF S05 4 OFF S06 5 OFF S07 6 ON S08 7 ON print( 'Turning off the fourth station') The good thing about having ISY integration and programs turning on the stations is I can water in different order now. com Station Name State 0 S01 ON 1 Station 2 OFF 2 S03 OFF 3 S04 OFF 4 S05 OFF 5 S06 OFF 6 S07 ON 7 S08 OFF print( 'Or iterate across it.')
![opensprinkler python opensprinkler python](https://cdn-blog.adafruit.com/uploads/2013/12/IMG_2314-600x337.jpg)
# password is md5 hash of the OpenSprinkler password, like the API uses # the demo site password is always 'opendoor' os = OpenSprinkler( password = 'a6d82bced638de3def1e9bbb4983225c', hostname = '')Ĭonnecting to a OpenSprinkler device at demo. The module provides a python class named OpenSprinkler that allows managing the device from python programs. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example.
#Opensprinkler python how to
Import opensprinkler print( 'Connecting to a OpenSprinkler device at ') A simple python module for interfacing with the OpenSprinkler REST API with conversion to/from common Python data types. The following are 30 code examples for showing how to use ().These examples are extracted from open source projects.