Just updated my instance from HPM about 20 minutes ago. All seems fine on my end. Did need to logout and back in after the install completed, using chrome. After it logged back in it has been performing well, seems a little snappier even when navigating. Using staging.webcore.co and it has been good. Was able to modify pistons without problems, and even was able to backup all of my pistons too.
@nh.schottfam
Sorry but I'm still confused how to update my local installation of webCoRE. I'm still new to all of that but got it working fine (webCoRE on hubitat and locally dashborad on my RPi). Yesterday I updated webCoRE via HPM. If I start the dashboard I now get the following banner on the top
I was happy to get webCoRE running locally but now I struggle how to update the local installation on my RPi.
Is it the right way to update the local installation which @Tony is describing in his post?
You do want to update the files for html/css/js to the latest from the repo for the HE builds (which the early post shows a method of doing this if the cloned the proper repo).
You then want to logout of the webCoRE UI, and login in again.
I also run a local server, and I'm having a different problem after doing all of that.
I updated my repo, restarted Apache, logged out, logged back in, and it works on my desktop but not on my phone. When I open a piston from my phone, none of the conditions show any devices, but from my computer, it works fine.
For example, if I have a condition "If Device1's battery changes then...", that shows up fine on my computer, but on my mobile device, it shows as "If then...".
First I cleared the data with the Android Chrome app. Then I cleared the entire cache of the Chrome app. Which worked for me. Long press the Chrome icon and go to "Storage & cache" and "Clear cache". That helped in combination with logout and re-login.
Now I am seeing on the UI a message no my nested IFs. THinking on how I write my pistons, I ask the following:
I have a switch and an IF statement (IF SwitchX is on then) and this switch represent "automation". So I put my entire routine inside that IF and if I want to "disable" the routine I just need to turn OFF that switch and to anable, I turn it ON. What would be a good way of doing this? Am I doing it the right way?
adding the switch is on to each nested if statement (and un-nest the the if statements with 'changes' in them. That would move the trigger comparisons to out level (left to right) vs. nested.
extra credit for keeping the trigger comparison first in the ifs that are 'AND'.
You want the if statements with 'changes' in them to be crossed on each execution (so that 'changes' can be tracked). What is currently happening is 'changes' is only tracked when the switch is on, which may sound right, but on first runs after switch becomes on may be wrong...