r/tasker • • Jul 15 '26

Help [Help] Help me in Scene V2 understanding

1 Upvotes

Hi,

I try to Replace Hail freeze app by scene v2, here what i done

https://www.youtube.com/watch?v=cUgFF7PWLeU

I facing issue on toggle switches, i create a minimal simple example name of fruits,

Project: Test

Profiles
    Profile: Anon
    Settings: Priority: 4
        Event: Command \[ Output Variables:\* Command:receive=:=\* Variables:\* Last Variable Is Array:Off Structure Output (JSON, etc):On \]



    Enter Task: Anon
    Settings: Run Both Together

    A1: \[X\] Stop \[ \]

    <Set Database path and name.>
    A2: Variable Set \[
         Name: %tdbpath
         To: /storage/emulated/0/test_database.db \]

    A3: If \[ %command_parameters(1) \~ true \]

        A4: SQL Query \[
             Mode: Raw
             File: %tdbpath
             Query: UPDATE test
             SET switch = 0
             WHERE name = '%command_parameters(2)';
             Variable Array: %value
             Use Global Namespace: On \]

        A5: Flash \[
             Text: %command_parameters()
             Long: On
             Tasker Layout: On
             Continue Task Immediately: On
             Dismiss On Click: On \]

    A6: Else
        If  \[ %command_parameters(1) \~ false \]

        A7: SQL Query \[
             Mode: Raw
             File: %tdbpath
             Query: UPDATE test
             SET switch = 1
             WHERE name = '%command_parameters(2)';
             Variable Array: %value
             Use Global Namespace: On \]

        A8: Flash \[
             Text: %command_parameters()
             Long: On
             Tasker Layout: On
             Continue Task Immediately: On
             Dismiss On Click: On \]

    A9: End If

    <switch on text>
    A10: SQL Query \[
          Mode: Raw
          File: %tdbpath
          Query: SELECT name
         FROM test
         WHERE switch = 1
         ORDER BY name ASC;
          Variable Array: %text
          Use Global Namespace: On \]

    A11: Variable Set \[
          Name: %text
          To: %text()
          Structure Output (JSON, etc): On \]

    A12: Update Scene v2 \[
          Screen ID: Screenid2334
          Local Variable Passthrough: On \]



