Flow stopped working

Hi All

I have a flow thats stopped working.its been working well for months but last few days it has stopped.

I have 2 flows for my sons tortoise Shelly for light and heat. (Named by a 6year old :laughing:)

  1. 7am light ON and Heat Mat off
  2. 7pm light OFF and heat mat on

The LIGHT ON flow at 7am has stopped turning the light on. However at 7pm the flow works correctly

Both devices are powered by a twin zigbee power socket which is bridged from Home assistant.
The light works. The sockets work. If i press the tile in either Homey or HA I can control the devices without any issue.

Ive added a card to the flow so that it adds a note when the flow runs. Its telling me that the flow is running correctly. If I manually run the flow, it works.

So. Device works and shows correct status in homey, bulb works, flow is saying its triggers. Device can be controlled.

If the light is turned on manually - the 7pm flow to trun it off works fine.

Is there any more I can do to fault find the issue?

Thanks in advance

Is Flow disabled by any chance?

Delete the Flow and create a new one.
Restart your Homey.
Create a new Flow just with a time a notification card to test, if the time card works well.

I just tested the following flow, and it worked perfectly:

No. The flow is not disabled and I added 2 extra layers. One to send a push notification and one to write to the timeline when the flow completes. These worked and according to Homey the flow ran.

I also made a flow to test the time as suggested ans that worked.

Damn thing just wont run

Ive tested again this evening and all devices are working fine, i have full control from HA and Homey
Ive deleted the flow and re-made it. Hopefully that sorts it!

Also HA and Homey and App versions all up to date.

Thanks

So flow not worked again today. The light didnt come on.
I built a new flow, restarted homey.

I turned the light on manually at 7:15.

Ive looked at the device history and its saying it was turned on at 07:00

So homey thinks this socket is turning on - but its not actually turning it on!
Any other ideas?

most likely the command didn’t reach the device. I’ve got one zigbee device that 98% of the time works fine. When it doesn’t function as expected, it shows the same history. When I try to manually switch the device i get a 10.000ms timeout error.

In an advanced flow you can use the error line (red dot on the bottom of a card) to, for example, log the error in the timeline. That doesn’t solve the issue but at least you will know when something didn’t work as expected and what the error was and try to solve it.

When i control the device manually or by the app it works instantly with no time out error.
I might have to delete the device and try again!

It does however turn off on the required time, only on doesnt work

Unless we capture the error, we can only speculate on what’s happening :slight_smile:

Is there a way to check as a standard flow or only an advance?

I’ve only got advanced flows, not sure if you can catch an error in the standard flow.

Just looked into the app, but i don’t see any obvious option for it, only a switch for delay.

Just thinking, maybe it’s a timing issue since -as far as i understand it- there’s one physical device with two on/off switches. The night flow has a 1 second delay between the two actions, the morning flow doesn’t. Maybe adding a second delay in the second action in the morning flow solves the issue.

I’ve read somewhere on this forum that Homey has issues sending more than 1 command simultaneously. So why it worked before, or why it doesn’t work now, no idea (computers and their hard en software ‘features’ :face_with_tongue: ). But it might solve the issue :slight_smile:

What is the difference between the two highlighted lights/devices that are turned on in the morning? The top one is never turned off in the evening flow.

Homey executes cards 1, 2 and 4 in parallel. 3 follows after 1 sec. Adding a (cumulative) delay, as @Anoniemand suggests, in cards 2 through 4 might help, though I doubt that is the issue in this case.

Well, nothing! Originally it was just the plug from Homey Home Assistant community app.
When that stopped working i used the official home assistant app and it shows up as a light. Its the same device. In the community app its a plug in yhe official its a light. If i press either it turns it off and on and both tiles correctly reflect the status

i added the second one to see if it would help or show any fault.

I just switched off the light manually and made a test flows to turn it on. I even changed the time of my original flow.
They all worked perfectly as expected

So ive deleted the flow again, restarted homey and made a new one but at 07:01am
Ill wait to tomorrow to see if that helps

Does this mean that both (or one of them) are a toggle switch? Or only an ‘on’-switch. If toggle, then the first and second cards might cancel each other’s action.

try set the time to 19:02 and 07:02

Both are just On switches. Ive remade the flow completely now. New flow worked but then the light didnt turn off!!!
I now have 4 flows!!
Strange

Thanks for help