Spoken Word "Attention" Repeated Twice in Speech

I am bringing this up again because it is still happening. It happens in Rule Machine and in Basic Rules. I have the following rule. Followed by the Log and the Settings.

This rule speaks the word Attention when it supposed to but at the end of the second speak it repeats the word Attention again. If I change the delay to 2 seconds it works every time.

ALSO: (after a hub reboot) If you run the rule 3 times manually it works fine. But on the 4th try it starts to repeat.

Please let me know what else you need.

Here is the Rule.

pic1

Here is the Log.

app:25812022-11-30 08:15:58.756 PMinfoInitialized

dev:18292022-11-30 08:15:55.650 PMinfoAll Alerts HS4 Sonos is stopped

dev:18292022-11-30 08:15:54.775 PMinfoAll Alerts HS4 Sonos is playing

dev:18292022-11-30 08:15:54.576 PMinfoAll Alerts HS4 Sonos playing: the garage double door is now closed by Hubitat from TTS

dev:18292022-11-30 08:15:54.560 PMinfoAll Alerts HS4 Sonos is stopped

dev:18292022-11-30 08:15:52.589 PMinfoAll Alerts HS4 Sonos playing: the garage double door is now closed by Hubitat from TTS

dev:18292022-11-30 08:15:52.578 PMinfoAll Alerts HS4 Sonos is playing

dev:18292022-11-30 08:15:52.348 PMinfoAll Alerts HS4 Sonos playing: attention by Hubitat from TTS

dev:18292022-11-30 08:15:52.321 PMinfoAll Alerts HS4 Sonos is stopped

app:25812022-11-30 08:15:52.244 PMinfoDelay Over: Speak on All Alerts HS4 Sonos (volume: 45): 'the garage double door is now closed'

dev:18292022-11-30 08:15:51.588 PMinfoAll Alerts HS4 Sonos is playing

dev:18292022-11-30 08:15:51.352 PMinfoAll Alerts HS4 Sonos playing: attention by Hubitat from TTS

app:25812022-11-30 08:15:51.259 PMinfoAction: END-IF

app:25812022-11-30 08:15:51.209 PMinfoAction: Speak on All Alerts HS4 Sonos (volume: 45): 'the garage double door is now closed' --> delayed: 0:00:01

app:25812022-11-30 08:15:51.148 PMinfoAction: Speak on All Alerts HS4 Sonos (volume: 45): 'attention'

app:25812022-11-30 08:15:51.144 PMinfoAction: IF (Garage DD Open/Close Sensor contact closed(T) [TRUE]) THEN

Here is the Settings.


This is from Application State.



I think this happens twice because your trigger is “changed”. The Rule runs when garage reports “closing” and when it reports “closed”.

Try changing your trigger to closed.

Thanks for the reply. I tried that and I get the same result. Need help from staff to look at it.

Okay, but I don’t understand why you are using two notifications. Why not just say “Attention, the garage door is closed”

The comma will make the TTS pause like natural speech.

Also if 2 sec pause works, just do that.

May be a bug here but not worth chasing.

1 Like

I have tried using commas, first with 5 commas then 10 commas but it never has any pause between the words. It is nice to have a break between Attention and the rest of the speech so it gets your attention (no pun intended) and that way the entire speech doesn't seem to run together.

Why doesn't 1 second work? It is the whole reason behind this post. Also, why does it do it in both Rule Machine and Basic Rules (created based on rule machine) if it is not a bug!

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.