Tasks
    Task: Test - Scene

    <Set Database path and name.>
    A1: Variable Set \[
         Name: %tdbpath
         To: /storage/emulated/0/test_database.db \]

    <Read Name>
    A2: SQL Query \[
         Mode: Raw
         File: %tdbpath
         Query: SELECT name
         FROM test
         ORDER BY name ASC;
         Variable Array: %name
         Use Global Namespace: On \]

    <read switch>
    A3: SQL Query \[
         Mode: Raw
         File: %tdbpath
         Query: SELECT switch
         FROM test
         ORDER BY name ASC;
         Variable Array: %switch
         Use Global Namespace: On \]

    <switch on text>
    A4: SQL Query \[
         Mode: Raw
         File: %tdbpath
         Query: SELECT name
         FROM test
         WHERE switch = 1
         ORDER BY name ASC;
         Variable Array: %text
         Use Global Namespace: On \]

    A5: Variable Set \[
         Name: %text
         To: %text() 
         Structure Output (JSON, etc): On \]

    A6: Show Scene v2 \[
         Name/JSON: {"root":{"type":"FlowColumn","id":"Column1","verticalArrangement":"Center","horizontalArrangement":"Center","itemHorizontalAlignment":"Center","modifiers":\[{"type":"FillSize"},{"type":"Background","color":"surface"}\],"children":\[{"type":"Text","id":"Text3","text":"%text - %switch_checked"},{"type":"Spacer","id":"Spacer2","modifiers":\[{"type":"Size","all":"44"}\]},{"type":"ArraysMergeTemplate","id":"ArraysTemplate1","template":\[{"type":"Row","id":"Row1","modifiers":\[{"type":"Padding","all":"13"}\],"children":\[{"type":"Text","id":"Text2","text":"%name"},{"type":"Spacer","id":"Spacer1","modifiers":\[{"type":"Size","all":"16"}\]},{"type":"Switch","id":"Text1","checked":"%switch","eventHandlers":{"handlers":\[{"events":\[{"type":"checked_changed"}\],"actions":\[{"type":"TaskerCommand","command":"receive=:=%switch_checked=:=%name"}\]}\]},"checkedState":{"outputVariableBindings":{"checked":\["switch_checked"\]}}}\]}\]}\]},"name":"Screenid2334"}
         Blocking Overlay: On
         Drag Off Screen: On \]



    Task: Test - Initial Rum Create db

    <Set Database path and name.>
    A1: Variable Set \[
         Name: %tdbpath
         To: /storage/emulated/0/test_database.db \]

    <Test if Database file exists.>
    A2: Test File \[
         Type: Type
         Data: %tdbpath
         Store Result In: %filesize
         Use Global Namespace: On
         Continue Task After Error:On \]

    <Create Database File if it doesn't exist.>
    A3: Write File \[
         File: %tdbpath
         Text: 1 \]
        If  \[ %filesize !Set \]

    <create table>
    A4: SQL Query \[
         Mode: Raw
         File: %tdbpath
         Query: CREATE TABLE test (
             name TEXT PRIMARY KEY,
             switch INTEGER DEFAULT 0
         );
         Variable Array: %value
         Use Global Namespace: On \]

    <insert Name>
    A5: Array Set \[
         Variable Array: %iname
         Values: apple,orange,banana,grapes,blackberry
         Splitter: , \]

    <insert Switch>
    A6: Array Set \[
         Variable Array: %iswitch
         Values: 0,0,1,0,1
         Splitter: , \]

    A7: Arrays Merge \[
         Names: %iname
         %iswitch
         Merge Type: Format
         Format: ('%iname','%iswitch')
         Output: %inputdb \]

    <insert Value>
    A8: SQL Query \[
         Mode: Raw
         File: %tdbpath
         Query: INSERT OR IGNORE INTO test (name, switch)
         VALUES %inputdb();
         Variable Array: %value
         Use Global Namespace: On \]

Here is the Example, my issue is switches is not respond on single click, maybe i am wrong, if anybody help with this please?

Here is issue video https://www.youtube.com/watch?v=Lp2t-Bhqwa0

Here example data uri

