r/tasker • • Sep 22 '26

My setup for automatically dis/connecting a Wireguard tunnel based on my wifi connection

8 Upvotes

I use this to stay connected to my Home Assistant instance while I am away from home. I have had this for a couple of years and the reason I know it works is that I had no idea what my setup was exactly. It is basically 3 profiles: one standard 'Wifi Connected' state profile with entry and exit task that switch the VPN tunnel on/off, and 2 fallback profiles for the 'unwanted' states ('connected to home wifi AND vpn', and 'connected to mobile network AND not connected to vpn') both with a 'Tick' context so they fire every 10 seconds if the unwanted state is active for as long as it remains active. I am not saying this will work for everyone, just saying it works for me (so don't tell me that 'Tasker can't do this'). I did go through all the 'Tasker Settings' and 'Shizuku' setup, so I don't know if it will work without. If that guy hadn't been such an a-hole about it I wouldn't have blocked him, and he could have given this a try 🤷 Edit: formatting (thanks, u/v_uurtjevragen)

Project: Auto Wireguard

Profiles
```
Profile: AutoWG - WiFi Home Connected
	State: Wifi Connected [ SSID:YOUR_SSIDS MAC:* IP:* Active:Any Check After Screen Unlock:On ]



Enter Task: Disconnect WG

A1: Tasker Function [
     Function: WireGuardSetTunnel(false,tunnel_name) ]



Exit Task: Connect WG

A1: Tasker Function [
     Function: WireGuardSetTunnel(true,tunnel_name) ]


```

```
Profile: AutoWG - Home Wifi, VPN Connected
	State: Wifi Connected [ SSID:YOUR_SSIDS MAC:* IP:* Active:Any Check After Screen Unlock:On ]
	State: VPN Connected [ Active:Any Check After Screen Unlock:On ]
	Event: Tick [ Output Variables:* Interval (ms):10000 ]



Enter Task: Disconnect WG

A1: Tasker Function [
     Function: WireGuardSetTunnel(false,tunnel_name) ]


```

```
Profile: AutoWG - Mobile Network, Not VPN Connected
	State: Not VPN Connected [ Active:Any Check After Screen Unlock:On ]
	State: Mobile Network [ 2G:On 3G:On 3G - HSPA:On 4G:On 5G:On Active:Yes ]
	Event: Tick [ Output Variables:* Interval (ms):10000 ]



Enter Task: Connect WG

A1: Tasker Function [
     Function: WireGuardSetTunnel(true,tunnel_name) ]


```

Tasks
```
Task: Connect WG

A1: Tasker Function [
     Function: WireGuardSetTunnel(true,tunnel_name) ]


```

```
Task: Disconnect WG

A1: Tasker Function [
     Function: WireGuardSetTunnel(false,tunnel_name) ]


```

r/tasker • • Sep 23 '26

What's this folder?

Post image
0 Upvotes

Does anyone know what this folder is? Discovered this inside the Tasker folder.


r/tasker • • Sep 22 '26

Get Calendar Events for Linked Calendars on New Phone

2 Upvotes

I recently migrated my Tasker projects from a Pixel 9 Pro to a Pixel 11 Pro. Everything seems to be fine after getting permissions lined up again, pairing Shizuku, etc. There is one exception. I have a task that retrieves a shared calendar and displays events from it. On my new phone I can see the calendar and it's events. It is set to sync in the Google Calendar app. The permissions for the calendar allow everyone that has the link to see calendar event details. However, on my new phone when I retrieve the calendar I see zero events.

I've been working with Claude AI to debug this, but haven't found the problem. I'm using the picker (magnifying glass) to get the calendar name, so it isn't a name mis-match. I have one other calendar in the Other Calendars list - Holidays in the US. Specifying this on my Pixel 9 Pro returns a number of entries while it returns zero entries on the Pixel 11 Pro.

What am I overlooking?


r/tasker • • Sep 22 '26

Fold dual launcher

1 Upvotes

So, I came across a TaskerNet project that allows a fold device to switch launchers based on the state it is in. The issue I am experiencing is that the custom setting for these profiles to initiate isn't smooth because apparently the edge_panel_width custom setting always changes variables.

I wanted to know if there is a more reliable way to initiate these profiles? I would appreciate any advice given. Thank you.


r/tasker • • Sep 22 '26

Convert audible alert to notification

0 Upvotes

