#TTS Notification spam when reconnect to wifi

12 messages · Page 1 of 1 (latest)

fallen pagoda
#

Hello, new here.
The problem I am having: If I disconnect from wifi for awhile, when I reconnect my phone gets spammed with the backlog of all the TTS Notifications

**More information about my setup: ** I am using Blueiris for security software, if its AI detects a person, it sends MQTT msg to node-red, NodeRed does some logic and then triggers a HA Automation to run.

The Automation code is like this one:

tts_text: Person Detected Backyard
media_stream: alarm_stream_max
ttl: 0
priority: high

pulsar crane
#

What do the traces show for the automation?

fallen pagoda
#

Ive not looked at the traces before, Im not sure what I should be looking for

#

Maybe I was unclear, the notifications are working. But if I like, leave home for a few hours, when I reconnect to wifi when I get home, my phone spams me with all the security alerts that happened while I was away. These alerts are no longer really relevent...

pulsar crane
#

Is your HA instance exposed externally to the internet?

fallen pagoda
#

mmm Kind of yes. However my phone does not have internet

pulsar crane
#

That’s why then… The companion app uses Google’s Firebase to send messages. So, what’s happening is that when your phone is disconnected, Firebase keeps those messages and then delivers them all at once when your phone reconnects again.

fallen pagoda
#

Thats it, Im just trying to wrap my head around a solution to that

pulsar crane
fallen pagoda
#

ok ill have to research that, but basically it might be able to tell HA that notification was not recieved, and I could stop it from sending more? Ok cheers that sounds like it could work

pulsar crane
#

That’s what I think, yeah.

fallen pagoda
#

ty