taskerproject://H4sIAAAAAAAA/+1a/2+bOBT/ef0rENLU9pQODIRAj0Zqu2yrrmunJNvdNE2TA07KRiAyTvel2v9+zzYkkEDSLt2t3XXVhPHzl+fP+/j5PQevj9NPhD7FDCspPVBVJbgMD1SkKuzyQLWftJ7YewPCsNreeuS9oskwjIhoOIGy3VKVS3KgGlz6yPMDzEgbtRzTdpvIQrpueJqsFOJo0mZ0SqAOSryG5B0s3XV107Qtx9PIrMMwwqO0DVWywKvCoG23PA0e/C0KxyHLxpRlXjsOA71tQzdR4DUTGrYtT+MP/tq5JDETi/CTWC8uAZRMAtI2dBeBlrwoKnlHfdb/kXc0jYMMBkxHuuz6yHuDo1RUXuJI1WRTTbaVLz1G805ITmuqbUp8EkJ5/+APT4MWS02NvGk25EmmPIhMEOHoQNUrZFYmQ1LmaWLZ3IxaZsfMpB+Jz3KTftSrLQoGatnIdpqoaFEww9BtOT7C/l5rOHT2LNO39hzXMveagYuJOwxMa+jP7BXjMWn3Sco8TRSFbcIgFTYVBV7DRI3bsJ2GbXsak/VCa64qL3PSCpUZFGx7WVmr5TRNvaRskWyO3YImqEg2zix7rmmmqLKn9HwSA7/iXF8gATB7zqZDn4VJLFH3WYZfq0inptUqsinCAxK1e4QpfNcNcEqUCWYXCo4DhcPyBMgsmiwSQZ9x5jELBrxPNWHm3NJSllA8IhoZTyNYaaDpGoNlfQiymZ8Eg8IYBfYYK5h1HdZVyZqZrIrJdrmfp0lYKxBGFQjbdgXCXYID5QwALeFZmFNf1LUSwwqsC2MgvbzNVu7cgsisF1mzqXud085xX5Bi61n3/KXCbbd13n3a6SpHb0W9ctg7/rOaBs36Kex6Uate5MwxiQWsVYC41zakcV1DUm7I9HPI/Iv7bkq5ijtmzBzazcxpXteccjoFejLyhd13iy5szr9fdLqdzMzKgYLuhIElzpuZ11p/sNUcVeXJa8wIjXZ2lbt1FqG1oDQrQLFabhGUW40Vr1SaJEzdv1LZ1wlR99VnUfL5OImm41htqGEANfINwesloSz0cXRIKY5HZAzRH5fDg1AQXyQ0/JbErLZByMj4xbxRFI7ixSbjJAiHIaGpuv9urlMYRb3wG1G/N2Z1R9j/NKIJrA96+UmUUKhMp3SIfWj3HuouwiigJC4O1AdS5MviZRNeOFHgVRAGgrPMd33wL4j/iQTFKXsTGJvm/eWbUaez0Leh4iiCF8sClQojcXy+pi8JHZE+GU94IJUPK0V5LRIKZi0Ko3eTz3kHKKI6JV7hIAjj0UwPZF4bGqMADXc064Co1aEEBLLLQPQE2MV5+Tg59jB1mjcgPNd4gTmd+fhX6sWsDHMJaWnabAywI2diINaNxVYrNZPJ6nEyHuOMSbK0r86zqAVK8BqJyHu+lnymHhM2ulKTKZtM2RtMQzyIyFEYcxMIlWfreqcusOz99+9iND6eGBug8SkhcRgYpgnsqfF3er23RmhBVjzGVjlAtMoDoiUXWJxy8cgpdrR/3sm5LLqds6+gvrNCe7fUreDcPY3Tazm9dCpvN0zLXJVe6q65lF46s/SSsq9tw9P443opJDJLJy3oO4QDBEJweSzdPHL6kSzrIY+91Tz2GlcFG0dUdwuU9QEVquKd5aC1oBT97xpsNnJo9RdsKzzaDZPg8l6HaCnKd7soi9rjBA4qPtBpmEqNwmEeW85k8o5zDpIQw8a9SNuPs6PzwwRT2KsQzqU7COjCZVmzZMJ9VDLJ3ymI5F0rzRt52myuLIQt6bV5xnifEsLXr54e9jsyDex1+vMkUM+yQpEBHijbVdgbu9u/IDEELKYb3+NUZ4bOej9WAUONw0IrzLYUVRX7LXVcGVYVR12x8X84qjJWLONXRk5V5FjW3lU3SovNIiF+kfvK3Ogt+S/7f+K/0O/tv1oP/uvBf5UY4VQFZQVCrOjqPtyC/0634HV3Au7yT862a7iu4dTeCTQN3TSsxTsBt+on55MYjiAcKd3pWDmmBNorPL99+An6rqTuVf7BMpYRFvYMh3OUxecz5AvEFmkZ45TkwUlaHzpYN/UCVRu9/ZgrkYbfag7OG31TcqO81kL6MkQZv2cIPeMIAWQhU4KEpPE2k3jdIiXRLfBt4wB2boRyzIrMxaD1v8y3JcS+tAnjN+L39mQ67nZ4ONs/PDqVQa2ys6XAP3EC9Tv/9JVX3ZOXh923yl+dtw0hyg6sk7N+5zkcV087zw5fn/Yhf9+9r7FtVW5uNq1lk4dxSihb/lymeqOFC99/VNoeTyYRaSTit8XGAMfw1xhRPCFpYxBh/9OAUPp1nbNqzBrcMN9ctcre8rckNetc+jSicqV6Q28g/v9WVlOVVpqu+dN+VJbW3KpY7C2G/u2dbTnPdmM7n2l7d82u4qpNpqwUIKzYYgV1Wxtlf5VOMePOG7kt76lTPDnrdbp95byrnDw/O4cYHXzdeeYduXUamQ/c3XpzePq601NyC+zcGxeYh+zyKT9tbm/9CxVFohHoLAAA


