# Smart phone detection using Node-RED

**URL:** <https://discourse.nodered.org/t/smart-phone-detection-using-node-red/12591>\
**Category:** General\
**Created:** [25 June 2019 19:43 UTC](https://discourse.nodered.org/t/smart-phone-detection-using-node-red/12591 "2019-06-25T19:43:02Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![ALOKA1432](https://avatars.discourse-cdn.com/v4/letter/a/3ab097/32.png) [@ALOKA1432](https://discourse.nodered.org/u/ALOKA1432)\
**Post date:** [25 June 2019 19:43 UTC](https://discourse.nodered.org/t/smart-phone-detection-using-node-red/12591/1 "2019-06-25T19:43:02Z")

</div>

Can we detect a smart phone inside a room using NodeRED with a phone having WI-Fi turned OFF.

---

<div class="post-metadata">

**Author:** ![ukmoose](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ukmoose/32/13_2.png) [@ukmoose](https://discourse.nodered.org/u/ukmoose)\
**Post date:** [25 June 2019 20:00 UTC](https://discourse.nodered.org/t/smart-phone-detection-using-node-red/12591/2 "2019-06-25T20:00:31Z")

</div>

You might be able to do it with bluetooth, try searching [flows.nodered.org](http://flows.nodered.org) for presence detection for some examples

---

<div class="post-metadata">

**Author:** ![ALOKA1432](https://avatars.discourse-cdn.com/v4/letter/a/3ab097/32.png) [@ALOKA1432](https://discourse.nodered.org/u/ALOKA1432)\
**Post date:** [25 June 2019 20:01 UTC](https://discourse.nodered.org/t/smart-phone-detection-using-node-red/12591/3 "2019-06-25T20:01:19Z")

</div>

@ukmoose What about the bluetooth even turned off ?

---

<div class="post-metadata">

**Author:** ![ALOKA1432](https://avatars.discourse-cdn.com/v4/letter/a/3ab097/32.png) [@ALOKA1432](https://discourse.nodered.org/u/ALOKA1432)\
**Post date:** [25 June 2019 20:03 UTC](https://discourse.nodered.org/t/smart-phone-detection-using-node-red/12591/4 "2019-06-25T20:03:06Z")

</div>

@ukmoose I mean the phone just has its data ON and i have to detect it. Is there chance of getting the MAC data or something else ?

---

<div class="post-metadata">

**Author:** ![ukmoose](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ukmoose/32/13_2.png) [@ukmoose](https://discourse.nodered.org/u/ukmoose)\
**Post date:** [25 June 2019 20:08 UTC](https://discourse.nodered.org/t/smart-phone-detection-using-node-red/12591/5 "2019-06-25T20:08:40Z")

</div>

This now sounds like a task you’ve been set.  
Is this homework / coursework? If not just turn wi-fi and bluetooth on.

---

<div class="post-metadata">

**Author:** ![ALOKA1432](https://avatars.discourse-cdn.com/v4/letter/a/3ab097/32.png) [@ALOKA1432](https://discourse.nodered.org/u/ALOKA1432)\
**Post date:** [25 June 2019 20:11 UTC](https://discourse.nodered.org/t/smart-phone-detection-using-node-red/12591/6 "2019-06-25T20:11:11Z")

</div>

@ukmoose Haha, No just to detect people with unregistered MAC id or any details.

---

<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:** [25 June 2019 20:49 UTC](https://discourse.nodered.org/t/smart-phone-detection-using-node-red/12591/7 "2019-06-25T20:49:27Z")

</div>

> [@ALOKA1432](#):
>
> I mean the phone just has its data ON and i have to detect it.

Do you mean the phone has it mobile data connection on (so it is accessing the internet via the mobile phone system) but does not have wifi or bluetooth switched on? Forget about node-red for the moment and ask yourself is there any way to detect that the phone is present? The only way I can think of is to run an app in the phone that sends its location to a server (google location tracking for example) and then interrogate the server to find where the phone is. That won't give you room level location though. Alternatively you could ring the phone's number and listen for it ringing. You would have to give each phone a unique ring tone to check it is not just a coincidental ringing that you are picking up. The down side of this technique is that it might be a bit annoying for the phone owner and other people within hearing range of the phone, with it ringing every few minutes to check where it is. It _would_ be a very interesting node-red project however.

---

<div class="post-metadata">

**Author:** ![ALOKA1432](https://avatars.discourse-cdn.com/v4/letter/a/3ab097/32.png) [@ALOKA1432](https://discourse.nodered.org/u/ALOKA1432)\
**Post date:** [25 June 2019 20:52 UTC](https://discourse.nodered.org/t/smart-phone-detection-using-node-red/12591/8 "2019-06-25T20:52:26Z")

</div>

@Colin You have given a very good advice. i appreciate for the time you took to write. But what about the phone is some else's and you have to detect its presence.

---

<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:** [25 June 2019 20:59 UTC](https://discourse.nodered.org/t/smart-phone-detection-using-node-red/12591/9 "2019-06-25T20:59:36Z")

</div>

> [@ALOKA1432](#):
>
> But what about the phone is some else's and you have to detect its presence.

So now you are trying to spy on someone else's phone that is not in any way connected to devices under your control? I sincerely hope that is not possible without the resources of a government surveillance system.

---

<div class="post-metadata">

**Author:** ![ALOKA1432](https://avatars.discourse-cdn.com/v4/letter/a/3ab097/32.png) [@ALOKA1432](https://discourse.nodered.org/u/ALOKA1432)\
**Post date:** [25 June 2019 21:01 UTC](https://discourse.nodered.org/t/smart-phone-detection-using-node-red/12591/10 "2019-06-25T21:01:28Z")

</div>

@Colin Is there any signal or the RSSI of the phone can be detected with its data on ? or something it radiates ?

---

<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:** [25 June 2019 21:13 UTC](https://discourse.nodered.org/t/smart-phone-detection-using-node-red/12591/11 "2019-06-25T21:13:47Z")

</div>

> [@ALOKA1432](#):
>
> Is there any signal or the RSSI of the phone can be detected with its data on

As far as I know phones transmit over the following systems

1. Cellphone: this is the network that mobile data and voice phone signals are sent over. Unless you have a cellphone signal detector in the room and the knowledge to hack into the cellphone signals then you won't be able to use that. Possible hardware and s/w to do that can be purchased but I don't know anything about it.
2. Wifi: You have said that is turned off.
3. Bluetooth: You have said that is turned off.
4. Audio: As I have suggested you could use ring tones or something similar to do this but there are downsides.
5. Light: Cameras are able to transmit light via the screen and the camera light, but I can't think of a way of using that, and it would only work if the phone was not hidden in a bag or pocket.

How about this for another possibility, use cameras and face recognition and use the presence of the person to imply the presence of that person's phone? That might work. Face recognition s/w is available for the Raspberry Pi I think so you could have one in each room along with cameras trained on the entrances and exits to each room and use that to keep track of which room a person is in, then you would know where the phone was. On second thoughts that wouldn't work if the owner left the phone in a different room.

---

<div class="post-metadata">

**Author:** ![ALOKA1432](https://avatars.discourse-cdn.com/v4/letter/a/3ab097/32.png) [@ALOKA1432](https://discourse.nodered.org/u/ALOKA1432)\
**Post date:** [25 June 2019 21:21 UTC](https://discourse.nodered.org/t/smart-phone-detection-using-node-red/12591/12 "2019-06-25T21:21:04Z")

</div>

@Colin That's right. As per the restriction i mentioned, there is no option left than making a hardware for detecting the waves. I was thinking of getting any data packets that is always radiating rom the phone (The intruder) in the room.That option also i think seems impossible. btw thanks colin for taking so much time to advise me and clearing my doubts. Camera is not a feasible option for the my case.

---

<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:** [26 June 2019 06:08 UTC](https://discourse.nodered.org/t/smart-phone-detection-using-node-red/12591/13 "2019-06-26T06:08:21Z")

</div>

> [@ALOKA1432](#):
>
> No just to detect people with unregistered MAC id or any details.

**This would almost certainly be illegal in most countries unless you are doing it with the explicit consent of the people.**

You would have to have your own network cell.

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [26 June 2019 08:15 UTC](https://discourse.nodered.org/t/smart-phone-detection-using-node-red/12591/14 "2019-06-26T08:15:09Z")

</div>

You could possibly detect the emitted radiation using a cheap USB SDR tuned to the appropriate frequency. However they probably can only detect phones that use the lower frequency bands (around 900MHz) - and ONLY when they transmit. If they are just on but not being used they will be in receive only mode most of the time so would not be transmitting.
