Is there any way to trigger refresh of door status (e.g. door left open) #60
Replies: 2 comments 2 replies
-
Yes, you can press the "Poll Vehicle" button manually. For automations, you can call the "Press Button" service. When actuated, this will request the Subaru telematics service to poll your vehicle and update all available data (including door open/close state). It generally takes about 5-10 seconds for the update to complete. The "Refresh" button is used to only request the Subaru API provide the latest cached data (i.e. it doesn't result in the vehicle being polled, and it may be stale data). Refresh functionality happens automatically every 5 minutes. Subarus will automatically send a data update when they are turned off (which is what the automatic 5 minute refresh is intended to capture). Polling will effectively force another vehicle update (which seems to be what your question is about). A nightly poll to check that your doors are closed should do what you need. This button was previously named "Locate" in versions prior to v0.7.0, and the (now deprecated) service was named "Update", which weren't great names. |
Beta Was this translation helpful? Give feedback.
-
@IIAIronWolf can you paste some of your API output (as described here)? The Subaru API is inconsistent, and if they are using another value for certain cars (such as "CLOSED_LOCKED"), then we need to know. Right now the underlying package is only aware of "OPEN" or "CLOSED". And the integration only looks for "OPEN" to determine the state of the binary sensor. As of now, subarulink and this integration have never had the means of detecting unlocked/locked state. If you can provide an API dump that shows what values they are using, we can add door lock status, which would be great. |
Beta Was this translation helpful? Give feedback.
-
I love this integration, but one thing I’ve noticed is the door and window status sometimes is not up to date (e.g. will show passenger door was left open but it’s not).
Is there any way to force a refresh to see what the current status is? I could then trigger an alert to check the car at night if anything is left open?
Beta Was this translation helpful? Give feedback.
All reactions