This is the forum archive of Homey. For more information about Homey, visit the Official Homey website.
The Homey Community has been moved to https://community.athom.com.
This forum is now read-only for archive purposes.
The Homey Community has been moved to https://community.athom.com.
This forum is now read-only for archive purposes.
Closed
Separate the devices from the flows
I think that the devices should be separated from the flows.
I had a switch broken and had to replace it with another one.
After the replacement and adding the switch to the devices i had to make every flow i made for the old, broken switch over again for the new switch. This is because the flow can't replace the device.
If you however make a flow with a device-ID and then connect the switch to that device-ID then you could use this flow with any other switch with the same attributes.
For example:
Flow: IF -> "Something was said" And "Text contains" "Lights On" THEN SwitchA01 -> "Turn On"
At this point SwitchA01 is not connected to any device but we can now connect a switch-device to this SwitchA01.
Like: Connect "Lightswitch Livingroom" to "SwitchA01"
When this "Lightswitch Livingroom" breaks and has to be replaced, then the new one can take it's place by connecting this device to "SwitchA01".
This would save a lot of time and work because you can reuse the existing flow. Also are the flows exchangeable so people can share their flows with others.
Hendrie
I had a switch broken and had to replace it with another one.
After the replacement and adding the switch to the devices i had to make every flow i made for the old, broken switch over again for the new switch. This is because the flow can't replace the device.
If you however make a flow with a device-ID and then connect the switch to that device-ID then you could use this flow with any other switch with the same attributes.
For example:
Flow: IF -> "Something was said" And "Text contains" "Lights On" THEN SwitchA01 -> "Turn On"
At this point SwitchA01 is not connected to any device but we can now connect a switch-device to this SwitchA01.
Like: Connect "Lightswitch Livingroom" to "SwitchA01"
When this "Lightswitch Livingroom" breaks and has to be replaced, then the new one can take it's place by connecting this device to "SwitchA01".
This would save a lot of time and work because you can reuse the existing flow. Also are the flows exchangeable so people can share their flows with others.
Hendrie
This discussion has been closed.
Comments
I totally agree. But that might have a huge impact on the existing architecture and existing flow.
Maybe a global replace of a device is an acceptable trade-off? (Replace device x with device y)
Maybe you can create a github issue: https://github.com/athombv/homey/issues fort his.
1. People of Athom are not following this forum
2. People of Athom are following this forum.
I hope it is the second, but in both caes, I am not their secretary maintaining their issue list.
(Maybe you read some irritation whithin this post. I don't see Athom participating much. We can think of improvements, but why should we? Why even bother when Athom seems abcent? Why did I even reply to the topic starter in the first place? Hell, I think I will only leach this forum instead from now on. ....me getting more and more irritated by the loud abcense of Athom on this forum)
Always so friendly and open for others
@underground please share your concerns and the issues you encounter with homey. Else others (especially @Athom, @Emile, @JeroenVollenbrock) can learn from there customers.
But as far as other stuff like suggesting something that concerns the core of Athom, I would not participate any more. It seems really silly talking about it whilst the ones who really can do something about it are not present. That doesn't make sense at all. E.g. I stated somewhere that you really need a backup of all devices and flows in case you need a factory reset. But what use does this statement has when nobody at Athom participates?
And asking to add it to their github issue list? Come on! If they really are interested in our opinion, they would participate and if they want, they can add issues themselfs. Thats why I said that I am not their secretary. If they like the idea, they can add it to the issue list themselfs.
In the first flow 1 set some variables to say something and to push a message.
In the second I react on the changed variable to say something.
I can reuse this in any flow I want, eg, when I want to change the color when something is said, I only have to change it in this flow.
Also for push messages, when I want to change the push service that I use, I just change it in this one flow.
For example when doorbell is pressed, I trigger multiple action flows:
Example action flow:
There are multiple triggers that might turn on a lamp or close the blinds or whatever, but I never have both the trigger and the action in one flow. Because then if I have 2 triggers and set up the 2 flows with light on for example, and I want it to change color as well, I need to go in and change both flows, in stead of only the action flow. I hope this clarifies.
I only use zwave and am not familiar with other devices if they also have a node-id.
Or is that what you mean with device id?
Am i right?
I would like to prevent that...
(Still... i like the way you are doing things! )
edit: BTW; could you show the flow "Ganglamp aan"?
But an other advantage is that it is simpeler to use multiple triggers for the same flow.
I want to reorder my flows the same way, I'm just not sure if I do it like Woei or like Glijie with Better Logic variables.