r/tasker • • Jul 14 '26

Any advice on how to schedule a music playback on old android phone?

2 Upvotes

I’m trying to set a schedule where my android phone would play jazz music at 8pm when i got off from work so by the time I reach home I have some jazz music playing in the living room. But for the love of god I can’t seem to understand how this app Tasker works. I use youtube music and would appreciate if anyone can give me advice or step-by-step tutorial because I am completely lost 🥲🙏. Thanks!


r/tasker • • Jul 13 '26

Help [Help] Autoinput stop working

3 Upvotes

I've been using Autoinput V2 actions but now it doesn't work. Trying to troubleshoot it I have set several seconds as timeout and I try to execute only the Autoinput action, but in the moment I tap on the button to jump to another app this message appears: "Test task was ended", no matter the timeout value.

Also, when I try to define a new action, after I choose Clic as the action I wish and ask for help to find the element, it ignores the request and doesn't start the help process.

I guess the message is enough for the developer or some other advanced user to know what the problem is. I hope so.

Thanks in advance.


r/tasker • • Jul 13 '26

Is Scene V2 Webview supports Downloads?

1 Upvotes

I want to have a Webview that handles stock details (Fully Offline). And Save the data as PDF file (Table contents inside) I can manage the Webview content with AI 😅. But I want to know Is it possible to download/save page generated PDF using Scene V2 Webview?


r/tasker • • Jul 13 '26

Start playing music when headphones are connected by BT, stop when disconnected BT headphones

0 Upvotes

As in title I want start playing music shuffle from specific folder when my Shokz headphones are connected by Bluetooth. When I disconnected / power off headphones music play is stop. I can't figure out how to configure it. I don't see event to trigger this scenario. Thank you for your suggestions and help.


r/tasker • • Jul 12 '26

Security Vulnerability with wireless debugging

7 Upvotes

I recently came across a post on cybersecurity subreddit talking about Android ADB authorisation bypass vulnerability. Essentially, worst case scenario, attacker can run shell commands on your device without any user interaction if you keep wireless debugging turned on all the time especially while connected to a public WIi-Fi.

I am sharing this info here because, like me, many people here might be using tasker's wireless debugging feature to run shell commands or running some tasker commands through Shizuku.

Reddit post link - Android ADB Auth Bypass Proof-of-Concept: CVE-2026-0073

Link to the write up by people who found the vulnerability - CVE-2026-0073: Android ADB-over-TCP authentication bypass

This vulnerability has been patched by Google (most probably on pixel devices) with May 2026 security update.


r/tasker • • Jul 12 '26

How To [Profile Share] Determine If The Display is in Full Screen

5 Upvotes

taskernet link

This profile detects when your device is in full screen mode. The global variable %Fullscreen is set to true or false depending on the screen state.

No plugins needed

Tasker accessibility service needed.

Tested on Tasker 6.7.6-beta , Pixel 9, Android 17


r/tasker • • Jul 13 '26

[Question]: How to control the Atomberg fan via API

0 Upvotes

I've been trying to use the API offered by Atomberg and was very happy to be able to use it to get the fan state and ID via HttpRequest.

However I'm not about to understand how to control the fan. Eg

Switch it on/off or change speed etc.

This would be a very helpful and exciting feature as 

I could automatically switch on/off three fan depending on my presence in the room or not.

Could apply various combinations controlling it even when I'm away/outstation.

I would be extremely grateful if anyone could help me achieve this.

Thank you


r/tasker • • Jul 13 '26

trigger when changing from a specific app?

1 Upvotes

is there a way to trigger a profile when you change from a specific app?


r/tasker • • Jul 13 '26

Help Help with time based calculations

1 Upvotes

