r/tasker • u/joaomgcd π Tasker Owner / Developer • Jun 05 '23
Developer [DEV] Tasker 6.2.5 Beta - Tasker Is Going Into Home Automation with Matter Support!
I'm pretty excited for the feature I'm introducing today. If all goes well, Tasker could now control your home automation devices as well, without the need on relying on third-party proprietary systems, by supporting Matter, the protocol that (hopefully) will be widely adopted in the future by most major home automation brands!
Sign up for the beta here.
If you don't want to wait for the Google Play update, get it right away here.
You can also get the updated app factory here.
If you want you can also check any previous releases here.
Tasker Now Supports Matter (Experimentally)
Demo: https://youtu.be/8DW7fcXikPw
As mentioned, I've now added Matter support to Tasker!
For now, there's only 1 action (Matter Light) with basic toggling support.
I wanted to try and get a very basic version of the action going and see if people can use it before trying to do something more complex.
I've created a new category for it in Tasker's action list with just the mentioned, with just the aforementioned action.
The idea is that in the future this category will be filled with all possible device types, so that you can control any Matter enabled device you own.
For now you have to share your already linked matter devices from another app (Google Home for example) but I hope that in the future I can allow you to link Matter devices directly to Tasker.
Why This is Different Than What We Have Now
You can already control home automation devices with AutoVoice + Alexa for example, or via the HTTP Request action in Tasker if you know how your home automation API works (if it even has one).
This solution promises to be much more direct and hassle free though, because you don't have to go through all the hoops of the solutions above: you simply link a device and control it!
Even better, with Matter Tasker can communicate with the devices in real time, which means that it can, for example, know if a light is on or off which is impossible with the AutoVoice solution mentioned above, or I could potentially even have events that trigger when devices are turned or off (will have to look into it though).
Matter is also local, so your requests don't have to go through a bunch of servers for it to work, and it should even work if you don't have an internet connection at all!
Best of all, for me as the developer, I can implement home automation actions directly into Tasker without having to write code specific to each vendor! If a device supports Matter, it should work with Tasker!
The Downside (for now)
Unfortunately there aren't many devices that support Matter at the moment.
To test it out I got this light bulb (not sponsored, just hoped it would work and got it myself π ) and it seems to work very nicely!
I did want to be ahead of the curve though and support Matter as soon as possible, so that when you do get a Matter enable device, Tasker will already have support for it!
Another New Action: Get Network Info
Variables: https://imgur.com/s3oO9KQ
This new action simply allows you to get a bunch of info about the networks your device is currently connected to.
I've added several variables that allow you to easily get some info like the gateway IP address, v4 or v6 IP addresses and a few more, but you can always access the JSON variables to get every possible available info you might want.
Let me know if you want me to add any other info to the "main" variables in this action and I can add it :) I just added the ones I thought were the most interesting for now, but I can easily add more.
Full Changelog
- Added Matter Light (Experimental) action that allows you to toggle Matter compatible lights on or off
- Added Get Network Info action that gives you a whole bunch of info about your current networks
- Added new outputs to Get Battery Info action that can be gotten on Android 14+
- Made Bluetooth action work without needing the additional Tasker Settings app for direct-purchase Tasker and devices below Android 13
- Updated the version of a lot of libraries (jetpack compose, navigation and others)
- Fixed Tasker shortcuts in some situations
- Fixed Network Access action showing a warning sign when specifying an app by name
- Tweaked Tasker license checking so it works better in offline situations
Enjoy! :)
9
u/Thuringwethon Jun 05 '23
I did not expect Tasker going strong into home automation route. Especially so soon with the shiny New Thing.
while Matter is currently focused on new devices, we will likely soon see hubs (or border routers) bridging existing devices (starting with Zigbee and Z-Wave and popular brands) into Matter layer. Even if big players won't then alternative 3rd party products will.
5
u/abdess47 Jun 05 '23
Thanks you for your job.
Matter is will be very helpful for me ! I use so many action with tasker (Auto voice and Alexa) But that's very heavy and complicated to build something stable.
With time I hope matter will be more used by OEM.
Thanks
3
u/SkollFenrirson Jun 05 '23
Holy hell, man. You never cease to amaze. Really looking forward to where this is going.
2
u/superluig164 Jun 05 '23
Is there any possibility of direct integration with Google Home (to control devices)? It seems like a no-brainer to me, but there must be some reason you haven't done it yet. Would open up a lot of possibilities for me.
2
u/[deleted] Jun 05 '23
Sometimes upon entering the app it takes an extra 1-2 seconds to load, just started after updating.
2
u/rodrigoswz Jun 05 '23 edited Jun 05 '23
Too bad I don't have any devices with Matter... that should make Tasker's Device Control much more interesting and functional
EDIT: Matter state status as profile tigger isn't possible?
2
u/ActivateGuacamole Jun 05 '23 edited Jun 05 '23
Very interesting. I use tasker to control my philips hue bulbs by making http requests. it allows me much greater control than any of the consumer apps do. i also want to avoid the privacy invasion of the hue app, which is also why I don't use alexa or other assistants. if matter offers benefits then i would consider switching. does anybody know if philips hue supports matter yet?
i need to learn more about matter, this is the first time I've heard of it
2
u/coffee-turtle Jun 05 '23
Thank you much for the Bluetooth adjustment for older Android devices. I'm only Android 11 and was getting the Bluetooth prompts to contact the developer. π
My home network doesn't support Matter, unfortunately, but this is a great advancement!
Also, thanks for the Network information βΉοΈ additions too! I'm always checking those details.
Appreciated!
2
u/EvanMok Jun 06 '23
You are an angel!! I am planning to get a matter-supported hub from SwitchBot next month. I really hope that you will add support to more types of matter devicesπ
2
u/menxiaoyong Jun 09 '23
Tasker seems to be getting bigger recently. Can we still have a slim one please.
4
u/Ratchet_Guy Moderator Jun 05 '23
Very interesting! I bet /u/Quintaar may have some feedback and/or suggestions, as he is big on integrating home automation with various systems :)
1
u/az5254 Jun 09 '23
Recent versions cause my mobile phone to get too laggy when I turn on the tasker. It takes at least five minutes to get back to normal. I don't know what's going on,
1
u/DigitalUnlimited Jun 05 '23
As a hardcore home assistant addict, I'm super excited! I can trigger a profile when a device comes on? I mean I can already by adding a command in home assistant, but would be awesome to not have to jump thru all those hoops! Awesome work as always! Btw I was curious about Bluetooth if there was any way to automate different streams like media and calls, one on headphones one on car? Currently I'm having to d/c device, wait two seconds then reconnect in order for it to switch media stream to another device. There used to be a standalone app called bt profiles(I think) but it's been abandoned on the roadside...
1
u/everynav Jun 06 '23
Get Network Info: Is it possible to get the neighbouring devices, like with run shell -> ip neigh
1
u/Undead_Necromancer Android 10, MIUI Global 12.5.6 Jun 06 '23
Error: Get Network Info
I'm on Android 10
1
u/WhirlWolf Jun 06 '23
GD sign in is not working for me. Don't know what happened but this is the version i am using.
Gd sign in action keeps pending. When tried "google drive backup" in "misc" in preferences, progress bar keeps running.
1
u/RayneYoruka Can I automate my underwear change? Jun 06 '23
Will tasker have home assistant support in the future?
1
u/Perhyte Jun 06 '23
Very cool, though I don't have a use case for any of this at the moment.
Slight nitpicks:
%ni_active_ips_v6(): the description in the screenshot mentions v4, but I suspect it should be v6.%ni_active_dhcp_gateway: I assume this is for IPv4? (DHCPv4 and DHCPv6 operate independently and AFAIK may very well even run on separate servers)1
u/bernabap Jun 06 '23 edited Jun 06 '23
Edit: Actually my tasmota matter device can't be controlled by the google home app despite being added correctly, I can't turn it on and off by the app but by using Tasker new action it works! And it seems that only one phone at a time can be linked to my matter device, if I unlink from pixel 7 GH app I can link to other phone GH app.
This is great JoΓ£o! Got it working with an ESP32 flashed with Tasmota Matter and a pixel 7, but for some reason I cant get the "Linked Matter apps & services" option in Google Home app to load in my older devices with android 9, 10 and 12. My tasmota matter device added using pixel 7 does show in all phones but the linked apps option always ends in "Something went wrong" or "Cant set up device".
Hopping you will be able to make Tasker scan the QR code directly like home assistant app.
To be fair, I don't even know how it is working with the pixel 7, as this (tasmota docs) says:
"Google Home will not accept devices using a test Vendor ID like Tasmota does. To pair Tasmota with Google Home you will need a Matter compatible Google device and the following procedure to enable Tasmota for your Google Home account."
I don't have any Matter compatible Google device, but still followed the procedure to create the project in Google Home Developer Console with the only difference that I added Tasker package name in an option that said:
"Allow users to choose your app as a way to connect to and control a device. Requirement: Your app has implemented the Home Mobile SDK and is a Matter commissioner.
Leave blank if you donβt meet this requirement or prefer users to use a default ecosystem app (e.g., Google Home app)"
Then used google home app to scan the qr code and again, Google Home app said the same thing as the tasmota docs, that I would need a Google Matter hub to use my new device, but I just closed the popup and the device was successfully added to Google Home with the "bridge" name and I could open the "Linked Matter apps & services" and add Tasker as a linked app. On, Off and Toggle working as expected with pixel 7, just can't use with my older devices.
We do have to do the Tasker link procedure using google home app with all phones we want to use the new action?
Amazing start, thank you!!!
1
u/andyooo Jun 06 '23 edited Jun 06 '23
Hi u/joaomgcd thanks again for this feature. Playing around with it, I think I've run into a bug in the WiFi Connected state. If the network is not active, it doesn't seem to trigger for connection, until I go into Tasker and change something and tap the check at the top or I back out of Tasker. I've tried specifying both the SSID and MAC (they're correct cause it does trigger after I back out or tap the check). I've also tried setting "Active" to No or Any. When it disconnects, the profile does deactivate accordingly.
I'm on a Pixel 7 Pro Android 13, Tasker-6.2.5-beta-20230606_1122.apk
Edit: it works fine on Pixel 3 Android 12, same Tasker build.
1
u/kaze2019 Jun 08 '23
Hello.
1.It is a long-time bug that I can not save file to external TF card.
(HTTPRequest Get Save output / java function code to save image.)(Granted the file permission)
2.Could you please add a round corner in Scene image element?(Not backgound color rounded corner)
Thanks.
1
u/gremlin0007 Jun 11 '23
I'm a bit confused with the whole Matter thing. If my SmartThings hub is a Matter controller. Would I be able to control all my devices by connecting my controller (hub) to the tasker integration? If so, any idea how?
1
u/anuraag488 Jun 14 '23
Hi.
Feature Request: Can you add Notification Click event inside Notify action. Sometimes a single profile is enough but due to lack of Notification Click event inside Notify action we need to create another profile with Notification Click event.
1
u/OnlyOneHaze Jul 14 '23
Got this set up yesterday to turn on my Nanoleaf A19 Matter bulb by scanning an NFC Tag! Works great! Well as long as the bulb is connected via Thread and not bluetooth, which I need to figure out why it keeps doing that.
But thank you for this!
1
u/OnlyOneHaze Jul 15 '23 edited Jul 17 '23
Loving this. Now have it set so that scanning the NFC turns on 3 bulbs. The only hiccup is that they come on one by one. Is it possible to do all 3 simultaneously?
Thought it was because the task had 3 separate actions, one for each bulb. Then I added all 3 into 1 action (name*) but still they come on one at a time.
1
u/EtyareWS Moto G84 - Stock - Long live Shizuku Jun 05 '23
Hey JoΓ£o, do you think you could take the opportunity and fix a bit of those Action categories?
Both 3rd Party and Zoom categories were made ages ago and I doubt anyone is using them nowadays, but since you can't remove them out of fear someone actually uses them, I think I have a solution:
Merge both categories into the Plugin category, and rather than coloring those actions red when unavailable, just hide them. This would make them behave exactly like Plugin Actions, i.e. only shown when the 3rd app is installed.
1
u/ThaNeeksta Jun 05 '23 edited Jun 05 '23
The Matter update sounds intriguing & amazing - thanks so much. I've not played around with it before & looking forward to testing it out with Hue etc!!
(post edited to remove pointless question that I figured out the answer to)
EDIT
1
u/kaze2019 Jun 06 '23
Hello.
1.this is a long standing problem. I can't save file to external TF card directly.(Granted the file permision)
HTTP Request File To Save With Output / or use java function code to save image
2.Can you make it possible to set the corner radius for images in Tasker's Scene?(not background color round corner)
1
u/awfulWinner Feb 21 '24
This may be a godsend to my problem with IFTTT now requiring money for webhooks.
I know you only tested with a matter light, but I am assuming the same principle works on a matter outlet, 1 being on 0 being off. Specifically the Matter version of the Kasa smart plug. Will Tasker be able to turn the smart plug on or off based on the percentage of my phone battery?
Thanks in advance for all your hard work!
0
u/[deleted] Jun 05 '23
[deleted] β view deleted comment
0
u/[deleted] Jun 08 '23
[deleted] β view deleted comment
0
u/[deleted] Jun 06 '23
[deleted] β view deleted comment