The Ultimate Smart Home Integration Cookbook

Integration: It enables the smart home hub to communicate and work with various smart devices or services.

Hubitat Connect is how we can share our Hubitat devices with other smart home hubs. Sharing our Hubitat devices with other hubs gives us unparallel flexibility in our smart homes. In addition, Hubitat not only connects to other smart home hubs but also has a built-in ability to connect multiple Hubitat hubs, making Hubitat one of the most flexible smart home hubs on the market.

Automation Details

Requirements

  • Hubitat Hub

Actions:

  • Connect to Hubitat Smart Home Hub
Novice
Novice

Hubitat

Hub Mesh

The Official Documentation for Hub Mesh

Setting Up the Automation

  1. Enable Hub Mesh

    First, go to Settings, then click Hub Mesh.

    Hubitat Settings Screen
  2. On the Hub Mesh Screen, click the Enable button.

  3. Confirm Enable Hub Mesh.

    Hubitat Hub Mesh Confirm Screen
  4. You will be prompted to reboot your hub.

  5. Click Settings, then Reboot.

    Hubitat Settings Screen
  6. Confirm Reboot.

    Hubitat Settings Reboot Confirm
  7. Hub Rebooting

    Hubitat Settings Rebooting
  8. Once the reboot is complete, return to Settings, Hub Mesh, and click Modes from the top of the screen.

    Hubitat Hub Mesh Enabled
  9. On the Hub Mesh Modes screen, select the hub you want to follow and click the Update button.

    Hubitat Hub Mesh Modes
  10. Confirm follow Hub Mode.

    Important: You will need to repeat these steps for each Hubitat Hub you want to link together.

    Hubitat Hub Mesh Modes Confirm Follow
  11. Sharing Devices

    On the host hub where you want to share devices, go to your Hub Mesh settings and click Local devices from the top of the screen.

    Hubitat Hub Mesh Host Hub
  12. On the Hub Mesh Local Devices screen,

    1. Share Devices are devices you have shared from this hub.
    2. Private Devices are devices not yet shared but are available to share.
    3. To share a device click the share icon next to the device and confirm sharing.

    Hubitat Hub Mesh Host Local Devices
  13. Alternatively, you can add a device to Hub Mesh from the device settings page by selecting Hub Mesh enabled switch under the Device Information section.

    Hubitat Hub Mesh Device Screen
  14. Next, on the hub where you want to link the shared devices, return to Settings, Hub Mesh, and click Linked Devices from the top of the screen.

    Hubitat Hub Mesh Follow Hub
  15. On the Hub Mesh Linked Devices screen, you will see all the shared devices from the different hubs.

    To link a device, click the Plus Sign next to the device and confirm adding the linked device.

    Hubitat Hub Mesh Follow Hub Linked Devices
  16. Once you link all your devices, click the Devices tab.

    Hubitat Hub Mesh Follow Hub Linked Devices Finished
  17. On the Devices list screen, you will see all your linked devices.  Notice that each device is suffixed with “on [Hub Name]”.  To change this click into a device.

    Hubitat Hub Mesh Follow Hub Device List
  18. Scroll down to the Device Information Section,

    1. You can add a label to display the name you prefer.
    2. You can add the device to a room.
    3. Then, click the Save Device button.

    Important: Do this for each of the devices you have linked.

    Hubitat Hub Mesh Follow Hub Device Settings
  19. Success: That’s it.  You should see all of your renamed devices.

    PRO TIP: If all of the devices for an automation are on the same hub, you should put the automation on that hub.  Otherwise, you will introduce latency.

    Hubitat Hub Mesh Follow Hub Device List

Home Assistant

Hubitat Integration for Home Assistant

The Official Documentation for Hubitat Integration for Home Assistant

The Official Documentation for Maker API

Important: This integration requires the Community Store.