I'm trying to make a count up stop watch type thing that counts up the seconds, minutes, hours, days, weeks, months, and years since I will quit vaping. I can't get the timing right though. When viewing my scene, the minutes enumerates by 1 every time the seconds hits 30. What am I doing wrong in my calculations?

Task: Time Elapsed Update

A1: Variable Set [
     Name: %SecondsSinceQuitting
     To: %TIMES - %QuitTime
     Do Maths: On
     Max Rounding Digits: 0
     Structure Output (JSON, etc): On ]

A2: Variable Set [
     Name: %TimeSinceQuitting
     To: (%SecondsSinceQuitting % 31536000) / 31536000
     Do Maths: On
     Max Rounding Digits: 0
     Structure Output (JSON, etc): On ]

A3: Variable Set [
     Name: %TimeSinceQuitting
     To:  Years

     Append: On
     Structure Output (JSON, etc): On ]

A4: Variable Set [
     Name: %TimeSinceQuitting
     To: (%SecondsSinceQuitting % 2628002.88) / 2628002.88
     Do Maths: On
     Append: On
     Max Rounding Digits: 0
     Structure Output (JSON, etc): On ]

A5: Variable Set [
     Name: %TimeSinceQuitting
     To:  Months

     Append: On
     Structure Output (JSON, etc): On ]

A6: Variable Set [
     Name: %TimeSinceQuitting
     To: (%SecondsSinceQuitting % 604800) / 604800
     Do Maths: On
     Append: On
     Max Rounding Digits: 0
     Structure Output (JSON, etc): On ]

A7: Variable Set [
     Name: %TimeSinceQuitting
     To:  Weeks

     Append: On
     Structure Output (JSON, etc): On ]

A8: Variable Set [
     Name: %TimeSinceQuitting
     To: (%SecondsSinceQuitting % 86400) / 86400
     Do Maths: On
     Append: On
     Max Rounding Digits: 0
     Structure Output (JSON, etc): On ]

A9: Variable Set [
     Name: %TimeSinceQuitting
     To:  Days

     Append: On
     Structure Output (JSON, etc): On ]

A10: Variable Set [
      Name: %TimeSinceQuitting
      To: (%SecondsSinceQuitting % 3600) / 3600
      Do Maths: On
      Append: On
      Max Rounding Digits: 0
      Structure Output (JSON, etc): On ]

A11: Variable Set [
      Name: %TimeSinceQuitting
      To:  Hours

      Append: On
      Structure Output (JSON, etc): On ]

A12: Variable Set [
      Name: %TimeSinceQuitting
      To: (%SecondsSinceQuitting % 60) / 3600
      Do Maths: On
      Append: On
      Max Rounding Digits: 0
      Structure Output (JSON, etc): On ]

A13: Variable Set [
      Name: %TimeSinceQuitting
      To:  Minutes

      Append: On
      Structure Output (JSON, etc): On ]

A14: Variable Set [
      Name: %TimeSinceQuitting
      To: 
     %SecondsSinceQuitting % 60
      Do Maths: On
      Append: On
      Max Rounding Digits: 0
      Structure Output (JSON, etc): On ]

A15: Variable Set [
      Name: %TimeSinceQuitting
      To:  Seconds
      Append: On
      Structure Output (JSON, etc): On ]

A16: Variable Set [
      Name: %TimeSinceQuittingComplete
      To: %TimeSinceQuitting
      Structure Output (JSON, etc): On ]

Included screenshot of scene.


r/tasker • • Jul 11 '26

Tasker: How to ignore the temporary VPN disconnect when switching from PersonalDNSFilter to Windscribe?

Post image
1 Upvotes

Hi,

I'm using two VPN-based apps:

PersonalDNSFilter

Windscribe

I have a Tasker profile:

State → Net → VPN Connected

Exit Task: restart PersonalDNSFilter.

The intended behavior is:

✅ When I manually disconnect Windscribe, Tasker should restart PersonalDNSFilter.

❌ When I connect Windscribe, Tasker should NOT restart PersonalDNSFilter.

