I'm getting a problem - the piston never runs (I've added logging in very first line but it never executes) and instead I'm seeing an infinite stream of events like - only pausing the piston will stop them.
We resolved this issue. It seems to be on import from ST, it thought there was still a deviceSubIndex (even though there is not one). recreating the if statement resolved this issue.
There is a new release out today, as there seems to be some compiler/runtimes changes that happened in HE that displayed a bug.
Another problem shown up - at some point newly added devices are not showing up in a Webcore.
I have 79 devices and at some point new devices stopped appearing in a webcore. I'm just adding more switches and bulbs - same as I have in there already, devices are listed as "In Use By: Webcore Hubitat" but I can't find it either in Physical Device dropdown or at Devices on the right. Any ideas what may be causing it? I have a suspicion that it may be related to adding a Child Notification device for Innovelli switch - it started happening after I've added the first one of those.
I created a simple piston "Test Piston" with one device.
I then go to Hubitat Hud's APP tab and select that "Test Piston" and under devices it doesn't list the device as it use to do in the past.
Finally I display the device itself and it doesn't show it being associated with "Test Piston"
It does not effect the execution operation but not having this information properly displayed can make for a nightmare in keeping track of what devices are in use by what piston.
The logs show nothing out of the ordinary so I have not listed here but have screen shots showing the problem. Should be easy to duplicate on your end. BTW, I am on one release behind as far as Hubitat but the latest release has the same problem.
I would need to see higher up in the webCoRE dashboard under "Quick Facts" when you have the piston open in the webcore dashboard.
The example you show does not have any subscriptions (no lighting bolt). so This is what HE uses to display in use typically (it also uses that that a setting is set for the piston for the device). In webcore this gets updated once the piston is run when there is no subscription.
Can you execute (hit the test button) in the webcore dashboard when you have the piston open
Also be sure you have the current version of webcore running.
The piston I created was intended to be a simple as possible. It has no triggers.
Two tests were tried. The first test involved creating the piston and saving it (without out running) The results shows just as I showed before.
Next I ran the piston using "Test" which executed and did what it was supposed to do.
The results of the missing device as shown above remains.
Here is a screen capture of the piston and the info from Quick Facts. The data remained exactly as shown both before and after the "Test" execution.
The best I can tell I am on the latest release from Dec 17th and should be reproducible using any device on the latest version of WebCoRE
Here is another piston that has two devices, one being the trigger.
Results are the same, both before and after execution. Neither of the two devices are listed.
Don't know what to say. The screen shot shows I am on the Dec 17th release.
I have also tried logging out of the WebCoRE dashboard, did a hard reset, and register the browser again. I have relied on the the app names showing on devices and first noticed this problem on Dec 21st when I had a problem with a device and had to remove and reinstall it.
When I get a chance I will re-install the previous WebCoRE version to see it the issue resolves. I will let you know the results when I find out.
Last Updated December 17, 2019 for Hubitat
public String version() { return "v0.3.110.20191009" }
public String HEversion() { return "v0.3.110.20191217_HE" }
webCoRE Piston Now;
Last update December 20, 2019 for Hubitat
public static String version() { return 'v0.3.110.20191009' }
public static String HEversion() { return 'v0.3.110.20191217_HE' }
Deleted the original "Test Piston" and create a new one using the same parameters. Tested to make sure it was functioning as expected. The app name still does not show as being in use on the devices and in the webCoRE app the devices are not showing in the devices field. Same issue as originally reported.
I am trying to run WebCoRE on a Raspberry Pi. I did all the major stuff, and I can see the WebCore page when using my Raspberry Pi IP address. So I guess I am good. But my WebCoRE Dashboard does not load my pistons and does not seem to connect to my Hubitat. The IP adresses of both my Hubitat and my Raspberry are set as Custom endpoints. To be noted that when I try to use the WebCoRE Dashboards from the cloud, it works perfectly. Do you know what I am missing ?
EDIT : Ok, I unistalled the webcore app and reinstalled it with no luck, nothing changed. I uninstalled it again and reinstalled it, and now it works like a charm. I have absolutely no idea on what went wrong or well in either case...