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.
Trigger on changed droptoken value wont work.
OpenMind_NL
Member
in Developers
I try to create a trigger-card that is triggered when the included droptoken (that contains a token from the Tags-menu) receives a new value.
Homey.manager('flow').on('trigger.my_card', function(callback, args){
Homey.manager('flow').on('trigger.my_card', function(callback, args){
Homey.log('hit');
callback( null, true ); // fired successfully
});
... not working
Homey.manager('flow').on('trigger.my_card.droptoken', function(callback, args){
... not working
Homey.manager('flow').on('trigger.my_card.droptoken', function(callback, args){
Homey.log('hit');
callback( null, true ); // fired successfully
});
... not working
Homey.manager('flow').on('trigger.my_card.args.droptoken', function(callback, args){
... not working
Homey.manager('flow').on('trigger.my_card.args.droptoken', function(callback, args){
Homey.log('hit');
callback( null, true ); // fired successfully
});
... not working
What am I doing wrong in my stupidity?
... not working
What am I doing wrong in my stupidity?
Comments
Or... Is it just not possible to trigger flows on changing trigger arguments?
You might ask yourself why I don't use a "variable has changed" card...
Well, I need something like that but it also needs several tokens that offer data created from the variable....