- Notifications
You must be signed in to change notification settings - Fork7
RainCloudy is a library written in Python 3.x that manages the Melnor RainCloud Smart Garden Watering Irrigation Timer.
License
NotificationsYou must be signed in to change notification settings
vanstinator/raincloudy
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
RainCloudy is a library written in Python 3.x that manages the Melnor RainCloud Smart Garden Watering Irrigation Timer.
Currently Melnor WifiAquaTimer not provide an official API. The results of this project are merely from reverse engineering. This project does not have any official relationship or support by Melnor.com. Use it at your own risk.
Melnor RainCloud official page:http://www.melnor.com/16043-raincloud-smart-water-timer
Source code documentation:http://raincloudy.readthedocs.io/
fromraincloudy.coreimportRainCloudyraincloudy=RainCloudy('username@domain','secret')# list controllers linked with accountraincloudy.controllers[<RainCloudyController:control_unit:abdcd1234valve_unit:a123>]# show valve unit battery statusraincloudy.controller.faucet_battery99%# show statusraincloudy.controller.status'Online'raincloudy.controller.name'MelnorC001'raincloudy.controller.faucet.name'Backyard'raincloudy.controller.faucet.status'Online'# 4 zones controlled per faucetlen(raincloudy.controller.faucet.zones)4# show details from zone1raincloudy.controller.faucet.zone1{'auto_watering':True,'manual_watering':False'next_cycle':'Delayed','rain_delay':1,'watering_time':0 }# update attributes and show all zonesraincloudy.controller.update()raincloudy.controller.faucet.zones {'zone1': {'auto_watering':True,'droplet':'https://wifiaquatimer.com/static/images/blank.gif','is_watering':False,'next_cycle':'Delayed','name':'Backyard Flowers','rain_delay':1,'watering_time':0 },'zone2': {'auto_watering':True,'droplet':'https://wifiaquatimer.com/static/images/blank.gif','is_watering':False,'next_cycle':'Delayed','name':'Tree Patio','rain_delay':2,'watering_time':0 },'zone3': {'auto_watering':True,'droplet':'https://wifiaquatimer.com/static/images/blank.gif','is_watering':False,'next_cycle':'3:17 AM','name':'Grass Backyard','rain_delay':0,'watering_time':0 },'zone4': {'auto_watering':True,'droplet':'https://wifiaquatimer.com/static/images/blank.gif','is_watering':False,'next_cycle':'4:00 AM','name':'Grass Front yard','rain_delay':0,'watering_time':0 }}# set faucet nameraincloudy.controller.faucet.name='Outside Left'raincloudy.controller.faucet.name'Outside Left'# enable automatic program for zone1raincloudy.controller.faucet.zone1.auto_watering=True# run water for 15 minutes on zone3raincloudy.controller.faucet.zone3.manual_watering=15# set rain delay for 2 days on zone2raincloudy.controller.faucet.zone2.rain_delay=2
- Only 1 (one) controller is supported.
- Only 1 (one) valve unit is supported.
About
RainCloudy is a library written in Python 3.x that manages the Melnor RainCloud Smart Garden Watering Irrigation Timer.
Topics
Resources
License
Stars
Watchers
Forks
Packages0
No packages published