Help...Piston issue


#1

I am trying to make my 2nd piston, but am heaving a little trouble. First, I see the following message: “Piston does not subscribe to any events, unless execute by other means, it will not run on its on”. This one confuses me because I have an IF statement (Day and time). I thought this would trigger the piston to run.
Secondly, when I manually execute the piston to run by testing it, I get the flashing lights, but nothing out of the speaker. Here is the piston:

execute

if /* #1 */

{$dayOfWeekName} is ‘Tuesday’ /* #8 /
and
{$time} is ‘8:35 A.M.’ /
#9 */
then

if /* #2 */

then

with /* #3 /
JAM 2 Speaker
do
Turn on; /
#4 /
Speak “Take out the trash”; /
#10 */
end with;

with /* #5 /
Crewroom Flood Light 1, Crewroom Flood Light 2, and Crewroom Flood Light 3
do
Flash on 2 seconds / off 2 seconds for 10 times; /
#6 */
end with;
end if;
end if;
end execute;


#2

Try building it using the presets etc. that are available to you. There is no need to use variables and this is probably why you are getting the subscription error.


#3

Uh well ok…I’ll play around with it. Just kidding!!! Thanks…I will give it a shot.