Announcement

Collapse
No announcement yet.

BeakerRain updated for HS3 (beta 2)

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • BeakerRain updated for HS3 (beta 2)

    BeakerRain, the OpenSprinkler plugin has been updated for HS3 and now includes GUI configuration.

    This version should be considered beta, so please post here if you have any issues with it.

    Installation and configuration is simple:
    1. Extract the zip file into your main HomeSeer program directory
    2. Enable the plugin from the plugin management web page
    3. Enter the IP address and number of expansion modules you have from the BeakerRain config page
    4. Press the Re-Initialize button and wait for the plugin to restart.


    I have not yet tested with mcsSprinklers, but I believe for BeakerRain to be controlled by that plugin you'll need to edit each valve device and assign an X10 house code and unit code to each valve.
    Attached Files
    Last edited by reidfo; April 23rd, 2014, 05:12 AM.
    HS Pro 3.0 | Linux Ubuntu 16.04 x64 virtualized under Proxmox (KVM)
    Hardware: Z-NET - W800 Serial - Digi PortServer TS/8 and TS/16 serial to Ethernet - Insteon PLM - RFXCOM - X10 Wireless
    Plugins: HSTouch iOS and Android, RFXCOM, BlueIris, BLLock, BLDSC, BLRF, Insteon PLM (MNSandler), Device History, Ecobee, BLRing, Kodi, UltraWeatherWU3
    Second home: Zee S2 with Z-Wave, CT101 Z-Wave Thermostat, Aeotec Z-Wave microswitches, HSM200 occupancy sensor, Ecolink Z-Wave door sensors, STI Driveway Monitor interfaced to Zee S2 GPIO pins.

  • #2
    BeakerRain beta 2 just posted

    I just posted beta 2 at the top of this thread. It fixes a crash when you assign X10 house and unit codes to a valve device.
    HS Pro 3.0 | Linux Ubuntu 16.04 x64 virtualized under Proxmox (KVM)
    Hardware: Z-NET - W800 Serial - Digi PortServer TS/8 and TS/16 serial to Ethernet - Insteon PLM - RFXCOM - X10 Wireless
    Plugins: HSTouch iOS and Android, RFXCOM, BlueIris, BLLock, BLDSC, BLRF, Insteon PLM (MNSandler), Device History, Ecobee, BLRing, Kodi, UltraWeatherWU3
    Second home: Zee S2 with Z-Wave, CT101 Z-Wave Thermostat, Aeotec Z-Wave microswitches, HSM200 occupancy sensor, Ecolink Z-Wave door sensors, STI Driveway Monitor interfaced to Zee S2 GPIO pins.

    Comment


    • #3
      I have seen the OpenSprinkler products and have thought about them in the past, and this plugin looks pretty interesting, but what are the exact functions of this plugin?

      I am assuming your plugin throws the device in to manual mode to control the valves. Does it support just monitoring status and using the opensprnkler to schedule the valves? Also, does your plugin support setting the rain delay feature?
      HS Install Date: Feb. 16, 2007

      HS3 Pro, Z-Wave, Insteon, BLStat, HS Touch Server, MyQ

      WeatherXML, BLBackup, BLLAN, BLLock, Restart, CaddX, OpenSprinkler

      Comment


      • #4
        Currently the plugin monitors the open sprinkler device, and creates home seer devices for each valve. It does not do any scheduling on its own. It's meant to allow valve control from another plugin or script.
        HS Pro 3.0 | Linux Ubuntu 16.04 x64 virtualized under Proxmox (KVM)
        Hardware: Z-NET - W800 Serial - Digi PortServer TS/8 and TS/16 serial to Ethernet - Insteon PLM - RFXCOM - X10 Wireless
        Plugins: HSTouch iOS and Android, RFXCOM, BlueIris, BLLock, BLDSC, BLRF, Insteon PLM (MNSandler), Device History, Ecobee, BLRing, Kodi, UltraWeatherWU3
        Second home: Zee S2 with Z-Wave, CT101 Z-Wave Thermostat, Aeotec Z-Wave microswitches, HSM200 occupancy sensor, Ecolink Z-Wave door sensors, STI Driveway Monitor interfaced to Zee S2 GPIO pins.

        Comment


        • #5
          That is what I do with the old plugin, I have not been home enough to try and activate things and watch it (which I plan to do this weekend) but really with the plugin personally I feel that it is great to be able to leave the control to the event engine which turns devices ON and then OFF after x amount of time, and the plugin then translates turning a device ON or OFF to the command to actually tell the opensprinkler device to activate valve x or y.

          Having this in the event engine also means that you can have events that trigger based on conditions, so for example in my setup (which is on HS2 at the moment, but will move almost 100% to HS3) I trigger events three times a day with conditions, one condition is that no rain is expected today, another is that it did not rain yesterday (from cumulus measured rainfall) and the third is, is the temperature above 30 Deg C.

          So it works like this for me:

          Run 7am every 2nd day if Rain today = No, and rain yesterday = 0
          Water garden for x minutes (e.g. 5)
          Water above ground (raised garden beds) for 3 minutes
          Mist seedlings for 30 seconds

          Run 1pm every 2nd day if rain today = No, and rain yesterday = 0 and Temp greater than 30 Deg C then
          Mist seedlings for 30 seconds

          Run 7pm every 2nd day if rain today = No, and rain yesterday = 0 and Temp greater than 30 Deg C then
          Water above ground (raised garden beds) for 3 minutes

          You could add a lot more conditions, so for example my misters are largely unaffected by wind as they are sheltered, but if it was not I could set it up so that it does not run if the wind is above x km/hr, I also have misters in my greenhouse which could trigger if temperature is above x to cool it down at given times, then if the condition is not met it just does not run
          HS3 PRO, Win10, WeatherXML, HSTouch, Pushover, UltraGCIR, Heaps of Jon00 Plugins, Just sold and about to move so very slim system.

          Facebook | Twitter | Flickr | Google+ | Website | YouTube

          Comment


          • #6
            Is it possible to extend the amount of time (or make it user settable) which is required for a timeout to be registered. I have had a similar problem with my OpenSprinkler controller and the HS2 version, but since I have a large(ish) network, and the device is relatively underpowered It ends up taking a bit of time to be able to contact the device (it always manages to connect though) if I am using a browser, so I suspect it is the same with the plugin, as my log ends up like this:

            PHP Code:
            Apr-25 2:02:57 PM           BeakerRain     ERROR Could not poll OpenSprinkler device
            Apr
            -25 2:02:57 PM           BeakerRain     ERROR doPoll() failed device=192.168.46.16
            Apr
            -25 2:02:56 PM           BeakerRain     ERROR OpenSprinkler.httpGet http://192.168.46.16/sn0: giving up after 2 tries
            Apr-25 2:02:56 PM           BeakerRain     ERROR OpenSprinkler.httpGet http://192.168.46.16/sn0: error getting response. error=The operation has timed out
            Apr-25 2:02:46 PM           BeakerRain     ERROR OpenSprinkler.httpGet http://192.168.46.16/sn0: error getting response. error=The operation has timed out
            Apr-25 2:02:06 PM           BeakerRain     ERROR Could not poll OpenSprinkler device
            Apr
            -25 2:02:06 PM           BeakerRain     ERROR doPoll() failed device=192.168.46.16
            Apr
            -25 2:02:06 PM           BeakerRain     ERROR OpenSprinkler.httpGet http://192.168.46.16/sn0: giving up after 2 tries
            Apr-25 2:02:06 PM           BeakerRain     ERROR OpenSprinkler.httpGet http://192.168.46.16/sn0: error getting response. error=The operation has timed out
            Apr-25 2:01:56 PM           BeakerRain     ERROR OpenSprinkler.httpGet http://192.168.46.16/sn0: error getting response. error=The operation has timed out
            Apr-25 2:01:16 PM           BeakerRain     ERROR Could not poll OpenSprinkler device
            Apr
            -25 2:01:16 PM           BeakerRain     ERROR doPoll() failed device=192.168.46.16
            Apr
            -25 2:01:16 PM           BeakerRain     ERROR OpenSprinkler.httpGet http://192.168.46.16/sn0: giving up after 2 tries
            Apr-25 2:01:16 PM           BeakerRain     ERROR OpenSprinkler.httpGet http://192.168.46.16/sn0: error getting response. error=The operation has timed out
            Apr-25 2:01:06 PM           BeakerRain     ERROR OpenSprinkler.httpGet http://192.168.46.16/sn0: error getting response. error=The operation has timed out 
            When i visit the link: http://192.168.46.16/sn0 in my browser it does load (quickly now) but if it has been awhile since it has been accessed it is loaded slowly (but always loads).

            Thanks

            I should mention, I have no problems controlling the device normally etc, so this seems to have just always been a polling issue.
            HS3 PRO, Win10, WeatherXML, HSTouch, Pushover, UltraGCIR, Heaps of Jon00 Plugins, Just sold and about to move so very slim system.

            Facebook | Twitter | Flickr | Google+ | Website | YouTube

            Comment


            • #7
              Function Call

              Have you thought about supporting a plugin function call?

              I just purchased an opensprinkler and am finishing up a script to control my sprinklers with weather based conditions.

              My though is to use your plugin to actually control the valves and watch the status since you already did that part, but what i'd like to be able to do is turn on a zone and set the duration in the same call. Basically using the watchdog timer feature, but dynamically at time of the On command.

              If you have no interest in this change, that is fine, i can just send a http get command direct to the opensprinkler too.
              HS Install Date: Feb. 16, 2007

              HS3 Pro, Z-Wave, Insteon, BLStat, HS Touch Server, MyQ

              WeatherXML, BLBackup, BLLAN, BLLock, Restart, CaddX, OpenSprinkler

              Comment


              • #8
                Just a thumbs up for this plugin, I have been using it for my system and have been very impressed. It works well in my system and seamlessly controls all of my irrigation systems.

                The only issue I have had is in the timeout periods, which is not a specific issue that prevents usability but rather just fulls the logs.
                HS3 PRO, Win10, WeatherXML, HSTouch, Pushover, UltraGCIR, Heaps of Jon00 Plugins, Just sold and about to move so very slim system.

                Facebook | Twitter | Flickr | Google+ | Website | YouTube

                Comment


                • #9
                  Damn it I'm so retarded. I just wrote a plugin for OpenSprinkler because I didn't realise that this one already existed. Not wanting to hijack this version, but I'll post it up anyway by the end of the weekend. My version is very similar except that when you turn it on you specify the time period so no need to turn it off.

                  At least I learned some vb which was my main objective anyway. I'll also post the source code if anyone is interested.

                  Comment


                  • #10
                    I installed this in hs3 with open sprinkler fw v2.1 and i'm getting device status changes for the main sprinkler device, but individual valves do not update status. anyone else have this problem?

                    In the below screenshot, valve 1 (master) and valve 2 (zone) are open (opened through HS3 control) but don't show it on the device status. It is controlling the device just fine, and commands are processed, but individual valve status does not update, just the controller device shows in-use:
                    Attached Files

                    Comment


                    • #11
                      I've written my own version of this plugin. If anyone wants to further develop my source code you're welcome to it.

                      http://board.homeseer.com/showthread...90#post1131890

                      Comment

                      Working...
                      X