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 )
7am light ON and Heat Mat off
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?
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.
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.
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’ ). But it might solve the issue
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.