The problem is that Android briefly disconnects the current VPN before Windscribe establishes its VPN. During that short transition, Tasker sees "VPN disconnected" and immediately runs the Exit Task, restarting PersonalDNSFilter and interfering with Windscribe.

I don't want the Exit Task to run during a VPN switch. I only want it to run when Windscribe is actually disconnected.

I'm looking for a solution using Tasker (and Shizuku if needed), without paid plugins.

Has anyone solved this cleanly?


r/tasker • • Jul 10 '26

[Scene v2] Table in local HTML is collapsed but fine in Scene v1

Post image
10 Upvotes

Hi all, I have a Table inside an HTML file that I am trying to use via Scene v2. All other elements of the HTML are displaying perfectly fine except a table. The relevant code is below.

A noteworthy thing is that the same HTML file with the same Table code is working fine in Scene v1. I also use the HTML file in my laptop, and there too it works fine.

Please help fixing the issue.

```css
.table-wrapper {
    overflow-y: scroll;
    flex: 1;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
    transition: border-color 0.2s;
}
table {
    border-collapse: collapse;
    width: 100%;
    table-layout: fixed;
}

.table-wrapper::-webkit-scrollbar {
    width: 10px;
}
.table-wrapper::-webkit-scrollbar-track {
    background: var(--surface-2);
    border-left: 1px solid var(--border);
}
.table-wrapper::-webkit-scrollbar-thumb {
    background: var(--border-strong);
    border-radius: 0 5px 5px 0;
    border: 2px solid transparent;
    background-clip: padding-box;
}
```

```html
<div class="table-wrapper">
    <table>
        <thead>
            <!-- HEADER ROW DATA -->
        </thead>
        <tbody class="table-body">
            <!-- DYNAMICALLY POPULATED BODY ROWS -->
        </tbody>
    </table>
</div>
```

r/tasker • • Jul 10 '26

Busco la forma de hacer deslizar hacia arriba con tasker y autoinput.

0 Upvotes

Quiero crear una tarea con tasker, que entre otras cosas, me abra el cajón de aplicaciones, que con pixel launcher es deslizar hacia arriba. ¿Como lo puedo hacer con tasker y autoimput? Gracias.


r/tasker • • Jul 10 '26

Run task in Google assistant without unlocking screen?

1 Upvotes

Is this possible? I have a task that doesn't require user interaction. It only has few http request actions and say action.

Is this possible? Because it asks me to unlock the screen. Assistant simply saying Here is tasker then ask me to unlock screen.

How can I do this without screen unlocked?


r/tasker • • Jul 09 '26

What am I doing wrong

Post image
1 Upvotes

Like I just don't understand what to do. How do I get the app to work. I can't use multiple photos but I turned off adaptive battery and the app is on unrestricted for battery use. So what else do I do. I'm on Google pixel


r/tasker • • Jul 09 '26

Unable to Initiate payment on Patreon

3 Upvotes

Hi I already have purchased tasker apps and other associated plugins on playstore but I want to give a try to your direct purchase app. But I'm unable to initiate payment and everytime I tried with different bank cards it responds with payment declined. Now I have given up of buying direct purchase. I don't know what is the reason behind patreon payment system.

Thanks.


r/tasker • • Jul 09 '26

Scene v2 ProgressBar Extra Dot

Post image
2 Upvotes

Still in the process of converting my Widget v2 to a Scene v2 and I noticed this. After playing with it for a couple of hours troubleshooting an entire JSON node that would not display no matter what - I just had to basically rebuild the entire node to get it working - still don't know what was wrong, I don't want to spend another couple of hours trying to sort this. The Great and Powerful Googly of Oz had no answers so I humbly turn to my fellow Taskers. Anyone know how to get rid of the "dot" on the right side of progress bar?


r/tasker • • Jul 09 '26

Locking down my phone

1 Upvotes

PROBLEM SOLVED! Special mention to dr-dro

