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;