I am really sorry to keep bothering you but apparently there is still a bug in you’re code, with the “delay with flash command”.
I can not have it flash during the delay are there is no siren…
if I send the speak command;
Both 10, 10, True
I get the 10 second flash delay “but no siren”.
But if I send the speak command;
Both 0, 10, True
I get no delay just the siren for 10 seconds (as expected)
And also if I send the speak command;
Both 10, 10, False
I get the 10 second delay then 10 seconds of “siren” (as expected)
here are logs from my testing.
ec287d5d-160e-41a4-9f95-b6f7928b28d8
9:08:44 PM:
debug
Siren: Alarm is off
ec287d5d-160e-41a4-9f95-b6f7928b28d8
9:08:21 PM:
debug
Siren: Turning on Alarm for 20 seconds.
ec287d5d-160e-41a4-9f95-b6f7928b28d8
9:08:09 PM:
debug
Siren: Alarm delayed by 10 seconds
ec287d5d-160e-41a4-9f95-b6f7928b28d8
9:08:09 PM:
debug
Siren: Executing playText(Both 10, 20, False) Command
ec287d5d-160e-41a4-9f95-b6f7928b28d8
9:07:41 PM:
debug
Siren: Alarm is off
ec287d5d-160e-41a4-9f95-b6f7928b28d8
9:07:17 PM:
debug
Siren: Turning on Alarm for 20 seconds.
ec287d5d-160e-41a4-9f95-b6f7928b28d8
9:07:05 PM:
debug
Siren: Alarm delayed by 10 seconds
ec287d5d-160e-41a4-9f95-b6f7928b28d8
9:07:05 PM:
debug
Siren: Executing playText(Both 10, 20, False) Command
ec287d5d-160e-41a4-9f95-b6f7928b28d8
9:03:23 PM:
debug
Siren: Alarm delayed by 10 seconds
ec287d5d-160e-41a4-9f95-b6f7928b28d8
9:03:23 PM:
debug
Siren: Turning on strobe for 10 seconds
ec287d5d-160e-41a4-9f95-b6f7928b28d8
9:03:20 PM:
debug
Siren: Executing playText(Both 10, 20, True) Command
ec287d5d-160e-41a4-9f95-b6f7928b28d8
9:02:59 PM:
debug
Siren: Alarm delayed by 10 seconds
ec287d5d-160e-41a4-9f95-b6f7928b28d8
9:02:59 PM:
debug
Siren: Turning on strobe for 10 seconds
ec287d5d-160e-41a4-9f95-b6f7928b28d8
9:02:57 PM:
debug
Siren: Executing playText(Both 10, 20, True) Command
ec287d5d-160e-41a4-9f95-b6f7928b28d8
9:02:22 PM:
debug
Siren: Alarm delayed by 10 seconds
ec287d5d-160e-41a4-9f95-b6f7928b28d8
9:02:22 PM:
debug
Siren: Turning on strobe for 10 seconds
ec287d5d-160e-41a4-9f95-b6f7928b28d8
9:02:20 PM:
debug
Siren: Executing playText(Both 10, 10, True) Command
ec287d5d-160e-41a4-9f95-b6f7928b28d8
9:00:09 PM:
debug
Siren: Alarm delayed by 10 seconds
ec287d5d-160e-41a4-9f95-b6f7928b28d8
9:00:09 PM:
debug
Siren: Turning on strobe for 10 seconds
ec287d5d-160e-41a4-9f95-b6f7928b28d8
9:00:07 PM:
debug
Siren: Executing playText(Both 10, 10, True) Command
ec287d5d-160e-41a4-9f95-b6f7928b28d8
8:59:01 PM:
debug
Siren: Alarm delayed by 10 seconds
ec287d5d-160e-41a4-9f95-b6f7928b28d8
8:59:01 PM:
debug
Siren: Turning on strobe for 10 seconds
ec287d5d-160e-41a4-9f95-b6f7928b28d8
8:59:01 PM:
debug
Siren: Executing playText(Both 10, 10, True) Command
ec287d5d-160e-41a4-9f95-b6f7928b28d8
8:57:13 PM:
debug
Siren: Alarm is off
ec287d5d-160e-41a4-9f95-b6f7928b28d8
8:57:01 PM:
debug
Siren: Turning on Alarm for 10 seconds.
ec287d5d-160e-41a4-9f95-b6f7928b28d8
8:57:01 PM:
debug
Siren: Executing playText(Both 0, 10, True) Command
ec287d5d-160e-41a4-9f95-b6f7928b28d8
8:56:44 PM:
debug
Siren: Updating
ec287d5d-160e-41a4-9f95-b6f7928b28d8
8:56:32 PM:
debug
Siren: Updating
ec287d5d-160e-41a4-9f95-b6f7928b28d8
8:55:47 PM:
debug
Siren: Alarm is off
ec287d5d-160e-41a4-9f95-b6f7928b28d8
8:55:34 PM:
debug
Siren: Turning on Alarm for 10 seconds.
ec287d5d-160e-41a4-9f95-b6f7928b28d8
8:55:32 PM:
debug
Siren: Executing playText(Both 0, 10, True) Command
Also what dose this new setting do?
I really don’t see any difference.