# How do your flows interact with user or cause phone alarm in the night?

**URL:** https://discourse.nodered.org/t/how-do-your-flows-interact-with-user-or-cause-phone-alarm-in-the-night/78719
**Category:** General
**Created:** [26 May 2023 13:37 UTC](https://discourse.nodered.org/t/how-do-your-flows-interact-with-user-or-cause-phone-alarm-in-the-night/78719 "2023-05-26T13:37:20Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![AndKe](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/andke/32/73023_2.png) [@AndKe](https://discourse.nodered.org/u/AndKe)
#### Post date: [26 May 2023 13:37 UTC](https://discourse.nodered.org/t/how-do-your-flows-interact-with-user-or-cause-phone-alarm-in-the-night/78719/1 "2023-05-26T13:37:20Z")

</div>

I have some flows that can be trigged via Telegram Bot commands.  
The problem is that if I wish an alarm, let's say a water sensor, - then Telegram is quiet at night, I see no option to force an alert sound.

How can I solve it?  
I am also open to integrating it with google Assistant, but I am afraid that won't solve the alarm issue.

---

<div class="post-metadata">

### Author: ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)
#### Post date: [26 May 2023 14:39 UTC](https://discourse.nodered.org/t/how-do-your-flows-interact-with-user-or-cause-phone-alarm-in-the-night/78719/2 "2023-05-26T14:39:23Z")

</div>

Is the reason that you have told your phone to be silent during the night?

---

<div class="post-metadata">

### Author: ![AndKe](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/andke/32/73023_2.png) [@AndKe](https://discourse.nodered.org/u/AndKe)
#### Post date: [26 May 2023 14:53 UTC](https://discourse.nodered.org/t/how-do-your-flows-interact-with-user-or-cause-phone-alarm-in-the-night/78719/3 "2023-05-26T14:53:03Z")

</div>

...to avoid notification sounds from apps and mail.  
Android does provide API for alarms, that are not silenced during the period. I thought something could use it when instructed to. (so that certain notifications were sent with higher priority)

---

<div class="post-metadata">

### Author: ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)
#### Post date: [26 May 2023 15:48 UTC](https://discourse.nodered.org/t/how-do-your-flows-interact-with-user-or-cause-phone-alarm-in-the-night/78719/4 "2023-05-26T15:48:21Z")

</div>

> [@AndKe](#):
>
> Android does provide API for alarms, that are not silenced during the period.

OK, so perhaps this would need an app on the phone that can generate the alarm. I don't know if there is one.

---

<div class="post-metadata">

### Author: ![HaroldPetersInskipp](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/haroldpetersinskipp/32/42319_2.png) [@HaroldPetersInskipp](https://discourse.nodered.org/u/HaroldPetersInskipp)
#### Post date: [26 May 2023 17:36 UTC](https://discourse.nodered.org/t/how-do-your-flows-interact-with-user-or-cause-phone-alarm-in-the-night/78719/5 "2023-05-26T17:36:55Z")

</div>

I don't know Android super well but I set up Home Assistant and Node-RED on a Raspberry Pi to send critical alerts to my iOS devices that have the Home Assistant app installed. Which allows for a persistent banner notification and includes audio alerts even when silenced. My reasoning was similar as I was working on an automated indoor gardening project that involved a water reservoir and pump. I wanted a foolproof method of receiving alerts/notifications that doesn't require additional non-locally hosted services.

---

<div class="post-metadata">

### Author: ![Paul-Reed](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/paul-reed/32/66906_2.png) [@Paul-Reed](https://discourse.nodered.org/u/Paul-Reed)
#### Post date: [26 May 2023 17:38 UTC](https://discourse.nodered.org/t/how-do-your-flows-interact-with-user-or-cause-phone-alarm-in-the-night/78719/6 "2023-05-26T17:38:10Z")

</div>

If you push your alerts using [Pushover](https://pushover.net/api), it has different alert levels, and level 1 bypasses the phones quiet hours.

---

<div class="post-metadata">

### Author: ![cameo69](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cameo69/32/66593_2.png) [@cameo69](https://discourse.nodered.org/u/cameo69)
#### Post date: [26 May 2023 17:59 UTC](https://discourse.nodered.org/t/how-do-your-flows-interact-with-user-or-cause-phone-alarm-in-the-night/78719/7 "2023-05-26T17:59:52Z")

</div>

This Pushover thing looks nice. And for a $5 one-time payment it get's really intersting.  
Currently I use Signal for all communication between Node-red and Mobile devices, but it is like @AndKe said; quiet in the night.

Which contrib node would you recommend for a test?

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/5/f/5f0a8833884e203e4bc0d3f442fcf9b16bb151d4.png)

---

<div class="post-metadata">

### Author: ![Paul-Reed](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/paul-reed/32/66906_2.png) [@Paul-Reed](https://discourse.nodered.org/u/Paul-Reed)
#### Post date: [26 May 2023 19:32 UTC](https://discourse.nodered.org/t/how-do-your-flows-interact-with-user-or-cause-phone-alarm-in-the-night/78719/8 "2023-05-26T19:32:06Z")

</div>

I use [node-red-node-pushover](https://flows.nodered.org/node/node-red-node-pushover) which is pretty good.

---

<div class="post-metadata">

### Author: ![AndKe](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/andke/32/73023_2.png) [@AndKe](https://discourse.nodered.org/u/AndKe)
#### Post date: [26 May 2023 19:36 UTC](https://discourse.nodered.org/t/how-do-your-flows-interact-with-user-or-cause-phone-alarm-in-the-night/78719/9 "2023-05-26T19:36:55Z")

</div>

@HaroldPetersInskipp Home assistant is interesting - which Nodered node are you using for it?  
@Paul-Reed - Pushover is absolutely a nice option too , I'll start with that - I see some use for the option to change sound and attachments too.

---

<div class="post-metadata">

### Author: ![HaroldPetersInskipp](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/haroldpetersinskipp/32/42319_2.png) [@HaroldPetersInskipp](https://discourse.nodered.org/u/HaroldPetersInskipp)
#### Post date: [26 May 2023 23:02 UTC](https://discourse.nodered.org/t/how-do-your-flows-interact-with-user-or-cause-phone-alarm-in-the-night/78719/10 "2023-05-26T23:02:49Z")

</div>

@AndKe I'm using `node-red-contrib-home-assistant-websocket` version `0.49.1`

I run my HA server on a Pi 4 as **Home Assistant Core** : Manual installation using Python virtual environment, but I would recommend one of the more traditional install methods.

This solution lets me get notifications regardless of if I am on my home network with my Mobile device or not. I can get banner and audio alerts that are very customizable with zero additional subscription services and this keeps my information safe and locally managed.

---

<div class="post-metadata">

### Author: ![AndKe](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/andke/32/73023_2.png) [@AndKe](https://discourse.nodered.org/u/AndKe)
#### Post date: [27 May 2023 07:09 UTC](https://discourse.nodered.org/t/how-do-your-flows-interact-with-user-or-cause-phone-alarm-in-the-night/78719/11 "2023-05-27T07:09:56Z")

</div>

Thank you both! I am using Pushover now, and will try Home Assistant later
