#Script Choose Moving to Option 2

1 messages · Page 1 of 1 (latest)

steep lava
#

Not sure how to describe this better. I have a script for remote starting my car. I use "choose" with a few options.: 1) If car is home & garage is closed then open garage, wait, start car, wait unblock doors; 2) If car is home & garage is open then start car, wait, unlock doors; 3) if car is not home, start car. I had this script working without errors on a 2021 model. I just a got a 2025 and am getting errors. Option 1 runs ok, the garage opens, the car starts, the doors unlock. But, after running Option 1, the script seems to move on to Option 2 because I get errors stating that the car is already running and another command is running.

I am pretty sure the unlock command is causing the issue. The Subaru integration for my 2025, is having an issue with lock status. It executes the command, the doors lock/unlock, but the state gets stuck in "locking". So I am wondering, if the lock command never "completes", could that cause the script to move to the next option? Below are the log entries and script:

https://dpaste.org/5emVC log error
https://dpaste.org/s8tiH script

storm quiver
#

No only one sequence should ever execute

#

I would look at the script trace instead of guessing what it might be doing.