Tired of flow bugs

I’m really getting tired of simple bugs. My advanced flows aren’t that advanced, why they’re not working all the time only the athom gods know..

I have a simple flow, when a light is turned on before 9am my whole first floor should turn on. Today that didn’t happen.

I opened the homey app and looked at the light I had turned on physically. I was off, but as soon as I opened the app it turned on and the flow triggered..

Why is that? I shouldn’t have to open the app for flows to work… it’s just too unreliable from time to time. I’m expecting 100% or close to it, shouldn’t be that hard

So your issue has nothing to do with flows, but with your devices either not reporting, or with Homey not picking up their signals. Which can have many reasons, depending on the type of device, how they are connected (Zigbee, Z-Wave, WiFi, etc), possible interference, etc.

Looks like a triggering issue which means your bulb is not updating the state to homey quickly enough.
what bulb is it? Zigbee or wifi? Cloud or local? Cloud based wifi bulbs are fairly slow as they do some polling to get the state and some platforms like tuya can be unreliable for state reporting. Im using zigbee and hue bulbs via the hue bridge and triggering flawlessly everytime. The stuff I had issues with are wifi tuya bulbs which sometimes dont report state correctly.

Not homeys fault, its just how TUYA implements their cloud API.

Funny how the device is suddenly reporting when I open the app and look at the device. The device is a Zigbee Elko switch. It’s located 3m from the homey itself.

It’s Zigbee. Elko switch, simple device, always powered with 3 wire. Location is 3m apart from the homey. So should not be any delay.

You can try asking Athom support why this happens, but knowing them, they will blame the app developer :man_shrugging:t3:

Zigbee can suffer from 2.4GHz interference (by f.i. wifi 2.4GHz, microwave ovens).
I’d first check if both zigbee & wifi 2.4GHz don’t interfere, by checking and adjusting their used channels if needed;
Here’s a comprehensive troubleshooting guide:
https://community.homey.app/t/advanced-zigbee-troubleshooting-on-homey/115930

The whole debugging on Homey is quite difficult as Homey has no debug log. That’s why I wrote an app that is available in the store to log every event you want to a debug log or error log and so on. It’s some work, but adding these cards to a flow can help understand what really happens. I come from another system that generated nice logs and this was one of the things I missed first in Homey. You can create logs like this in Google Sheets and can trace back what happens. Depending on the number of cards you add a log can become very granular.
Here is just an example:


And an example of the log:

And Error log:

In my case, I struggle with Matter devices not being available from time to time. But now I know at least why some flows do not work as expected.