# How to trace a phonea

**URL:** <https://community.homey.app/t/how-to-trace-a-phonea/73229>\
**Category:** Questions & Help\
**Created:** [December 7, 2022, 11:07am UTC](https://community.homey.app/t/how-to-trace-a-phonea/73229 "2022-12-07T11:07:54Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Skal](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/skal/32/57948_2.png) [@Skal](https://community.homey.app/u/Skal)\
**Post date:** [December 7, 2022, 11:07am UTC](https://community.homey.app/t/how-to-trace-a-phonea/73229/1 "2022-12-07T11:07:54Z")

</div>

Hello, I would like to create a flow that detects if my phone is on charge or not.  
Does anyone you knows how to detect it? 🤔

Tnx

---

<div class="post-metadata">

**Author:** ![Marcel\_Ubels](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/marcel_ubels/32/18860_2.png) [@Marcel\_Ubels](https://community.homey.app/u/Marcel_Ubels)\
**Post date:** [December 7, 2022, 11:41am UTC](https://community.homey.app/t/how-to-trace-a-phonea/73229/2 "2022-12-07T11:41:41Z")

</div>

Using a smart plug. When, Logic (more as … Watt), THEN, timeline phone is charging.

---

<div class="post-metadata">

**Author:** ![FKok](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/fkok/32/13333_2.png) [@FKok](https://community.homey.app/u/FKok)\
**Post date:** [December 7, 2022, 12:36pm UTC](https://community.homey.app/t/how-to-trace-a-phonea/73229/3 "2022-12-07T12:36:27Z")

</div>

If you have an iPhone, you can use shortcuts in combination with web hooks.

This is an article that shows you how, but only in dutch, sorry. Works perfect, when my phone starts charging after a specific time, it will turn off everything downstairs.

> **[Slaap scene starten bij opladen IPhone](https://homeycornelisse.nl/slaap-scene-starten-bij-opladen-iphone/)**
>
> Als je naar bed gaat maak je nog even een rondje door het huis om alle apparaten en verlichting uit te zetten voordat je gaat slapen. Dit rondje kan soms wel wat tijd in beslag nemen, om dit makkel…

---

<div class="post-metadata">

**Author:** ![JPe4619](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jpe4619/32/9017_2.png) [@JPe4619](https://community.homey.app/u/JPe4619)\
**Post date:** [December 7, 2022, 5:20pm UTC](https://community.homey.app/t/how-to-trace-a-phonea/73229/4 "2022-12-07T17:20:53Z")

</div>

For Android: [[TUTORIAL] Using Tasker / KLWP together with Homey](https://community.homey.app/t/tutorial-using-tasker-klwp-together-with-homey/674)

---

<div class="post-metadata">

**Author:** ![Skal](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/skal/32/57948_2.png) [@Skal](https://community.homey.app/u/Skal)\
**Post date:** [December 8, 2022, 5:56pm UTC](https://community.homey.app/t/how-to-trace-a-phonea/73229/5 "2022-12-08T17:56:55Z")

</div>

Tnx, but I’m looking for a sw solution

---

<div class="post-metadata">

**Author:** ![Skal](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/skal/32/57948_2.png) [@Skal](https://community.homey.app/u/Skal)\
**Post date:** [December 8, 2022, 5:57pm UTC](https://community.homey.app/t/how-to-trace-a-phonea/73229/6 "2022-12-08T17:57:33Z")

</div>

Is not the Duch who scares me , but I’m an Android user ☹ tnx anyway 😉

---

<div class="post-metadata">

**Author:** ![Skal](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/skal/32/57948_2.png) [@Skal](https://community.homey.app/u/Skal)\
**Post date:** [December 8, 2022, 5:58pm UTC](https://community.homey.app/t/how-to-trace-a-phonea/73229/7 "2022-12-08T17:58:01Z")

</div>

Thanks, I will try to take a look 🙂

---

<div class="post-metadata">

**Author:** ![M\_a\_r\_c\_o](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/m_a_r_c_o/32/146_2.png) [@M\_a\_r\_c\_o](https://community.homey.app/u/M_a_r_c_o)\
**Post date:** [December 8, 2022, 6:38pm UTC](https://community.homey.app/t/how-to-trace-a-phonea/73229/8 "2022-12-08T18:38:12Z")

</div>

With Macrodroid and if phone is pluged in, send an http webhook to homey.

If power is connected and you are member of home wifi and the time is between 21:30 and 02:00 the mark me at sleep.

Something like this.

---

<div class="post-metadata">

**Author:** ![Skal](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/skal/32/57948_2.png) [@Skal](https://community.homey.app/u/Skal)\
**Post date:** [December 9, 2022, 10:37am UTC](https://community.homey.app/t/how-to-trace-a-phonea/73229/9 "2022-12-09T10:37:25Z")

</div>

Thanks to all, I will try to study all the links you have sent me, and I will try to implement a webhook with tasker since I have already this app.  
Leo
