More like a way to batch edit variables value. Sorry if it’s not clear as English is my second language.
Exemple, a text file formatted like this
Variable1;value1
Variable2;value2
Etc.
I came across this use case when coding my scotch inventory manager. It would have been a lot quicker to set everything in Excel, format it do mandated format and then copy/pasta.
I must say tho, that they way you implemented local variables modification in piston view page is already very satisfying and works very well.
I appear to be having trouble accessing the dashboard from my PC… I just updated to 0.2.0e4, and can view the dashboard on my phone, via the Dashboard button in the WebCoRE smartapp… If i try “register a browser” and go to webcore.co/re on the PC, I see the address bar get redirected to https://dashboard.webcore.co/register but am just presented with a blank white screen.
I’ve tried:
reloading the page
loading the page in an incognito window in Chrome
loading the page in Edge
All seem to have the same result…
Any ideas? I was going to work on tweaking some pistons tonight…
Option to change location with $weather variable (Enhancement request).
Would you need to access more than one weather location per installation of webCoRE? Would this have to be a parameter?
Yea, I was looking for a way to have access to more than one location if possible, maybe a zip code parameter. Use case for me at least would be to have a weather report, weather alerts and tiles created for my work’s location that is 1 1/2 hours away. I’ve seen others request for it for other reasons so I’m sure it’ll definitely get utilized by others as well.
Ability to Rename Pistons without editing the piston on the page where logging can be adjusted (Enhancement request).
You can rename pistons by accessing the piston smart app from a device’s SmartApps tab - you can rename it from there, without editing. Do you mean to have an edit button for the name only without having to edit the whole piston?
Yea, just an edit on the name only without having to edit the whole piston. That’s a good point about using the SmartApps section on the ST page.
Ability to edit the values of local variables in the piston detail page. Editing and running the piston just to set the value a variable is sometime tedious. Use case : setting initial value for an item shown in a tile in an inventory manager - see : WebCoRE - Example Pistons. (Enhancement request)
Added in v0.2.0e4
I’m having problems finding how to do this on the Piston Detail Page without having to edit the whole piston.
I confirmed that today, after I updated a few days ago, the lights were not kicking on since I had them set for Sat, Sun, Mon. Swapped to Fri, Sat, and Sun and they came on as expected. Will continue to watch through the weekend.
Could you please export that piston and give me the code? I cannot replicate it but really want to find that .t of a null object. Have looked into it with no luck…
Ah, OK. I don’t have access to webCoRE at the moment, but IIRC, the format for those statements (I haven’t used those particular statements in awhile) are:
set piston tile # title to …
set piston tile # text to …
set piston tile # color to …
I don’t have access to the webCoRE wiki, either , so I’m not certain if they’re there.
The contents of the 2nd and 3rd piston tile statements should look something like:
set piston tile #1 text to "{format(’%.1f’, averageTemperature)}F"
set piston tile #1 color to “{averageTemperature > 80 ? ‘Orange’ : ‘Green’}” over White
I am having issues since the latest update with Pistons executing and ignoring restrictions. I’ve isolated the problem to pistons that have a duration trigger (IE: If lights are off for 5 minutes then…) kind of triggers. It’s currently 14:26 and the restrictions on my piston are for the Piston to only fire between 21:00 and 05:00 but it keeps executing.
At 14:17:41, a scheduled job is setup to run but shouldn’t be due to the time restrictions. Once that time hits, the piston runs and the Goodbye! routine is run
+600ms ║Setting up scheduled job for Wed, Aug 16 2017 @ 2:22:49 PM EDT (in 299.939s)
I’ve had this piston running this way without modification for over a month and this issue just started after upgrading webCoRE the other day to the latest version