Spruce Gen2 + Hubitat Connect

Contents

Spruce Hubitat work together

Connecting Spruce to Hubitat offers some very powerful options!  Here are just a few ideas:

  • Setup specific Manual Schedules that can be triggered by events in Hubitat.
  • Utilize your existing Hubitat ZigBee network for increased Spruce Sensor range.
  • Pause and resume schedules with door and contact sensors.
  • Trigger a zone from a motion sensor to scare off intruders.

What is Hubitat

Hubitat

Experience Home Automation that is Local, Reliable, Fast, and Private.

Connecting Spruce devices to Hubitat

  • The Spruce Gen2 Controller connects through the Spruce cloud to your Hubitat hub and requires adding the Spruce Connect App and drivers code to your hub.
  • The Spruce Sensor connects directly to the Hubitat hub using Zigbee and requires adding the Spruce Sensor driver code to your hub.
  • Spruce Gen1, Gen2 and Gen3 Sensors all work with Hubitat.

Adding Spruce Gen2 Controller or Sensors to Hubitat

  • Code at Spruce-Hubitat
  • The process is relatively simple using the Import button from your Hubitat account, additional instructions are in the link above

Spruce-Hubitat Integration Features

  • The Spruce Connect App will create the following devices:
    • Spruce Controller Master
    • Spruce Zone for each zone enabled in the Spruce app
  • Along with the Spruce Controller Master, several child devices will be created:
    • Spruce Pause Control- Permits simple pause or resume functionality from automations. This is optional and selected during setup
    • Manual Schedule devices- All manual schedules setup in the Spruce App will be created and available to automations

Spruce Master Controller

  • Commands
    • Off: Stops all schedules or zones that are on
    • On: Waters all zones for the duration specified by Set Level
    • Pause: Pauses a schedule for up to 2 hours before cancelling the schedule
    • Resume: Resumes a paused schedule
    • Level: Set the water time for each zone. This setting does not effect scheduled watering
    • Update Settings: Updates the manual schedule child device list from the Spruce Cloud
  • Current States (attributes)
    • level: Number of minutes each zone will turn on for
    • message: Notification message
    • pause: on or off
    • rainsensor: on or off
    • status: Indicates if ready, active, pause,
    • switch: on or off
  • Preferences
    • Set Level: used for notation only
    • Update Settings: used for notation only

Spruce Zone

  • Commands
    • Off: Stops this specific zone, if the zone is on as part of a schedule, the next zone in sequence will start
    • On: Waters the zone for the duration specified by Set Level
    • Refresh: Updates the zone attributes from the Spruce Cloud
    • Level: Set the water time for the zone. This setting does not effect scheduled watering
  • Current States (attributes)
    • amp: Indicates if there is an over-current condition
    • gpm: Indicates if out of range when a flow meter is used with Spruce
    • landscape: type set in Spruce app
    • level: Number of minutes the zone will turn on for
    • nozzle: type set in Spruce app
    • soil: type set in Spruce app
    • switch: on or off
    • zone number: the zone number (1…16)
  • Preferences
    • Set Level: used for notation only
    • Refresh: used for notation only

Revisions

Version 1.3

  • Initial release 11/2019
  • Ported from SmartThings v1.2
  • Streamlined for Hubitat

Was this article helpful?

Related Articles