Afaik there’s no way to retreive the user who started the flow.
However, that’s not end of story;
When you replace those flows trigger with a virtual knob or switch, the user who pushed the virtual switch is known!
Use this flow card, to monitor the virtual knob / switch:
Thank you. No luck, fields are empty. I tried with simple flow as well. No clientID and no User.
But I cannot select for “Turned on”, but “OnOff”. Maybe we are using different versions?
Device capabilities v2.15.4 Test
Homey 10.2.0
‘Turned on’ seemed to be a ‘previous’ value, when I emptied it and selected it again, I also got OnOff as only choice. But that also works here, sorry.
I see we use different DC versions and Homey’s (you probably own the 2023 model?), so that must be the cause here imho DC: v2.14.9 Homey Pro 2019, v10.0.5-rc.1
Was that ever fixed on HP2023? Since there is still no way to know which user started a Flow (which is ridiculous IMHO), using a virtual device would probably be an acceptable workaround
I think it’s odd we can start flows.
I prefer to use switches or buttons which start flows
Then you automatically can retrieve the ‘who’ and the ‘from which device’ with the flowcards I showed.
I tried the above today, same results. The tags are not filled.
It only works on HP2023 if you do a test run in the browser. You’ll get a popup asking for a value to test run the flow. That value is correctly passed.
@Arie_J_Godschalk I guess this is something Athom has to fix? Or is it something caused by Device Capabilities?
Thanks to @Peter_Kawa 's example I’ve discovered what I did wrong. Thank you very much for helping me out!
Now I can send notifications when something failed to the one who started the flow.
Tip for others to keep in mind who want to use this…
If you create a Advanced Virtual Device, make sure it is one that can create insights. I had to use a on/off switch. Not a doorbell like button because it cannot generate the insights.
You can check the insights regardless of the state or you can flip back the state of the button immediately at the start of the flow.
@Arie_J_Godschalk Thank you for making this functionality possible! I don’t know why Athom lacks this functionality natively. Home automation is for more than one person in our houses.
On the top card the detail is in the capability type “device(tag)”
I still don’t know how to use it, apparently we can use a tag, but there it ends for me.
And probably I don’t need that card anyway