webCoRE for Hubitat Updates

Updated version posted that should correct the reported ifttt issue. See note 1 in thread for details.

2 Likes

@nh.schottfam the updated instructions in thread 1 are great. thanks.
Can i make a suggestion for the next update? To make it easier to import the 2 files and save copy/pasting from GitHub, in the definition add importUrl, eg:

importUrl: 'https://raw.githubusercontent.com/imnotbob/webCoRE/hubitat-patches/smartapps/ady624/webcore.src/webcore.groovy'

so for webcore.src it would be:

definition(
name: "${handle()}",
namespace: "ady624",
author: "Adrian Caramaliu",
description: "Tap here to install ${handle()} ${version()}",
category: "Convenience",
singleInstance: false,
/* icons courtesy of @chauger - thank you */
iconUrl: "https://cdn.rawgit.com/ady624/${handle()}/master/resources/icons/app-CoRE.png",
iconX2Url: "https://cdn.rawgit.com/ady624/${handle()}/master/resources/icons/app-CoRE@2x.png",
iconX3Url: "https://cdn.rawgit.com/ady624/${handle()}/master/resources/icons/app-CoRE@3x.png",
importUrl: 'https://raw.githubusercontent.com/imnotbob/webCoRE/hubitat-patches/smartapps/ady624/webcore.src/webcore.groovy'
)

What I have done is click on the import button and copy in the url.
This is saved for future updates so in future all you have to do is click the import button. No more copy /paste.

Ah ok. didnt realise it would save the string

1 Like

[quote="Townsmcp, post:97, topic:11967"]To make it easier to import the 2 files and save copy/pasting from GitHub, in the definition add importUrl
[/quote]

Did Hubitat change something? Last I read that only works for drivers. For apps, it remembers if (as noted above) you copy the URL into the dialog once yourself (which it also won't for drivers).

My understanding matches yours:

I have updated .1 in this thread with the additional instructions/documentation.

Updated April 14th

Fix for proper setup of subscriptions after save of piston code.
Cleanups on color handling

3 Likes

Will this help with this piston? It doesn't appear to have any subscription for Sunset.

image
It used to be Happens daily at Sunset, yet that didnt work either. If I edit the Piston, then it would work. But if I don't do that daily, the light never comes on. Even tried deleting and recreating.

Yet this one, also using Sunset does.

image

these issues should be all resolved with the update of April 14th or later. Let me know if you see other problems.

Update April 16th

  • fix for improper hashing of location ID
  • email send uses async http.
2 Likes

Update April 20th

  • Fix for time schedule subscriptions

Many thanks to @Royski for reporting this and helping find the issue.

4 Likes

Looking much better here. Many thanks @nh.schottfam

1 Like

@Royski, I' m very happy when I read your post. Could you give more detail : Hue bridges need connect to the HE hub with Webcore ? ( turn off radio ) ; Dashboard on hub server or hub client ? If still need to use RM, install on server or client is better ?
I want follow your way on my setup 1 HE server, 2 HE client, 1 ST hub. PLEASE give me some advice. Thanks a lot.

Ok a rough diagram on setup.

Hub_1 - All physical devices are connected
Hub_2 - Runs all apps and Hue
ST - Runs a couple of things I have no driver for as yet.

HubConnect is in use on all hubs, and Hub_2 is the coordinator.
I share a few LAN and virtual devices from Hub_2 to Hub_1 and ST.

My Dashboards are set up on Hub_2, with all other apps including webCoRE.

Hope this helps. :+1:

3 Likes

@Royski, thanks. On your set up :

  • Can Hue connect direct to both Hub_1 ( client ) and Hub_2 ( coordinator ) ?
  • Hub_1, Hub_2, Samsung ST, Hue connect via wifi or wired ?
  • Hub_2 ( coordinator ) is turn off radio , both Z-wave and ZigBee ?
  • Speaker ( Echo ), LAN devices, ST virtual devices … on ST hub can shares to Hub_2 by HubConnect ?
  • Hue connect to Samsung ST for double check status of the lights on mobile phone ?
  • Use Pushover ( paid ) on Hub_2 ( coordinator ) and Push a Notification on ST hub via webCoRe for some contac sensor ( Front door, Back door … ) ?

Hi,

A little too far off the subject matter, PM me if anything more is needed :+1:

  • Can Hue connect direct to both Hub_1 ( client ) and Hub_2 ( coordinator ) ?
    It could but I dont need it.

  • Hub_1, Hub_2, Samsung ST, Hue connect via wifi or wired ?
    ST is via the cloud, so doesn't matter. And HE isnt WiFi.

  • Hub_2 ( coordinator ) is turn off radio , both Z-wave and ZigBee ?
    No, I just dont plug the sticks in, but you could disable.

  • Speaker ( Echo ), LAN devices, ST virtual devices … on ST hub can shares to Hub_2 by HubConnect ?
    All apps are on Hub_2 so I have no need to connect anywhere else.

  • Hue connect to Samsung ST for double check status of the lights on mobile phone ?
    Again, you could but I have no need as I use Dashboard

  • Use Pushover ( paid ) on Hub_2 ( coordinator ) and Push a Notification on ST hub via webCoRe for some contac sensor ( Front door, Back door … ) ?
    I have it on both ST and Hub_2 (you pay per receiving device - phone etc)

1 Like

Updated - see note 1 in this thread:

Current Release: Updated May 5th, 2019

  • Ability to execute Rule Machine rules from webCoRE To use this capability you need to use the webCoRE dashboard site staging.webcore.co when editing pistons that call RM.
  • Improved DST processing
  • improved sunrise/sunset events to avoid double executions
  • cleanups and bug fixes
3 Likes

There has been a small fix to today's kit, so if you grabbed the May 5th kit in past 2 hrs, please update webcore-piston.groovy file again.

2 Likes

any idea why it's not subscribing to mode changes?

1 Like

I pushed an updated version, thanks for the report.

Updated May 12th

4 Likes