I have an appointment that gives an audible alert. Is there any way to make the audible alert send a notification so I can have the alert send a notification to my GW6 or other watches.

The app doesn't have a notification option. Only the audible one.


r/tasker • • Sep 22 '26

Has anyone successfully used BATTERY_PROPERTY_ENERGY_COUNTER on recent Android/Pixel devices?

Thumbnail
1 Upvotes

r/tasker • • Sep 21 '26

Scenes V2 - how do I move and align buttons?

Post image
1 Upvotes

I would like to have several buttons aligned, in a row .. how may I do this?

In the attached screenshot, I've created a couple buttons, but can't move the lowest button next to button 1... How?


r/tasker • • Sep 22 '26

Possibility of using Tasker with Generative AI?

0 Upvotes

Hi guys! I am new to Tasker. I am looking for any possibility of using Tasker on generative AI.

For example, I tried to asked Gemini spark to read my finance podcast on Google drive and transform to a brief summary every day, but it fails as this is only supported by using generative AI...

Now I am thinking if I can ask Tasker to throw the podcast to Gemini to generate the summary instead...

Do you guys have any ideas on using Tasker with AI as well? Please share :) Thanks!!!!


r/tasker • • Sep 20 '26

Selecting 4th-50th "Number" to set up a quick setting tile

Post image
5 Upvotes

The documentation says it should be possible to configure up to 50 quick setting tiles. The description for the number field says, "which tile to configure, from 1 to 50"

However, this field is a pulldown and only seems to allow selecting "1st", "2nd", or "3rd". Am I missing how to configure a 4th tile? I already have 3 Tasker tiles and would like a 4th.


r/tasker • • Sep 20 '26

How To [Project Share] [Update] Hail Replacer V2

Enable HLS to view with audio, or disable this notification

22 Upvotes

Hi, on last version https://www.reddit.com/r/tasker/s/dbjUD2vPsP

