Integration with Orbit B-Hyve Irrigation System

Just want to post a Thank You for this integration!!

1 Like

Does this component provide gallons used info? I’d like to generate an alert when no flow was detected on last watering or when too much water was used on my faucet timers.

I dont have any of the hose timers, but yes that is implemented

Yep, as part of the history sensor.

Hi, today I updated to 2021.3.4
After a long time, I had these errors in quick sequence:

Logger: custom_components.bhyve.pybhyve.websocket
Source: custom_components/bhyve/pybhyve/websocket.py:117
Integration: Orbit BHyve Integration (documentation)
First occurred: 18:22:10 (1 occurrences)
Last logged: 18:22:10

websocket connection closed
Logger: custom_components.bhyve.pybhyve.websocket
Source: custom_components/bhyve/pybhyve/websocket.py:131
Integration: Orbit BHyve Integration ([documentation](https://github.com/sebr/bhyve-home-assistant/blob/master/README.md))
First occurred: 18:22:10 (1 occurrences)
Last logged: 18:22:10

Websocket exception:

and

Logger: custom_components.bhyve.pybhyve.websocket
Source: custom_components/bhyve/pybhyve/websocket.py:137
Integration: Orbit BHyve Integration ([documentation](https://github.com/sebr/bhyve-home-assistant/blob/master/README.md))
First occurred: 18:22:15 (1 occurrences)
Last logged: 18:22:15

Client connection error; state: starting

Integration is now broken and a restart requested.
Is there a way to avoid the restart?
Some integrations allowing a reload without the need of a HA restart, MET.NO for example.
Others still need a restart to be honest :wink:

IIRC HA doesnt give you the option to reload it when it doesnt actually setup. Would be nice if they did.

A NewB Question:
Home Assistant 2021.3.4
I have installed Orbit BHyve Integration, written by Seb Ruiz, version: 2.0.6

Hardware:
Orbit 57946 B-hyve Smart Indoor/Outdoor 6-Station Controller
Orbit 21005 B-hyve Bluetooth Hose Faucet Timer
Orbit 21006 B-hyve Wi-Fi Hub

Integration:
Have performed the Integration via HACS, installed fine.
Have added a simple Dashboard to manually control and check functionality.

Success:
Can control the Faucet Timer and works as expected, turns on and off within the dashboard.
Can control the programs [ Active/Inactive ] on the 6-station controller and works as expected within the dashboard.

Failure:
Failure to control any of the stations on the 6-station controller. They turn on for about 2 seconds and then turn off without touching the control on the dashboard, the valves do not open.

Does anyone have an idea of what I have done incorrectly? Faucet Control works perfect, the 6-station controller fails even thro I can control other functions [ ie: change the state of the active programs ]

I do not any messages within the Error Log, and only “Off” events within History.
I can control any of the stations via the B-hyve app on my phone.

Thank for any help…

Hi jim, please raise an issue over at GitHub

Thanks

Is it possible to somehow change the switch to be a sprinkler in apple home kit? I found this image


and code:

homekit:
  entity_config:
    switch.sprinkler:
      type: sprinkler

in another forum post.

Any ideas or help would be great!

I’m confused, you’re listing the answer, what is the help required? In your homekit configuration you list the switch and set its type to sprinkler, exactly like you’re showing.

I tried and it didn’t change anything for me. it did create a second instance of HomeKit, but nothing was different there either. Also, how would I format this to change four zones? switch.zone through switch.zone_4?

In the doc on that option it says that the type is cached on first load and it must be reset to change the type later. Did you do that?

Nope! Ill try that, thanks!

1 Like

I am trying to get the python script running for next watering times for the 3 zones I have but the only entity that seems to be updating is the sensor.sprinklers_rain_delay_finishing. Below is my automation script and all of my schedules right now are manually programmed via the B-hyve app.

  • alias: BHyve Sensor Update - Front Drip
    id: bhyve_update_front_drip
    trigger:

    • platform: state
      entity_id: switch.front_drip_zone, switch.sprinklers_rain_delay
    • platform: homeassistant
      event: start
      action:
    • service: python_script.bhyve_next_watering
      data:
      entity_id: switch.front_drip_zone
  • alias: BHyve Sensor Update - Back Drip
    id: bhyve_update_back_drip
    trigger:

    • platform: state
      entity_id: switch.back_drip_zone, switch.sprinklers_rain_delay
    • platform: homeassistant
      event: start
      action:
    • service: python_script.bhyve_next_watering
      data:
      entity_id: switch.back_drip_zone
  • alias: BHyve Sensor Update - Back Lawn
    id: bhyve_update_back_lawn
    trigger:

    • platform: state
      entity_id: switch.back_lawn_zone, switch.sprinklers_rain_delay
    • platform: homeassistant
      event: start
      action:
    • service: python_script.bhyve_next_watering
      data:
      entity_id: switch.back_lawn_zone

How can I debug the response from the api? I have already turned on python script debug in configuration.yaml

@SteveA the bhyve_next_watering script only supports smart watering programs for now, so you’re out of luck unless you’d like to like to contribute to the script and implement the logic. :slight_smile:

Thanks sebr. I may flip on smart watering to test. I will continue to learn and may be able to help in future until then thank you for this integration. I was able to purchase an orbit bhyve because of it.

1 Like

Yea i also would just like to say thanks to Sebr

I was standing in home depot seen this orbit, googled ‘orbit bhyve homeassistant’

Found the github, made purchase. Been working great for a year.

SteveA you dont need to worry about that script.

There are others that have posted complete watering / garden scripts/automatons
I could also post what I use, but it will take me some time to organize it into a post-able format.

let me know if you need it.

2 Likes

Hi, I would like to see an example of what can be done with automation/scripting.
I have just started tinkering with this and have six b-hyve hose timers imported into HA that water zones of my yard. I also have the bhyve_next_watering script set up and I see output from it in the debug logging.
I am just not sure what is possible to do as a next step. I was hoping to be able to define one or more zone watering sequences that I could trigger either manually/scheduled or both. And hopefully it would be easier/better than having to do everything in the Orbit app.
It seems like there is good info here and I will get something together soon enough.

@fiftys any new information is always welcome. I am 2 weeks in on HASS and so far it has been a great discovery. The community is tops and I am addicted.

1 Like

Im working on it.

1 Like