# Automation triggered when Homey goes offline/online

**URL:** <https://community.homey.app/t/automation-triggered-when-homey-goes-offline-online/118687>\
**Category:** Questions & Help\
**Tags:** flow, homey-pro\
**Created:** [October 21, 2024, 8:18am UTC](https://community.homey.app/t/automation-triggered-when-homey-goes-offline-online/118687 "2024-10-21T08:18:05Z")\
**Posts on this page:** 14\
**Page:** 2

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [October 23, 2024, 12:07pm UTC](https://community.homey.app/t/automation-triggered-when-homey-goes-offline-online/118687/21 "2024-10-23T12:07:50Z")

</div>

> [@Giovanni\_Dienstmann](#):
>
> Basically what I’d like to do is to run a Flow whenever Homey goes back online.

Like I suggested alr, you can use the Net Scan app

 ![1000036547](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/3/7/3786472df3d467299ef6c52e759c37f7c4fbca62.jpeg)

---

<div class="post-metadata">

**Author:** ![DirkG](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dirkg/32/118897_2.png) [@DirkG](https://community.homey.app/u/DirkG)\
**Post date:** [October 23, 2024, 2:36pm UTC](https://community.homey.app/t/automation-triggered-when-homey-goes-offline-online/118687/22 "2024-10-23T14:36:47Z")

</div>

It’s a bit confusing for me, sorry. Maybe because I don’t use the Net Scan app myself.  
Why is the device named “Facebook”? Does this device check the connection between Homey (?) and the internet, resp. Facebook URL? Or between the WLAN Router and the internet, resp. Facebook URL, or what?

Because I wanted to find out where the tag _ **Device Online State** _ came from, it could have actually come from Homey’s internal offline warning, but it doesn’t, I found other nice tags.  
The following is possible with **Device Capabilities** and the **sysInternals** app:

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/4/0/40ba5fcf07c06d13d52aaa60b101660a3d26c592.png)

I just tried it quickly with this flow and unplugged the LAN cable and it worked:

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/b/6/b65257bd226d8a2003043ad721cc7c87b9d3f754.png)

---

<div class="post-metadata">

**Author:** ![SunBeech](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sunbeech/32/111391_2.png) [@SunBeech](https://community.homey.app/u/SunBeech)\
**Post date:** [October 23, 2024, 7:14pm UTC](https://community.homey.app/t/automation-triggered-when-homey-goes-offline-online/118687/23 "2024-10-23T19:14:21Z")

</div>

> [@DirkG](#):
>
> So the Homey Pro Ethernet Adapter is powered by the PoE LAN connection, or what?

I think he means that he uses a set of PowerLine adapters (or comparable devices) that allow you to use the in-house electricity grid to transfer the ethernet signal instead of an actual ethernet/UTP cable.

---

<div class="post-metadata">

**Author:** ![Didier\_SmartHome](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/didier_smarthome/32/97365_2.png) [@Didier\_SmartHome](https://community.homey.app/u/Didier_SmartHome)\
**Post date:** [October 23, 2024, 7:26pm UTC](https://community.homey.app/t/automation-triggered-when-homey-goes-offline-online/118687/24 "2024-10-23T19:26:14Z")

</div>

If that’s the case then I’m not surprised about Homey being offline on a regular basis.  
Powerline adapter can be handy but they are not the most reliable network devices. While they work OK for many different use cases, I never came across a single brand or model with 100% availability time.

@Giovanni_Dienstmann if you don’t use Powerline adapter then I made you waste 5 seconds of your life reading this 😅

---

<div class="post-metadata">

**Author:** ![Giovanni\_Dienstmann](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/giovanni_dienstmann/32/112852_2.png) [@Giovanni\_Dienstmann](https://community.homey.app/u/Giovanni_Dienstmann)\
**Post date:** [October 25, 2024, 9:41am UTC](https://community.homey.app/t/automation-triggered-when-homey-goes-offline-online/118687/25 "2024-10-25T09:41:48Z")

</div>

This is my set up:

 ![IMG_5937](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/f/9ff3f39ce9dcf107fa0202539f5a84cfb265b233.jpeg),

And yes I’m using Homey’s official ethernet adapter and power adapter. The hack is that I’m using [one of these](https://www.amazon.com/TP-Link-AV600-Powerline-Ethernet-Adapter/dp/B00AWRUICG/ref=sr_1_8?crid=24205N7YOT8HI&dib=eyJ2IjoiMSJ9.4F6iFCr2gTjvrhzQvTmmLTLkvQ357FGDAVIqfu3nDuS1MPJfAotENaglN0dLqcpuneK8YfhQSWVfEf7YT3_ILW2849QD9JCI-lw_CvcnH5taQH1lFDIyem1tqnlMFbiboWVVnIvIH_MAAIqno1n6ttRh5T0qrZGMnqUpid0qXSAuNSGg3vLYECdPZbq2e0EGega6SaNzyarPpB3HTvtXKPNVKxsQPOHO2YUAJdsy8zM.lOq3c1mx8RXMKjlxr7WPMEEt3r5gK7e2BSCnFPEMsTs&dib_tag=se&keywords=ethernet+over+power+tp-link&qid=1729849222&sprefix=ethernet+over+power+tp-li%2Caps%2C425&sr=8-8), since I don’t have an ethernet data point there. If it makes a big difference in stability, I’ll get an electrician to install one.

I’ve never used the Chronograph app before, and didn’t know it behaved differently from the regular delay timers. I might give that a go!

---

<div class="post-metadata">

**Author:** ![Didier\_SmartHome](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/didier_smarthome/32/97365_2.png) [@Didier\_SmartHome](https://community.homey.app/u/Didier_SmartHome)\
**Post date:** [October 25, 2024, 9:55am UTC](https://community.homey.app/t/automation-triggered-when-homey-goes-offline-online/118687/26 "2024-10-25T09:55:48Z")

</div>

I would be interested to hear what others think but IMO, if you have a good Wifi equipment (Unifi for ex) Wifi would be more reliable than your Powerline adapter. If you want to keep wired, then I would get a real ethernet cable.

I’m using Wifi with my Homey Pro 2023 for about 4 months without experiencing any disconnection (beside the temporarily issue I reported above). I’m considering moving back to ethernet, not because of stability issue but because I’ll be moving the location of my Homey in my server room following other renovation work.

---

<div class="post-metadata">

**Author:** ![DirkG](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dirkg/32/118897_2.png) [@DirkG](https://community.homey.app/u/DirkG)\
**Post date:** [October 25, 2024, 11:18am UTC](https://community.homey.app/t/automation-triggered-when-homey-goes-offline-online/118687/27 "2024-10-25T11:18:45Z")

</div>

Just an additional info.  
I also use UniFi devices for my home network like @Didier_SmartHome and a DSL-Modem AVM FRITZ!Box 7590 CQ (Exposed Host, WLAN deactivated). So, my Homey Pro 2023 is directly connected to the UniFi Dream Router via the original Ethernet Adapter and via WLAN.  
Yesterday I had to restart the DSL modem and shortly afterwards I received a push notification that Homey had gone offline.  
What I want to say is that it wasn’t Homey itself that went offline, but the internet connection to the UniFi Dream Router and I received a push notification that Homey had gone offline.

Therefore, it is not 100% clear to me whether @Giovanni_Dienstmann’s Homey itself will lose the connection to the home network, or whether the Internet connection to the router will be interrupted, or even between the router and Homey, e.g. due to the connection with the TP-Link Powerline Ethernet adapter.  
@Giovanni_Dienstmann, do you know exactly where the interruption occurs?

However, if the connection in the home network or in the internet connection itself is interrupted, you could create corresponding flows using the Network Check or Net Scan app.  
If the connection is interrupted by the Homey itself, you could create corresponding flows using the Device Capabilities and the sysInternals app.  
From my point of view, the problem/the question is therefore solved/answered.

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [October 25, 2024, 11:23am UTC](https://community.homey.app/t/automation-triggered-when-homey-goes-offline-online/118687/28 "2024-10-25T11:23:25Z")

</div>

> [@DirkG](#):
>
> What I want to say is that it wasn’t Homey itself that went offline, but the internet connection to the UniFi Dream Router and I received a push notification that Homey had gone offline.

That’s how these notifications work: when Athom’s cloud server notices that it lost connection to your Homey it will send you a notification about it (perhaps after some delay to allow for reboots, etc).

---

<div class="post-metadata">

**Author:** ![Andy\_Henderson](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/andy_henderson/32/80642_2.png) [@Andy\_Henderson](https://community.homey.app/u/Andy_Henderson)\
**Post date:** [October 26, 2024, 4:43am UTC](https://community.homey.app/t/automation-triggered-when-homey-goes-offline-online/118687/29 "2024-10-26T04:43:45Z")

</div>

> [@Didier\_SmartHome](#):
>
> I would be interested to hear what others think but IMO, if you have a good Wifi equipment (Unifi for ex) Wifi would be more reliable than your Powerline adapter.

I use Devolo powerline kit. When I first started with powerline I used cheaper devices which were unreliable. I’ve needed to reset a Devolo device perhaps once a year since.

I use powerline to connect my Homey having had issues using WiFi. I also use it to connect TV, Sky box, media centre (with one Devolo device acting as a switch) and all my WiFi mesh devices.

Andy

---

<div class="post-metadata">

**Author:** ![Aewik](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/aewik/32/79081_2.png) [@Aewik](https://community.homey.app/u/Aewik)\
**Post date:** [October 26, 2024, 10:50am UTC](https://community.homey.app/t/automation-triggered-when-homey-goes-offline-online/118687/30 "2024-10-26T10:50:33Z")

</div>

Perhaps set a variable with the timestamp when the flow starts, then run a check every now and then to see if 20 mins has passed since the variable was set (flow started). If variables survive an outage that is.

---

<div class="post-metadata">

**Author:** ![Pierre\_Gi](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/pierre_gi/32/58041_2.png) [@Pierre\_Gi](https://community.homey.app/u/Pierre_Gi)\
**Post date:** [October 27, 2024, 8:45am UTC](https://community.homey.app/t/automation-triggered-when-homey-goes-offline-online/118687/31 "2024-10-27T08:45:15Z")

</div>

I have the same problem with my Homey 2019, it goes offline for a few minutes every day or so.

It’s WiFi connected. No warning, no regular hour.

I thought it was a regular bug and got used to it even if it can be very annoying to have to wait several minutes before I can switch a light on or worse, open the garage door…

---

<div class="post-metadata">

**Author:** ![Didier\_SmartHome](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/didier_smarthome/32/97365_2.png) [@Didier\_SmartHome](https://community.homey.app/u/Didier_SmartHome)\
**Post date:** [October 27, 2024, 9:37am UTC](https://community.homey.app/t/automation-triggered-when-homey-goes-offline-online/118687/32 "2024-10-27T09:37:09Z")

</div>

I can’t speak about Homey 2019 but my 2023 Pro is very stable on Wifi. Are you using any mesh, repeaters or have multiple AP? Or just a single AP with a very good wifi coverage?  
If you have Zigbee devices, did you manually configure the channels to avoid interference?  
Not sure if the fix I mentioned earlier would also work with Homey 2019 but maybe this is worth trying.

---

<div class="post-metadata">

**Author:** ![Giovanni\_Dienstmann](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/giovanni_dienstmann/32/112852_2.png) [@Giovanni\_Dienstmann](https://community.homey.app/u/Giovanni_Dienstmann)\
**Post date:** [October 27, 2024, 10:15pm UTC](https://community.homey.app/t/automation-triggered-when-homey-goes-offline-online/118687/33 "2024-10-27T22:15:59Z")

</div>

So I installed an extra data point behind my Homey now, two days ago. So far, not a single connection drop! While because I’d have them every day… So I think the culprit was the ethernet over power device 🤷🏼

---

<div class="post-metadata">

**Author:** ![Didier\_SmartHome](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/didier_smarthome/32/97365_2.png) [@Didier\_SmartHome](https://community.homey.app/u/Didier_SmartHome)\
**Post date:** [October 27, 2024, 10:29pm UTC](https://community.homey.app/t/automation-triggered-when-homey-goes-offline-online/118687/34 "2024-10-27T22:29:12Z")

</div>

Powerline adapter often gives a false impression they are stable when used with smart tv or other streaming devices because video buffering does its job and even if the connection is droped for a few seconds you won’t notice it. Homey and other specific devices needs something 100% stable.

[Previous page](https://community.homey.app/t/automation-triggered-when-homey-goes-offline-online/118687.md?page=1)
