Tasker native support for MQTT

2,097 views
Skip to first unread message

Ace Chandler

unread,
Sep 19, 2013, 4:55:11 PM9/19/13
to tas...@googlegroups.com
I'd been using HTTP to post and get from tasker.

It appears that MQTT is the new way this should be done and as its more optimized for mobile platforms and lightweight.

Does anyone know if tasker has native support for this - or should I use SL4A if I want to get MQTT messages from profiles?

-Ace

Pent

unread,
Sep 20, 2013, 3:08:06 AM9/20/13
to tas...@googlegroups.com
It's more something for the OS to implement (which it hasn't).

Pent

Ace Chandler

unread,
Sep 20, 2013, 6:52:08 AM9/20/13
to tas...@googlegroups.com
OK - noted that its easy if you have an OS hook to expose, I didn't know if you were going to package one of the libraries to provide this functionality. 

I guess not, so I'll have to write my own app and expose the intent, or use SL4A and script it. 

Thanks for the response. 

-ace

Pent

unread,
Sep 20, 2013, 7:23:49 AM9/20/13
to tas...@googlegroups.com


I guess not, so I'll have to write my own app and expose the intent,

If you're going to do that, may as well just implement the plugin protocol:

http://tasker.dinglisch.net/plugins.html

So people will actually be able to use it with some degree of ease.

Pent

Daniel Toussaint

unread,
Jul 5, 2014, 1:58:21 AM7/5/14
to tas...@googlegroups.com

It's the first release so it might still be buggy, however it's usable for anonymous MQTT publishing straight from Tasker.

Hovis

unread,
Aug 4, 2014, 1:48:49 AM8/4/14
to tas...@googlegroups.com

Hovis

unread,
Aug 17, 2014, 3:56:59 PM8/17/14
to tas...@googlegroups.com
I've been trying to get the MqttSender plugin to work, but I can't figure out how to send variables (e.g. %LOC).  Is this working for anyone else?  Having an MQTT client that can only send static strings is kind of like having a car that only turns left.

Aitor Iturrioz Rodríguez

unread,
Sep 28, 2014, 8:42:50 AM9/28/14
to tas...@googlegroups.com
Hi guys!

I have developed (well, develop perhaps is not the best word, in fact I have copy&paste the code from different open source tasker actions plugins) a new Mqtt plugin called Mqtter. It should support username and password authentication, and you can add tasker's variables to the topic and payload field. I have not published the plugin to Play Store, but you can try it from the following link:


In a couple of days I will publish the source code of the plugin in GitHub and I will see what need's to be done so that you can download the plugin from Play Store.

Let me know if you try it and if you have any error or problem (I'm sure that that will happen :D )

Best regards,

Aitor

Jonathan Ulmer

unread,
Dec 31, 2014, 9:05:41 PM12/31/14
to tas...@googlegroups.com
Aitor,

Your Mqtter plugin works great for sending mqtt messages from tasker, but I don't see any way to subscribe/receive messages. Is that something you plan on supporting by any chance? I think it is great that you have open sourced your plugin on github.

-Jonathan
Reply all
Reply to author
Forward
0 new messages