3

WiFi Net Disconnect Fails with possibly a cache validity error?

Here is the log from the failed action. Wifi was connected to my home network and this issue persists through a reboot and reinstall of Tasker Settings. 

19.17.28/LicenseCheckerTasker Checking cached only
19.17.28/LicenseCheckerTasker cache validity left -830597
19.17.28/LicenseCheckerTasker Cached status: Licensed
19.17.28/LicenseCheckerTasker Cached only: Licensed
19.17.28/E wifi ctrl: code0 have wifi net: true force: false flash false
19.17.28/E wifi net: disconnect
19.17.28/E result: stop task (error)
19.17.28/E Error: 1
19.17.28/MacroEdit action finished exeID 3 action no 0 code 426 status: Err next 0

3 replies

AB

I'm having the exact same issue when trying to use the net WiFi disconnect action. 

Here's the task description: 

    Task: Left Home

    Settings: Abort Existing Task

    

    A1: WiFi Net [

         Action: Disconnect

         Force: On

         Report Failure: On ]

    

    A2: AutoVoice Test Command [

         Configuration: Test Command : left home

         Remote Devices: OnePlus 7 Pro

         Timeout (Seconds): 10

         Structure Output (JSON, etc): On ]

    

    A3: Variable Set [

         Name: %InHome

         To: false

         Structure Output (JSON, etc): On ]

AB

01.40.27/LicenseCheckerTasker Checking cached only

01.40.27/LicenseCheckerTasker cache validity left -620479

01.40.27/LicenseCheckerTasker Cached status: Licensed

01.40.27/LicenseCheckerTasker Cached only: Licensed

01.40.27/E wifi ctrl: code0 have wifi net: true force: true flash true

01.40.27/E wifi net: disconnect

01.40.27/E Action WiFi Net failed.

01.40.27/E result: stop task (error)

01.40.27/E Error: 1

01.40.27/MacroEdit action finished exeID 1 action no 0 code 426 status: Err next 0

M

Same problem, same log output here too. Task which should only disconnect from wifi if connected fails.

Can you please export your task's description (not xml) so I can take a look? Long-click the task in Tasker->export description Thanks in advance

WC

Sure thing, my task is pretty similar to the one Abhiroop Basak provided. It's triggered by leaving my home location. It's running on a Pixel 6a running the OEM Android 15 version.


   Task: Leaving Home
    
    A1: Variable Set [
         Name: %Home
         To: false
         Structure Output (JSON, etc): On ]
    
    A2: WiFi [
         Set: Off ]