From e1f4413691a3bca6deb1af411b4125914d53c69d Mon Sep 17 00:00:00 2001 From: jbarrancos <31309880+jbarrancos@users.noreply.github.com> Date: Wed, 25 Oct 2017 09:41:19 +0200 Subject: [PATCH] Rain Bird LNK WiFi Irrigation Implementation (#3242) * Add Rainbird logo Add Rainbird logo * Add Rainbird docset Add Rainbird docset * Added service description Start and stop irrigation explaination * Changed paramaters * Corrected to official names * Fixed more typos * Added additional configuration documentation * Corrected unnecessary line. * Per discussion moved everything to switch * Update switch.rainbird.markdown * Not needed --- source/_components/switch.rainbird.markdown | 46 ++++++++++++++++++++ source/images/supported_brands/rainbird.png | Bin 0 -> 2427 bytes 2 files changed, 46 insertions(+) create mode 100644 source/_components/switch.rainbird.markdown create mode 100644 source/images/supported_brands/rainbird.png diff --git a/source/_components/switch.rainbird.markdown b/source/_components/switch.rainbird.markdown new file mode 100644 index 00000000000..455c9118ac8 --- /dev/null +++ b/source/_components/switch.rainbird.markdown @@ -0,0 +1,46 @@ +--- +layout: page +title: "Rain Bird Switch" +description: "Instructions on how to integrate your Rain Bird LNK WiFi Module as Switches within Home Assistant." +date: 2017-08-25 12:00 +sidebar: true +comments: false +sharing: true +footer: true +logo: rainbird.png +ha_category: Hub +ha_release: 0.50 +ha_iot_class: "Local Polling" +--- + +This `rainbird` switch platform allows interacting with [LNK WiFi](http://www.rainbird.com/landscape/products/controllers/LNK-WiFi.htm) module of the Rain Bird Irrigation system in Home Assistant. + +To enable stations as switches inside Home Assistant, add the following to your `configuration.yaml` file: + +```yaml +switch: + platform: rainbird + host: '1.1.1.1' + password: 'secretpassword' + sprinkler_1: + zone: 1 + friendly_name: "Front sprinklers" + trigger_time: 20 + scan_interval: 10 + sprinkler_2: + friendly_name: "Back sprinklers" + zone: 2 + trigger_time: 20 + scan_interval: 10 +``` + +Configuration variables: + +- **stickip** (*Required*): The IP address of your LNK WiFi Module. +- **password** (*Required*): The password for accessing the module. +- **zone** (*Required*): Station zone identifier. +- **friendly_name** (*Optional*): Just a friendly name for the station. +- **trigger_time** (*Required*): The default duration to sprinkle the zone. +- **scan_interval** (*Optional*): How fast to refresh the switch. + +Please note that due to the implementation of the API within the LNK Module, there is a concurrency issue. For example, the Rain Bird app will give connection issues (like already a connection active). diff --git a/source/images/supported_brands/rainbird.png b/source/images/supported_brands/rainbird.png new file mode 100644 index 0000000000000000000000000000000000000000..fee1def08e802b568a52ab9b7686874f456373bc GIT binary patch literal 2427 zcmV->3552EP)Px#1ZP1_K>z@;j|==^1poj532;bRa{vGi!~g&e!~vBn4jTXf2@pv{K~#8N?V7*J zWJM6g_Yr&q-@yma+{DOO3`{jsFi_Z3*mz~ZL_^U)BN0r*NDKrsH4`IE1jEta@|6@t z)#*Re-*|VX4;*&CnR|P>tLvPq+cOVN8yg!J!xr4e#s#qjx3O_SY{6}8To7AuSB8(i z|LX348%M+z+?C`}EP>UmHim7TlHLn_qrBJ$U!!)1z-czk6llNZ5kALOlP$ z>rX|u+sor&3+{mU^^f0AfByZ~-CyHCXb5hL?s(XOJ1E}!`jaWqnOL8D`07)^@$V16 z{e1WC#{Z2ixP#)epT0Z2_~h-ozxu&_FFbzZ^vcH%|EqFabjQIK+<}2uW)45Bx_NHV z9Rpi%2L&x9B7wAtBjDaBxGlP4U<>Ym;2Dh8(1bG5T5_L#HIR`L%ySN8HqOJn3l2xc zaeGM%HR|Zs1mfkzX6$V(IhD*>N>85g&J`VdlaQ2BDWPzGZ}piK+(=cf*s9joihC1W^(->OTSJfVs!GSb z+4UJ`o~1^{Z}Ap!FM?}TH(E{H6>=iia^zVje%8?v9#z7}#st(;fo400p7|JCj}*6v zdlB4QUw)Vd*chM7TCRDkf-?{wWlH|!k0fsy*zB`$YoB;OqM8e@-y)U^u62TyIV*z7 zt~Is2ENkuAI>I2A0Cxu=DK3RPl||-m#|!LDj1cUtLnmd3a#e^ zW97hL#9dW&gH)J^D(TdmD)fl1qDs0JRCSA@Fesz($;z6tYhdh%RIap0G04zU-7?O^ zbE)83!N}a430DaTl_QS?zY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