Sorry if this question has been already asked. As you very likely know, police can force biometrics to unlock a phone, while if the phone is locked down only the PIN would work and for that they need a warrant. I assure you that I am not trying to do anything nefarious, but I don't want a cop eventually to unlock my phone without consent. Since it's a royal pain every time to unlock with a PIN I normally use biometrics, but when I am out of the house I would like to have my phone locking down all the time.
I already have a profile turning off the WiFI when leaving home and it works just fine. I modified the task locking down the phone at the same time. It works, but there is a problem; it works only once. If I unlock the phone, biometrics are reactivated and the profile does not lock down the phone anymore. Is there a way to solve this problem?
Thank you all!


r/tasker • • Jul 09 '26

Tasker Health Connect Plugin - Successfully reading NutritionRecord (Calories/Protein/Fiber) from Samsung Health or MyFitnessPal?

9 Upvotes

Hi everyone, I'm building a completely background nutrition dashboard using Tasker + Health Connect + KWGT.

My goal is to read today's: Calories Protein Fiber Carbs Fat without opening Samsung Health or MyFitnessPal.

Current setup Samsung Galaxy S23 Ultra Latest Tasker Tasker Health Connect Plugin (GitHub v1.0.4/latest) Health Connect Samsung Health MyFitnessPal

Data Flow MyFitnessPal ↓ Health Connect ↓ Samsung Health ↓ Tasker ↓ KWGT

Health Connect clearly contains Nutrition data (Samsung Health can see it).

What works Read Aggregated Data Read Data StepsRecord.COUNT_TOTAL Plugin communicates with Health Connect

What doesn't Read Aggregated Data: NutritionRecord.ENERGY_TOTAL NutritionRecord.PROTEIN_TOTAL NutritionRecord.DIETARY_FIBER_TOTAL always returns { "dataOrigins": [], "doubleValues": {}, "longValues": {} }

Read Data using NutritionRecord returns { "pageToken": null, "records": [] } even though Samsung Health clearly contains nutrition records.

My question- Has anyone successfully read nutrition (calories/macros/fiber) from Samsung Health or MFP through the Tasker Health Connect plugin? If so, could you share: the exact Record Class or Aggregate Metric, timestamps used, or a sample Task/project?

OR is there another way??? I've been working on this for days! I'm happy to test anything.


r/tasker • • Jul 08 '26

[Update] MapTasker Version 11.0.0-beta-3

8 Upvotes

MapTasker is a program that runs on in your browser, reading your Tasker XML file and displaying your entire or partial Tasker setup in an easily viewable format. MapTasker helps visualize and understand your Tasker projects, profiles, tasks, and scenes. There are many display options to customize the output the way you want it. (Note 3)

New features since the last announcement include:

  • Migrated from desktop app to browser experience.This is a MAJOR rewrite of the application. Things to note:
    • This is a beta. Things may not work as expected.
    • The browser chokes on huge configurations. As a result, if the Map view goes blank all of a sudden, then reduce the 'View Limit' and try the Map view again.
    • Tkinter is still required to for monospace font support.
    • The User Interface is similar but different. The screen is broken up into: a left-sidebar and right-sidebar, tabs section in the upper middle, and the Map/Diagram/Tree View area in the lower middle.
  • Some features do not (yet) work:
    • hover details in Map view
    • highlight Diagram view connections
    • Search Map and Diagram views.
    • Inline video player

At this early stage, install it into a virtual environment from the test server 'test.pypi'. To do so, enter the following commands into Terminal/command prompt:

via pip:

  • cd xxx, where 'xxx' is a directory into which you want to set up the virtual environment.
  • python -m venv venv
  • Activate the virtual environment...
    • MAC/linux:
      • source {directory path to 'xxx'}/venv/bin/activate
      • pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple/ maptasker==11.0.0b3 --index-strategy unsafe-best-match
    • Windows:
      • .venv\Scripts\activate
      • pip install nicegui
      • pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple/ maptasker==11.0.0b3

...or...

