Hi everyone,
I’m trying to trigger an advanced flow in Homey via HomeyScript. The advanced flow works correctly when triggered manually, and I’ve confirmed the id and uri using Homey.flow.getAdvancedFlows().
Here’s what I’ve tried so far:
- Using
Homey.flow.triggerFlow({ id: '82b81c9d-7896-45c7-bf0e-15067f634a19' }); - Using
Homey.flow.triggerFlow({ uri: 'homey:advancedflow:82b81c9d-7896-45c7-bf0e-15067f634a19' }); - Trying
Homey.flow.runAdvancedFlow({ uri: 'homey:advancedflow:82b81c9d-7896-45c7-bf0e-15067f634a19' });
Every attempt results in an error:
- “Not Found: Flow with ID [ID]”
- “Missing Parameter: id”
Output from Homey.flow.getAdvancedFlows() confirms the flow exists, is enabled, and is triggerable.
Has anyone successfully triggered an advanced flow via HomeyScript? Is there a specific API or parameter required to make this work?
Thanks for your help!
Andrea