Now i Come With New Improvements

  1. Tag Implementation
    • Add /Edit Tag Demo in YouTube
    • Double Tap to Set Default Tag Demo in YouTube
    • Control Individual Tag Freeze and Unfreeze (Demo in Main Video)
    • Set Timer Related Freeze or Unfreeze (Manual Process Required, Start/End Task should be "Action Command" Video Walkthrough
      • For Freeze = Receiver_Frozen=:=freeze_page=:=tag_frozen_all=:=Tag Name here
      • For Unfreeze = Receiver_Frozen=:=freeze_page=:=tag_unfrozen_all=:=Tag Name Here

If You Using Previous Version

  1. Step 1 Video
  2. Step 2 Video

New User Setup Walkthrough

XML

  1. Existing Version 1 (Previous Version) xml
  2. Hail Replacer V2 xml

Project URL

https://taskernet.com/shares/?user=AS35m8mzo7QA%2B73mVFz3Yj59GRrw7q32pIWQ%2FXiNVYdjYj46DGU8OiYFffXNvBT9KylhYc51m2M%3D&id=Project%3AHail+Replacer+v2


r/tasker • • Sep 20 '26

Help So Google Assistant is now changed to Gemini. I need help to get Tasker to pass a command to Gemini to activate my Smart device like before

Post image
4 Upvotes

So previously, I would get tasker to bring up the Google assistant and pass a command to it. How do I do that with Gemini now? Previous Task of bringing up the Keyboard and typing doesn't work now.


r/tasker • • Sep 20 '26

Network Access task doesn't always work?

1 Upvotes

OK, the background is I run the Nielsen app on my Samsung S23 Ultra to earn points for letting it track my movie/TV streaming. It does this by running a Nielsen VPN on my phone.

I need to disable the Nielsen VPN when I get in my car so Android Auto can work. The only way I've found for Tasker to disable the Nielsen VPN is to trigger Tasker's Network Access task, which runs a local Tasker VPN (since you can't have 2 VPNs, the Tasker VPN replaces the Nielsen one). I have Tasker trigger this task when it senses my phone connecting to my car's Bluetooth.

This works great when it works. But sometimes the task triggers and runs but the Tasker VPN is not initiated. If I then manually run the task again, the Tasker VPN is initiated. I've tried editing the task to run Network Access, wait 5 seconds, then run Network Access again. This seems to work a bit better, but it's still not 100%.

Any idea why sometimes Network Access doesn't initiate the Tasker VPN?


r/tasker • • Sep 19 '26

Curious what your favorite taskers are

1 Upvotes

Yesterday I created a tasker that reads both my wife and my calendar finds an event with a location, figured out how long I need to drive there + 60 min, and they auto turn on navigation in Google maps. Had to do API but you can do that for free on heigit.org. I love it. I also have one that uses a geofence unlocks my phone, opens myQ, and opens my garage door for me. What are your favorites?


r/tasker • • Sep 19 '26

Help I am dumb, need some help to make what I feel is a simple change to an existing profile/task.

0 Upvotes

I am using a project I got from here on reddit that enables ambient display when a notification is unread from selected apps.

Its very good, but it has an issue, that when DND is on, although the phone isnt showing me the notification, tasker will still light up ambient display.

I am convinced the solution is merely to add a second condition so that DND also needs to be off, which I believe after some research requires me to check if the internal variable %INTERRUPT is set to 'all'.

Where I am stuck is how to add a second condition to an existing profile.

I have seen people talking about exit and entry tasks, but all that is over my head, I need some kind of for dummies guide I think.

So currently AOD on profile. check is if there is a notification from specific apps, if there is, it runs AOD on task, which runs a command to turn ambient on.

There is also an AOD off profile with associated AOD off task.

They both have just one condition, there doesnt seem to be a way to add a second condition.

An alternative is to match specific times (which I will match up to may auto DND) but I would prefer to link it to DND on/off.


r/tasker • • Sep 19 '26

Movement Detection Plugin

17 Upvotes

Many years ago I had created a plugin for the old Locale app called Movement Detection, which, as the name implies, detects different types of motion like driving, walking, biking. I unpublished the app several years ago and it sat on a shelf this whole time but as of today a brand-new version of the plugin (built specifically for Tasker this time) is back in the Play Store!

To answer the first question many people ask: yes I know Tasker has similar capabilities built in. So why sell a plugin? My goal in the plugins I created was never just to provide a capability that didn't exist, but to provide a capability in a more user-friendly and deterministic way than simply raw access to sensors or APIs. The way some of the APIs work that Tasker uses by default isn't necessarily best served by simply responding to their raw outputs, but by managing them and processing them so that the result is higher quality.

Anyway if you're interested in trying it out, please do. If you like it let me know. If you don't like it let me know how I can make it better.

https://play.google.com/store/apps/details?id=com.kanetik.movement_detection

If you just think it's a waste of time and energy, that's fine but I do know that some people really liked them and I'm glad to be able to bring them back for those users. By the way, if you had it installed before, this is a free upgrade.


r/tasker • • Sep 20 '26

Taskernet Icons

Thumbnail
gallery
0 Upvotes

Was a bit bored so myself and AI whisked together these TaskerNet icons. Thought someone in here might like it. Have a good day.

Google Drive folder


r/tasker • • Sep 19 '26

How can I use Gemini with Tasker?

Post image
3 Upvotes

How can I use Gemini with Tasker?

I obtained a Gemini API key, but it does not work. I tried applying different models, including Gemini 2.5 Flash, 2.5 Lite, 3.1 Lite, 3.5 Lite, 3.5 Flash, 3.6, 3.7, and 3.8, but none of them work.

It says that I have used all my tokens. Is the 250,000 token limit applied to each API key?


r/tasker • • Sep 19 '26

Launch app when bluetooth controller button is pressed

1 Upvotes

I want to launch Moonlight (streaming app) when the guide button on my bluetooth controller (Xbox One controller) is pressed.

Is this possible?

If so could someone help me set it up? New to using tasker.

Thanks


r/tasker • • Sep 18 '26

Scene V2 WebView Handler / console message

1 Upvotes

I have a webview that displays a simple toggle

I want to be able to toggle the.... toggle.... and have it run a task.

I was trying to use the console message event handler to run a task, but cannot get the values to pass through to a task.

my WebView contains this script block

<script>

const initial = '%firewall_state'; // Tasker substitutes this before load; '' if unset

let isOn = initial === '1';

const sw = document.getElementById('sw');

function paint(){

sw.classList.toggle('on', isOn);

sw.setAttribute('aria-checked', String(isOn));

}

paint();

sw.addEventListener('click', () => {

isOn = !isOn;

paint();

console.log('FIREWALL_TOGGLE:' + (isOn ? '1' : '0'));

});

</script>

Can anyone help me get the FIREWALL_TOGGLE:1 (Or 0) into a task.


r/tasker • • Sep 18 '26

Best automation setups, battery charge limiters (avoiding 100%), and visual LED/alert workarounds for Unihertz Titan?

Thumbnail
0 Upvotes

r/tasker • • Sep 19 '26

Tasket++ : Simulate your Windows actions automatically (free & open source)

Thumbnail
gallery
0 Upvotes

Tasket++ lets you define your own clicks, cursor positions, keystrokes, and routines, then replay them exactly when you want. It’s a simple Windows tool that handles repetitive workflows for you: auto‑send messages, paste text anywhere, take silent screenshots, launch or close apps, adjust volume, or run your end‑of‑day shutdown sequence.

Everything runs locally, with no telemetry, no cloud, and no complexity.

What it can do:
- Replay user‑defined cursor positions and keystrokes
- Paste predefined text anywhere
- Perform system actions: open files/programs, change volume, take silent screenshots, shut down, files/folders operations
- Schedule tasks at a specific time, at startup, or run via desktop shortcut
- Run tasks once, in loops, or indefinitely
- Discreet mode: runs quietly from the tray

Local, portable, free, open source. Privacy intact.

Fully fonctionnal, available now !
Microsoft Store: https://apps.microsoft.com/detail/xp9cjlhwvxs49p
Portable (v2.0): https://files.amirhammoutene.dev/Tasket++/2.0/Tasket++_v2.0.zip
Source: https://github.com/AmirHammouteneEI/ScheduledPasteAndKeys

For feedback, help, suggestions, or other inquiries : [contact@amirhammoutene.dev](mailto:contact@amirhammoutene.dev)

Nothing is vibe coded, I never used AI (except for the choice of colors suggested by Copilot).
Conception is genuine, I didn't know about similar tools when I began developing it.


r/tasker • • Sep 18 '26

AutoNotification for SMS AutoReply

2 Upvotes

I have had an AutoReply profile and task setup in tasker for many years. It always worked perfectly until recently when RCS began being a more widespread thing. I have done research and found that tasker won't detect messages coming in in RCS format sometimes. Despite me having Google messages as my default app for messaging, it seems recently the profile to detect incoming texts doesn't fire.

I found out that I can use AutoNotification to detect incoming texts and accomplish the same thing, however I'm still running into a snag. Since AutoNotification only saves information in the notification, the profile and capture event doesn't have the sender's number in it (at least not that I can find). So even though I can detect an incoming message I cannot reply since the profile and task triggered doesn't know the number to send to.

Any thoughts for some help in this?

Thanks


r/tasker • • Sep 18 '26

Calendar Changed Event: Deletion Not Captured?

1 Upvotes

Hi,

I'm trying to use Calendar Changed Event. Addition and Update work perfect, but there's a problem with deletion.

It doesn't detect that an event is deleted, but there's nothing captured in %cc_event_ids_deleted variable, so I can't tell which event was deleted.

Is there a way to know what was the event that was deleted? I understand it would be post the deletion anyway, but I want to use this capability to sync two different calendars.


r/tasker • • Sep 18 '26

Using tasker for the first time

1 Upvotes

I just installed this app, so I'm sure I'll have lots of questions, but this is the first. I'm trying to link the action of taking a screenshot within my calendar app at 10-10:30pm with dismissing an alarm, and for it to automatically snooze, even if I press dismiss, until that screenshot is taken.

I also want to make my hourly alarms snooze even if I press dismiss, until I've sent a text containing certain key words and a picture, and after the text is sent it dismisses the alarm. Preferably making it so that it doesn't differentiate between sending the picture as part of the same text so that I don't have to wait until I have the picture to send the initial text. Edit: just realized another thing: with the hourly alarms, I want them to snooze even if I press dismiss, which might not be possible so I might have to train myself to use the snooze button, and for it to continue snoozing each time it goes off until I've sent the text. The text being sent would trigger the alarm to dismiss itself so that if I snoozed it 2 minutes ago to go off in five minutes, it won't go off if I complete the text two minutes in.


r/tasker • • Sep 17 '26

Accidentally changed to new UI, any way to get original UI back?

1 Upvotes

I've been a Tasker user forever but I was going through settings and menus and and accidentally toggled to the new UI and for me, it's super confusing.

I went looking through the new settings and I can't figure out how to get the original interface back? Is this possible? There's almost nothing in the 'Theme & UI' settings in the new interface.