# Get lights to flash when phone receives calls/messages

**URL:** <https://discourse.nodered.org/t/get-lights-to-flash-when-phone-receives-calls-messages/42398>\
**Category:** General\
**Created:** [10 March 2021 11:43 UTC](https://discourse.nodered.org/t/get-lights-to-flash-when-phone-receives-calls-messages/42398 "2021-03-10T11:43:15Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![DJwho123](https://avatars.discourse-cdn.com/v4/letter/d/7cd45c/32.png) [@DJwho123](https://discourse.nodered.org/u/DJwho123)\
**Post date:** [10 March 2021 11:43 UTC](https://discourse.nodered.org/t/get-lights-to-flash-when-phone-receives-calls-messages/42398/1 "2021-03-10T11:43:16Z")

</div>

Hi!  
I would like my house lights to flash (preferable in different colours, depending on the notification) when my phone receives notifications (calls, messages, and so on). Is this possible in Node red?

Thanks guys!

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [10 March 2021 14:20 UTC](https://discourse.nodered.org/t/get-lights-to-flash-when-phone-receives-calls-messages/42398/2 "2021-03-10T14:20:00Z")

</div>

What kind of phone? Your POTS landline, a VoIP phone or a mobile phone?

---

<div class="post-metadata">

**Author:** ![DJwho123](https://avatars.discourse-cdn.com/v4/letter/d/7cd45c/32.png) [@DJwho123](https://discourse.nodered.org/u/DJwho123)\
**Post date:** [10 March 2021 14:33 UTC](https://discourse.nodered.org/t/get-lights-to-flash-when-phone-receives-calls-messages/42398/3 "2021-03-10T14:33:21Z")

</div>

Super modern technology; a mobile phone 😅  
Huawei P20 Pro to be exact

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [10 March 2021 14:36 UTC](https://discourse.nodered.org/t/get-lights-to-flash-when-phone-receives-calls-messages/42398/4 "2021-03-10T14:36:45Z")

</div>

You can't do this with _just_ node-red. You need something that will trigger when a call comes in and will pass that to node-red somehow. As that is an Android phone, you probably have lots of options. You can even run Node-RED on the phone.

You need:

- An app that knows when the phone rings and is able to communicate that fact elsewhere
- A connection between your phone and Node-RED
- A flow in Node-RED to take the notification and convert it or use it how you want.

---

<div class="post-metadata">

**Author:** ![E1cid](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/e1cid/32/77971_2.png) [@E1cid](https://discourse.nodered.org/u/E1cid)\
**Post date:** [10 March 2021 14:52 UTC](https://discourse.nodered.org/t/get-lights-to-flash-when-phone-receives-calls-messages/42398/5 "2021-03-10T14:52:02Z")

</div>

Install automate or tasker on your phone, These apps can send http request when your phone rings etc.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [9 May 2021 14:52 UTC](https://discourse.nodered.org/t/get-lights-to-flash-when-phone-receives-calls-messages/42398/6 "2021-05-09T14:52:52Z")

</div>

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