Is there a way to trigger an automation the moment Homey goes offline, or back online?
This would be extremely useful, because for me Homey goes offline for some minutes every other day. Then what happens is that any Flows that were currently running, and waiting on a timer to turn off the lights, simply don’t work. As a result, some lights/fans stay on for WAY longer than they should.
I know I can go and manually take action when I receive the push notification on my phone, but I’m looking for an automated way to do that. Hey, it’s home automation after all, isn’t it!
But Homey itself must be connected via WLAN or LAN for this to work. I understand @Giovanni_Dienstmann’s request in such a way that he wants to start a flow or pause a timer if Homey itself has lost the WLAN and LAN connection, resp. “goes offline” as he wrote.
I meant the network check app as stated. Patrick is suggesting the same app, but in Dutch. There’s no problem using it to run a flow while not connected to the Internet. Homey can still use local connections in this situation.
Hi @Giovanni_Dienstmann .
I just wonder, what is it that doesn’t work, when homey is offline. If it is the action afterwards because it is cloud-based. there is not much, you can do. You really need to check what is to be done, when the net is back again.
But the timers should work, as they should not depend on the internet.
So please provide the flows, that do no work, and probably check, where it stops.
Then you can either perform as the other proposed or you switch to devices that do not need the internet connection
Just my two cents.
The build-in timers and delays don’t survive a restart / power outage. However, they should survive an offline situation.
Due to this strange and unreliable behaviour, I use Chronograph timers when I need more than a (few) minutes of delay.
With the Net Scan app you can check whether internet, OR internet+LAN is down.
So when only internet is down, it still can command a (preferably non-wifi) device.
When it detects to be online again, it can send a message(s) with a message app of your likings.
It’s just not how it’s supposed to be. I"d write to homey.app/support as well
Here is one of several examples. I have a flow that will start the laundry’s exhaust fan when the humidity is higher than 79% there. Then there is a timer that will turn it off after 20 minutes (enough time to replace the air in the room).
However, if Homey goes offline 15 minutes after the flow started, and goes back online 10 minutes after that, it missed the 20min mark for turning off the fan. This has happened a couple of times already, and the fan was on for hours before we noticed it.
I do understand the use case. I also think that I understand when you write “Homey goes offline”. The WLAN/LAN connection of Homey to the home network is interrupted, correct?
I don’t have any of the “Net Scan” apps mentioned so far, but I assume that they only monitor the internet connection of the home network, or other devices that are connected to the home network. The WLAN/LAN connection of Homey itself is not monitored by the apps.
That was also the reason why I mentioned G. Dijker and his sysInternals app. This app monitors the WLAN/LAN connection of Homey itself.
Maybe you should ask in the appropriate app topic if this function can be added:
Sure. Here is a screenshot of my flow. I’m turning the exhaust fan if humidity gets greater than 75%, and then turn it off via a timer after 20 minutes. I try two more times in case of errors, since that particular relay doesn’t always respond in first try (it’s on another floor).
My Homey is connected via an ethernet cable, using the Homey official adaptor. I’m using an ethernet over power device, since I don’t have a data outlet next to where I’m putting Homey—but I don’t think this matters to this problem.
Basically what I’d like to do is to run a Flow whenever Homey goes back online.
@Giovanni_Dienstmann Couple of weeks ago and for about 4-5 days, my Homey Pro 2023 was sending push notifications that it was offline on a daily basis. It usually lasted less than an hour but not all the time. I decided to unplug it from power for 30 seconds and problem never re-occurred again since then. Some updates were also being pushed at the same time so I can’t be sure if that was what fixed the issue.
However as other recommended, if you have enabled the push notification when Homey goes offline, and you see this happening regularly, I would recommend you unplugging it from power for 30 seconds and then contact Homey support if the problem remains.
Definitely not normal. I would try the unplug for 30 seconds and if the issue remains contact Athom support after making sure your home network is not disconnecting it
Don’t understand, sorry. So the Homey Pro Ethernet Adapter is powered by the PoE LAN connection, or what? Or do you use the original Homey Power Adaptor to power the Homey Pro Ethernet Adapter?
Can you please post a photo of the setup?
I understood that! Have you asked in the sysInternals app topic?
Regarding your flow. Please use the build-in delay cards only for short times, not for times as long as 20 minutes.
If Homey is switched off while the internal delay card is running, the remaining time will be deleted. For longer times it’s better to use f.e. the Chronograph app. The timer in the Chronograph app will not be deleted when Homey is switched off. When Homey is switched on again, the timer continues to run and will switch off the fan.