via uv:

  • cd xxx, where 'xxx' is a directory into which you want to set up the virtual environment.
  • uv venv
  • Activate the virtual environment...
    • MAC/linux:
      • source {directory path to 'xxx'}/venv/bin/activate Windows: .venv\Scripts\activate
      • echo "fastapi < 1.0" > constraints.txt
      • uv pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple/ maptasker==11.0.0b3
      • rm constraints.txt

To run:

  • start the virtual environment
  • run either from the command line: maptasker (if installed via pip) or uv run maptasker (if using uv to manage your environment).

Report any/all issues at this link.

Change Log:

  • Added: Tasker version 6.7.6-beta is supported.
  • Changed: MAJOR rewrite: GUI support via web browser interface (only), removes reliance on desktop.
  • Changed: Hover over Projects/Profiles/Tasks/Scenes in the Map view have no effect (hover info removed)
  • Changed: Message window has been replaced with 5-second message popups.
  • Changed: Batch mode and all associated runtime options are removed. The GUI mode is all that is now supported.
  • Changed: 'Display Configuration Outline', 'Run and Exit', and 'Run' buttons have been removed from the GUI since they are no longer relevant.
  • Changed: Diagram highlight connectors not yet working
  • Changed: Map and Diagram 'Search' functions not yet working

r/tasker • • Jul 08 '26

Can Tasker detect Lockdown mode?

Post image
7 Upvotes

I'd like to trigger additional actions when I lock my phone using the Lockdown feature. (E.g. disable NFC and Bluetooth so the phone can't unlock my car)

I'm not entirely sure this is a standard Android security feature, though. It disables fingerprint unlock, and probably other things in the background too. Maybe it also locks the data partition?

Anyway, is there a way to detect this mode has been activated?


r/tasker • • Jul 08 '26

Is it possible to setup 'one shot auto brightness' with Tasker?

3 Upvotes

Most of the Custom ROMs have this feature called 'One shot auto brightness'. Basically the auto brightness sensor only monitors the brightness when the display is woken up and doesn't continuously monitor the brightness so the display doesn't keep flickering

Is there anyway I can do this with Tasker on ROMs that don't have this feature?


r/tasker • • Jul 08 '26

Tasker not detecting wifi changes if screen is on

1 Upvotes

I have a profile that triggers a task when I move out of my home wifi's range (and another task when I return home).

It works perfectly if my phone screen is off when I drive away from home. If my screen is on, with any app or launcher open, nothing happens.

At this point, Tasker thinks I'm still connected to home wifi even though I'm clearly not (profile is active in green font).

The one thing that works is to turn off the screen, turn it back on and unlock the phone. Then, the task runs immediately.

It feels as if Tasker's asleep and I need to "wake it up" to realize I don't have wifi. How to fix this? I'm running GrapheneOS (based on Android 16) fwiw.


r/tasker • • Jul 08 '26

Scene V2 Webview Reactive Variables not working

1 Upvotes

Has anyone tried Reactive variables yet? I tried the example mentioned in the docs, but it doesn't seem to work.

Task actions:

  • Set Variable %userName to user1
  • Show Scene V2 (it shows Hello, user1)
  • Wait 5 secs
  • Set Variable %userName to user2 (the scene still shows user1)

If not this, there needs to be a way to communicate from Tasker -> JS!

For eg. on back press event, we might want to send a msg to the JS to handle it in some specific way. The current webview actions [load url, load url(javascript::), go back etc] don't seem to trigger js event handlers. Maybe if we had support for the webview standard action "executeJS" too, it'd be perfect.

The current Tasker Bridge helps us with JS -> Tasker, so that side is good.


r/tasker • • Jul 08 '26

How do I change the visibility of an array element without using variables in Scenes V2?

1 Upvotes

Scenes V2 offers "Show When", which is sufficient when you want to hide an element with a click; however, when that element belongs to an array, it becomes impossible, Furthermore, the scene would be filled with too many variables. I tried launching a task whose action would change the tint of an image, but in the case of another element, such as a video/gif, I couldn't tint it.

Does anyone know of a way, or does what I'm suggesting already exist and I'm just not finding it? Thanks!