webCoRE for Hubitat Updates

If the driver source file is installed (and webcore-storage app is installed / enabled with with weather data)

In HE console -> Apps -> webCore

  • enable Webcore to use the new driver (it should be created once you hit done in webcore with $weather and storage app installed)

In my case the device is called 'webCoRE home Weather'

Then in a piston that uses $weather

You can place an if statement somewhere (to trigger)

if 'webCoRE home weather' updated changes

so now the piston will run each time $weather is updated (typically every 30 mins).

In my piston with logs enabled I see:

12/9/2020, 2:21:52 PM +652ms
+4ms	╔Received event [webCoRE home Weather].updated = 1607541712601 with a delay of 43ms, canQueue: true, calledMyself: false
+50ms	║Runtime (22014 bytes) successfully initialized in 2ms (v0.3.110.20201015_HE) (Init: 43, Lock: 1, pistonT 2 first state access 40 (5 38) 35
+51ms	║╔Execution stage started
+150ms	║║Executed virtual command setVariable (1ms)
+178ms	║║Executed virtual command setTile (1ms)
+183ms	║║Executed virtual command setVariable (2ms)
+191ms	║║Executed virtual command setVariable (2ms)
+200ms	║║Executed virtual command setVariable (1ms)
+204ms	║║Executed virtual command setVariable (1ms)
+209ms	║║Executed virtual command setVariable (2ms)
+225ms	║║Executed virtual command setTile (3ms)
+255ms	║║Executed virtual command setState (0ms)
+259ms	║╚Execution stage complete. (208ms)
+291ms	║Setting up scheduled job for Thu, Dec 10 2020 @ 2:00:00 PM EST (in 85087s)
+293ms	╚Event processed successfully Total Pauses ms: 0 (291ms)
1 Like