That would be a great way to do it, if I could figure out how to get Alexa to post a notification to my phone. But I actually do use that method to have my Android Memento Database program send commands to Tasker.
The way I do it is more convoluted than that. The Tasker plugin "AutoVoice" can access a virtual dimmer that Alexa can also access. So I have an Alexa routine, triggered by a phrase (like "Alexa, mute television") that sets that virtual dimmer switch to a specific dimmer value. A Tasker profile is watching that dimmer switch, and when it changes value, extracts the new value and then has very long "case" statement that will do different things based on that value (Tasker will also then reset the dimmer switch back to 0 to start over). Say the dimmer switch is set to 65%, then case 65 will then run the "RunAllonisMacro" Tasker task with the Allonis macro name as a parameter. Other case statements invoke other types of tasks, such as "RunHomeseerEvent" with the Homeseer event name as a parameter. You can have up to 100 special Alexa spoken commands per virtual dimmer switch (1% to 100%, plus the reset value of 0).
I developed this method many years ago, and it has been rock solid. There may be a better way to implement it in todays world, but I have not found it yet.
Last edit: 1 year 5 months ago by
aa6vh.
Please Log in or Create an account to join the conversation.