yes, thank you for your help.
Forgive me if Iâve missed it somewhereâŠ
What does Random Toggle do?
Iâm attempting to create a âvacationâ routine, in which a device is selected at random from a list of devices and turned on for a random amount of time. I can turn a collection of devices on, but I canât seem to figure out a way (short of expressions) to select a device from a collection at random. Unless of course, the above question is my holy grail.
Thanks
Thank you.
Very coincidentally and quite funny to me⊠I literally just hit post on a new thread to see if I could accumulate ideas for this type of piston, then came to see the newest posts on this thread.
Excellent example. Thank you again, sir.
Having trouble with this piston firing correctly:
Relevant log:
6/13/2017, 11:04:40 PM +126ms
+2ms âReceived event [Glenn Brockettâs Android].presence = present with a delay of 371ms
+314ms âRunTime Analysis CS > 40ms > PS > 66ms > PE > 208ms > CE
+325ms âRuntime (32310 bytes) successfully initialized in 66ms (v0.2.0bb.20170609) (322ms)
+327ms ââExecution stage started
+362ms ââComparison 0 is_less_than 900 = true (8ms)
+367ms ââCancelling condition #2âs schedulesâŠ
+369ms ââCondition #2 evaluated true (29ms)
+382ms ââComparison present changes_away_from not present = false (2ms)
+385ms ââCondition #4 evaluated false (13ms)
+401ms ââComparison present is present = true (5ms)
+405ms ââCondition #6 evaluated true (17ms)
+419ms ââCondition #7 evaluated false (12ms)
+421ms ââCondition group #5 evaluated false (state did not change) (34ms)
+423ms ââCondition group #3 evaluated false (state did not change) (51ms)
+425ms ââCondition group #1 evaluated false (state did not change) (85ms)
+430ms ââExecution stage complete. (103ms)
+465ms âEvent processed successfully (465ms)
6/13/2017, 8:02:41 PM +613ms
+3ms âReceived event [Glenn Brockettâs Android].presence = not present with a delay of 231ms
+348ms âRunTime Analysis CS > 68ms > PS > 79ms > PE > 201ms > CE
+358ms âRuntime (32314 bytes) successfully initialized in 79ms (v0.2.0bb.20170609) (354ms)
+360ms ââExecution stage started
+389ms ââComparison 1000 is_less_than 900 = false (4ms)
+392ms ââCondition #2 evaluated false (17ms)
+393ms ââCondition group #1 evaluated false (state did not change) (21ms)
+397ms ââExecution stage complete. (38ms)
+406ms âEvent processed successfully (406ms)
It appears that the "Changed from " state isnât being recognized correctly consistently.
Any help?
Disable condition traversal optimizations in the piston settings - having triggers inside of conditions will affect their correct execution because many times they are skipped (if the parent condition is false for example) and they donât get the chance to update their state.
Iâm using this DTH, which exposes some custom commands. Most of them donât take arguments, as they just set modes (Occupancy, Vacancy, etc.), but SetDefaultLevel() needs an argument. I can add a call to the function from WebCoRE, but I donât see an option to set what default level Iâd like to use.
Also, same devices, if I define a device variable pointing to these devices, then new statements donât get access to their custom commands. However, if I define a statement using the device directly, configure the actions, then change the targeted device to the variable, CoRE accepts it. It seems like either this should be accepted or it shouldnât be. I have two installed,two more coming soon, and more later; Iâd prefer not to have to touch each instruction to add the new devices.
Any suggestions on either?
Another observation: Switch statements donât get the lightning bolt showing theyâre subscribed to condition changes. Bug, or intentional? I can obviously change to nested ifs, but Switch is cleaner to read.
For the first question there is a parameter option ( with a down arrow) when you select the setdefaultlevel() command
Do you have any triggers in the mix there?
Hi ady624,
Just a quick question. Is there a way to delete a fuel stream yet? Whilst experimenting with this great feature I created one in error.
Thanks for the continued great work on webCoRE.
Iâm having trouble getting a browser registered. After I reset my computer, every time I open the WebCoRE site, I need to re-register the browser. I am using a Chromebook with Chrome browser. It worked fine until I reset the computer, and my other computer works fine. Any ideas? All my security settings are the same as they were before as far as I know.
Are you using incognito mode? Or disabled local storage?
No, not yet, fuels have a minimal functional build right now, concentrating on getting all the free features up and running. Fuel will require subscriptions to cover for server side costs
@ady624 Hello, I updated last night and this morning, my github looks like this. When I click on the mag glass it looks like this. any suggestions. It is showing the most recent version as draft and the published version is the older version, any suggestions?
No, I havenât tinkered with any security settings. Not using incognito mode.
OK, no problem Thought that might be the case,
Also, sometime when I do get it to open, all the pistons are blank. The pistons arenât really blank - I can still see them in another computer - but they are on this one.
Can anyone help me with a configuration please. I am trying to get my fountain to turn on at 09:30 and off at 10:30, but to only turn on or turn off if the wind speed from Weather Station Tile 2.0 is above 20mph.
I currently have the following:
execute
if
Time is between 09:30:00 and 22:30:00, but only on Sundays, Mondays, Tuesdays, Wednesdays, Thursdays, Fridays, or Saturdays
+ add a new condition
then
with
Water Fountain
do
Turn on (only while Home);
Log info "Turning on Fountain";
+ add a new task
end with;
+ add a new statement
else
with
Water Fountain
do
Turn off;
Log info "Turning off Fountain";
+ add a new task
end with;
+ add a new statement
end if;
+ add a new statement
end execute;