Hello,
In Tasker it is possible to send intents to any application.
It works in that way:
Task function:send intent
Action: eu.power_switch.action
extra:Room:Room1
extra:Receiver:switch1
Button:On
This receiver is working with a Brematic GWY 443 and switch connectors on and off.
How can I realize the same action with automagic?
Newbie question about intents
Moderator: Martin
Re: Newbie question about intents
Hi,
You can send broadcast intents with action Send Broadcast and activity intents with Start Activity.
Options would be:
Action: eu.power_switch.action
Extras:
Is Button:On also an extra?
Regards,
Martin
You can send broadcast intents with action Send Broadcast and activity intents with Start Activity.
Options would be:
Action: eu.power_switch.action
Extras:
Code: Select all
putString("Room", "Room1");
putString("Receiver", "switch1");
Regards,
Martin
Re: Newbie question about intents
Yes. It is an extra.
In the last row stands a directive:
Ziel:
Broadcast Receiver
But it doesn't work in that way.
In the last row stands a directive:
Ziel:
Broadcast Receiver
But it doesn't work in that way.
Re: Newbie question about intents
OK, then you have to use action Send Broadcast.
Also add the third extra:
putString("Button", "On");
Please also check the spelling of each extra and verify that upper/lower case is correct.
Where did you get the information about the intent from? If you have a link to a page where the intent is described, I can take a look if it needs to be changed somehow.
Also add the third extra:
putString("Button", "On");
Please also check the spelling of each extra and verify that upper/lower case is correct.
Where did you get the information about the intent from? If you have a link to a page where the intent is described, I can take a look if it needs to be changed somehow.
Re: Newbie question about intents
OK. I got it.
very good, I'm satisfied.
very good, I'm satisfied.