How to Add an Orbit B-hyve Sprinkler Timer to Apple Home (Home Assistant, Valves, and Alerts)
Orbit B-hyve timers live in the B-hyve app and nowhere else. There is no HomeKit option. With Home Assistant in the middle, each watering zone becomes a valve, and a small HomeKit Bridge puts those valves in Apple Home, so "Hey Siri, turn on Sprinkler 1" works and the zones can join your Home scenes.
This setup has one Orbit B-hyve Smart Timer with two zones. Because the integration goes through the B-hyve cloud, it also gets four alerts that tell you when the link drops or a watering does not happen.
The page is dressed like a 1998 personal site. The steps are current. Copy the YAML from the Notepad boxes.
Where each piece sits
- Orbit B-hyve integration (bhyve)
- The sebr custom integration. Signs in to the B-hyve cloud and creates the entities.
- Zone valves
- One
valveentity per zone. Open starts watering, close stops it. - HomeKit Bridge
- A bridge named Sprinklers that publishes just the two valves.
- Alerts
- Four automations that watch the valves and the zone history.
1 Install Orbit B-hyve from HACS
Open HACS, search for Orbit BHyve (the sebr/bhyve-home-assistant repository), download it, and restart Home Assistant. The most common mistake, per the project's own help section, is stopping here. Installing from HACS does not set anything up.
2 Connect your B-hyve account
Settings, Devices & services, Add Integration, search for Orbit B-hyve, and finish the guided setup. Sign in with the same account the B-hyve app uses, then pick the timer you want in Home Assistant.
The sign-in is stored in Home Assistant. Keep it out of screenshots and git.
3 Find the zone valves and name them
The integration creates a valve entity for each zone. Opening a zone valve starts watering that zone for its default time, and closing it stops watering. You also get a next watering sensor, a history sensor per zone, rain delay and smart watering switches, a run mode select, and a fault sensor.
The zone entities come in as valve.smart_timer_zone_1_zone and valve.smart_timer_zone_2_zone. Short names read better in Apple Home and in Siri, so set them in customize.yaml.
valve.smart_timer_zone_1_zone:
friendly_name: Sprinkler 1
valve.smart_timer_zone_2_zone:
friendly_name: Sprinkler 2
That file is loaded by homeassistant: customize: !include customize.yaml in configuration.yaml. Renaming the entities in the UI works just as well.
4 Make a HomeKit Bridge just for the sprinklers
Give the zones a bridge of their own. Then a water timer that drops off the cloud does not leave a lights bridge full of "No Response" tiles, and you can reset it alone.
This one is made in the UI. Settings, Devices & services, Add Integration, HomeKit Bridge. Include only the valve domain, finish, then open Configure on the new entry:
- Mode: bridge.
- Inclusion: pick exactly the two zone valves.
- Leave the rest at the defaults.
Home Assistant names a new entry HASS Bridge plus a suffix, and gives it the next free port. Here it became HASS Bridge 2L:21072, renamed to Sprinklers. If you want the same result in YAML, it looks like this:
homekit:
- name: Sprinklers
port: 21072
advertise_ip: 192.168.1.50 # your server's LAN IP
filter:
include_entities:
- valve.smart_timer_zone_1_zone
- valve.smart_timer_zone_2_zone
Pick one way per bridge. A bridge made in the UI is edited in the UI. YAML for it makes a second bridge on another port.
5 Pair it in the Apple Home app
Open the notification in Home Assistant for the new bridge, then in the Home app choose Add Accessory and scan the QR code. Accept the uncertified accessory with Add Anyway and put Sprinkler 1 and Sprinkler 2 in a room such as Backyard.
Open the Apple Home app
Add Accessory
Scan the QR code from the Home Assistant notification
Add Anyway (uncertified accessory)
Room: Backyard
Done
Home Assistant exposes a valve entity as a HomeKit valve. Tap the tile to start the zone and tap again to stop it.
6 Add alerts for the cloud link
This integration talks to the B-hyve cloud, and the timer talks to it too. When either side drops, the zones go unavailable, and Apple Home just shows No Response. Four automations catch that, and also catch the quieter failures.
- Offline 60 min. Either zone unavailable or unknown for an hour.
- Back online. Fires after a long outage ends and clears the offline notice.
- Missed scheduled watering. Two hours past a zone's
next_start_timeand the zone history shows no run. - Ran too short. A zone went from open to closed in under three minutes. That points at a valve or water supply problem.
Put them in a package so they travel together. Change notify.mobile_app_your_iphone to your own phone's notify action.
automation:
- id: sprinkler_alert_offline
alias: "Sprinkler alert - offline 60 min"
mode: single
triggers:
- trigger: state
entity_id: [valve.smart_timer_zone_1_zone, valve.smart_timer_zone_2_zone]
to: ["unavailable", "unknown"]
for: "01:00:00"
actions:
- action: notify.mobile_app_your_iphone
data:
title: "Sprinklers offline"
message: "{{ trigger.to_state.name }} has been unavailable for over an hour. B-hyve may need a reload."
- action: persistent_notification.create
data:
notification_id: sprinkler_offline
title: "Sprinklers offline"
message: "{{ trigger.to_state.name }} unavailable for over an hour."
- id: sprinkler_alert_recovered
alias: "Sprinkler alert - back online"
mode: single
triggers:
- trigger: state
entity_id: [valve.smart_timer_zone_1_zone, valve.smart_timer_zone_2_zone]
from: ["unavailable", "unknown"]
conditions:
- "{{ trigger.to_state.state not in ['unavailable', 'unknown'] }}"
- "{{ (now() - trigger.from_state.last_changed).total_seconds() >= 3600 }}"
actions:
- action: notify.mobile_app_your_iphone
data:
title: "Sprinklers back online"
message: "{{ trigger.to_state.name }} is available again."
- action: persistent_notification.dismiss
data:
notification_id: sprinkler_offline
- id: sprinkler_alert_missed
alias: "Sprinkler alert - missed scheduled watering"
mode: queued
triggers:
- trigger: template
id: "1"
value_template: >
{% set ns = state_attr('valve.smart_timer_zone_1_zone', 'next_start_time') %}
{% set h = states('sensor.smart_timer_zone_1_zone_history') %}
{{ ns is not none and now() > as_datetime(ns) + timedelta(hours=2)
and (as_datetime(h) is none or as_datetime(h) < as_datetime(ns) - timedelta(minutes=10)) }}
- trigger: template
id: "2"
value_template: >
{% set ns = state_attr('valve.smart_timer_zone_2_zone', 'next_start_time') %}
{% set h = states('sensor.smart_timer_zone_2_zone_history') %}
{{ ns is not none and now() > as_datetime(ns) + timedelta(hours=2)
and (as_datetime(h) is none or as_datetime(h) < as_datetime(ns) - timedelta(minutes=10)) }}
actions:
- variables:
v: "valve.smart_timer_zone_{{ trigger.id }}_zone"
- action: notify.mobile_app_your_iphone
data:
title: "Sprinkler missed watering"
message: "{{ state_attr(v, 'friendly_name') }} missed its scheduled start."
- id: sprinkler_alert_short_run
alias: "Sprinkler alert - ran too short"
mode: queued
triggers:
- trigger: state
entity_id: [valve.smart_timer_zone_1_zone, valve.smart_timer_zone_2_zone]
from: "open"
to: "closed"
conditions:
- "{{ (trigger.to_state.last_changed - trigger.from_state.last_changed).total_seconds() < 180 }}"
actions:
- action: notify.mobile_app_your_iphone
data:
title: "Sprinkler ran too short"
message: >
{{ trigger.to_state.name }} turned off after only
{{ (trigger.to_state.last_changed - trigger.from_state.last_changed).total_seconds() | int }} seconds.
The missed watering check reads next_start_time, an attribute the integration still sets on each zone valve, and compares it with that zone's history sensor.
7 Troubleshooting
Both zones show No Response
Check the zones in Home Assistant first. If they are unavailable there too, the B-hyve cloud link dropped. Reload the Orbit B-hyve integration from its entry in Devices & services. If the B-hyve app cannot reach the timer either, the problem is the timer's own connection, not Home Assistant.
A zone only runs for a fixed time
Opening a zone valve runs that zone for its default time. Set the time in the B-hyve app. Close the valve from Apple Home to stop early.
You want the tile to say sprinkler
The HomeKit Bridge can present a valve as faucet, shower, sprinkler, or valve. That is set with entity_config on a YAML bridge. After you change it, reset the accessory so the Home app picks up the new type.
homekit:
- name: Sprinklers
port: 21072
filter:
include_entities:
- valve.smart_timer_zone_1_zone
- valve.smart_timer_zone_2_zone
entity_config:
valve.smart_timer_zone_1_zone:
type: sprinkler
valve.smart_timer_zone_2_zone:
type: sprinkler
Comments
Loading comments…