Using webCoRE with Hubitat

I read through the thread and was rather intimidated in being able to install WebCore on Hubitat. Thanks to everyone's work in porting it (and the developers), it turned out to be relatively easy and straightforward. Here are the steps to install:

  1. Go to the GitHub repository

  2. Click webcore.src

  3. Click webcore.groovy

  4. Copy the code. You can click the Raw button to display just the code, select it and use Ctrl + C.

  5. Go to the Hubitat app.

  6. Click Apps Code.

  7. Click New App.

  8. Paste the code (you can use Ctrl + V).

  9. Click Save.

  10. Click OAuth.

  11. Click Update.

  12. Repeat for the other webcore app components:
    On GitHub (click Back in browser four times), click webcore-storage.src. Click webcore-storage.groovy. Copy the copy. Go to Hubitat app. Click Apps Code. Click New App. Paste the code. Click save. Click OAuth. Click Update.

  13. On GitHub (click Back in browser four times), click webcore-piston.src. Click webcore-piston.groovy. Copy the copy. Go to Hubitat app. Click Apps Code. Click New App. Paste the code. Click save. Click OAuth. Click Update.

  14. On GitHub (click Back in browser four times), click webcore-dashboard.src. Click webcore-dashboard.groovy. Copy the copy. Go to Hubitat app. Click Apps Code. Click New App. Paste the code. Click save. Click OAuth. Click Update.

  15. In Hubitat app, click Apps.

  16. Click Load New App. Under User Apps (at the bottom).

  17. Click webCoRe.

  18. Click Next.

  19. Enter a "Name" for the webCoRe instance. (I included "Hubitat" within the name to make sure it doesn't conflict with my ST install - don't know if needs to be unique.)
    There's an option to (dis)allow collecting anonymized data (I don't know if the Hubitat port actually sends this data...?) Select whichever is your preference.
    Enter a password.

  20. It will ask to select actuators and sensors, and devices by capability. Select all that you want WebCore to access for each the options. (You can change the selections later.)

  21. Click Next.

  22. Click Done.

That should be it, but let's make sure.

  1. Click Hubitat WebCore.

  2. Make sure the actuators and sensors saved properly (from the above step), by clicking Settings.

  3. Click Available Devices.

  4. Check if your selections show correctly, and if not, reselect them.

  5. Click Done.

  6. Open Dashboard in a new tab (eg right-click, Open link in new tab, or however).
    Use as WebCore as normal and consider donating to the developers. (This is especially true for @Roguetech!)

If anything here is incomplete or incorrect, I will update - just tell me what I got wrong.

edit: I've had trouble getting WebCore working with these steps, and removed it and readded a couple times to get adding a piston to work. The "actuators and sensors" don't appear as available to WebCore. I'm not sure what the secret sauce was that finally worked for me. I think the trick was to follow the steps above, then open WebCore and login, then in Hubitat go into "Hubitat Storage" (which only appears after going into WebCore). When your devices are registered in Hubitat Storage, then they will appear in WebCore. I'll try to retest it and capture what's required (and what all I did that didn't actually help).

Credit for numbering to mpoole32.

6 Likes