Setting Up the Automation

  1. First, go to Apps and press Add Built-in App button.

    Hubitat App Screen
  2. Please scroll down to you see Maker API and select it.

    Hubitat Install App Screen
  3. Rename the Maker API Label to something meaningful and click the Select Devices box.

    Hubitat Maker API Screen
  4. Select the devices you want to share with Home Assistant and click Update.

    Hubitat Maker API Select Devices
  5. Make sure to enable POST location events and click Done.

    Turning On POST Location Events allow Home Assistant to follow Hubitat’s Modes

    Hubitat Maker API Settings
  6. Next, go to HACS, then Integrations.

    Home Assistant HACS Menu
  7. Click the Explore & Download Repositories button.

    Home Assistant HACS Integrations
  8. Search for Hubitat and select Hubitat from the list.

    Home Assistant HACS Search
  9. At the bottom of the screen, click the Download button.

    Home Assistant HACS Hubitat
  10. In the pop-up window, click Download.  Once done, click the back arrow at the top of the screen.

    Home Assistant HACS Hubitat Download
  11. Hubitat is pending a restart.

    Home Assistant HACS Integrations Restart
  12. Go to Developer Tools and click Check Configuration, and if everything is alright, click Restart.

    Home Assistant Restart
  13. Confirm Restart.

    Home Assistant Restart Confirm
  14. Next, go to Settings and Devices & Services.

    Home Assistant Settings Screen
  15. On the Integrations tab Press the Shift Key + F5 to perform a hard refresh on the browser.  Then click the Blue Add Integration button at the bottom of the screen.

    Home Assistant Settings Integration Screen
  16. You can just search for Hubitat and select it from the list.

  17. Back in the Hubitat Apps screen, click the gear icon next to the Maker API app we created earlier.

    Hubitat Maker API Screen
  18. Copy the Access Token code on the App Settings page and click the Go to App button.

    Hubitat Maker API Settings
  19. Take note of the IP address and the /apps/api/number.  We’ll need these for the next step.

    Hubitat Maker API Apps
  20. Back in Home Assistant on the Connect to your Hubitat Hub pop-up window,

    1. Enter the IP address of your Hubitat Hub.
    2. Enter the App ID number from the previous step.
    3. Paste the Maker API Access Token we copied earlier.
    4. Finally, click Submit.

  21. Success: You should get a Success message with all your Hubitat devices.  You can add your devices to areas, then click the Finished button.

    Home Assistant HACS Hubitat Finished
  22. Click the vertical ellipse on the Hubitat integration.

    Home Assistant Integration Screen
  23. Select Rename.

    Home Assistant Integration Hubitat Rename
  24. Rename the instance to something more meaningful and click OK.

    If you have multiple Hubitat Hubs, repeat all these steps for each hub you want to share from.

    PRO TIP: You don’t want to share a Linked device.  You should ALWAYS share from the Host Hub.

    Home Assistant Integration Hubitat Rename Finished

Amazon Alexa

Amazon Echo Skill

The Official Documentation for Amazon Echo Skill

Setting Up the Automation

  1. First, Click the More button at the bottom right of the screen.

    Alexa Home Screen
  2. From the More screen, select Skills & Games.

    Alexa App More Screen
  3. Search for Hubitat and select it when found.

    Alexa Skill Search Screen
  4. Click the Enable to use button.

    Alexa Hubitat Skill Enable
  5. Enter your credentials for your Hubitat cloud account.

    Alexa Hubitat Sign-in Screen
  6. Choose your hub, then click the Select button.

    Alexa Hubitat Hub Select Screen
  7. Select the devices you want, then scroll to the bottom and click Authorize.

    Alexa Hubitat Devices Select Screen
  8. Once you get the successful linked message, click Next.

    Alexa Hubitat Linked Screen
  9. Head over to your Hubitat instance and select Apps.  You should see the Amazon Echo Skill now enabled. Next, click the Amazon Echo Skill app.

    Hubitat Apps Screen
  10. Success: That’s It! This is where you will manage what devices you share with Alexa. Once you select your devices you want to share click done.

    Hubitat Amazon Echo Skill Screen