pinlawr Posted April 23 Posted April 23 I switched to the new streaming plugin a week or so ago. Since then a lot of my use cases have stopped working correctly due to out of date information, and no way to trigger an update. One of the main use cases for me has been using the plugin to start/stop charging based on the status of the car (rather than just a plain X-X schedule). I also use it to flash lights in the house if I run our goodnight routine and the car is not plugged in and below X% charge. I also have a button on a keypad link that is lit when the charger is connected, and now that light is never correct. Literally right now it shows the charger port latch is engaged. It's not. The car is in the middle of a parking lot. At night, when home and plugged in, it will show disengaged, because it wasn't connected during the drive (obv), and never updated after arriving home and plugging it in. This causes the program that starts charging to not run (it checks the latch state, no need to send the charging start command and wake the car up if it's not plugged in). Once the car gets somewhere and the drive stops, the streaming stops (actually since the mileage and other things are also off, I wonder if it's stopping before the drive ends). A lot of other things stop updating as there is not poll or refresh of the vehicle state after streaming stops. Mileage, temperatures, charging latch state, window/door status, etc. Nothing updates after streaming stops. Currently the car is online (as it's not home and sentry is on) and all the data in the admin panel is out of date. The time of last car update is 10:03:25, but the drive didn't end until 10:07:46. I fully understand the need to move to the new API and reduce calls, but there is still a need to keep the data up to date if the vehicle is online, even if hourly, or with a triggered command. Perhaps when streaming (or vehicle is offline/asleep) don't poll to save calls, but otherwise if the car is online a regular poll schedule seems needed to ensure the data is up to date. I'm happy to provide logs or run tests. Quote
Panda88 Posted Wednesday at 05:13 PM Posted Wednesday at 05:13 PM If you can enable debug and provide a log maybe I can check if there are any errors - I have not found a way to force an update of the data - The car decides when to post data - I have a minimum of 1 min between updates on most data (non-charging) - I could try to lower that. Note, the data from streaming is different from existing polling (and it is way more expensive to execute a poll) There is a newer beta on the non-production store with powershare data enabled - maybe you can try that one Quote
Panda88 Posted Wednesday at 08:54 PM Posted Wednesday at 08:54 PM Giv it a try again - seems there was some infrastructure issue causing some commands to be lost Quote
pinlawr Posted 22 hours ago Author Posted 22 hours ago Sorry for the delay, I forgot to turn on notifications on this thread. Currently everything shows time of last car update was 4/26 14:14. Nothing since then. The car was driven today (4/28) for over an hour, and pretty much all of the data is not current. There are no "stream" type entries in the log file for today's drive. Of note, the commands always seem to work (start/stop charging, honk, etc.) so there is authenticated connectivity to the vehicle. I changed the log level to debug and restarted the plugin. I've DM'd the log from TeslaEVstream. Once the plugin was restarted some of the data updated (mileage, etc.) but not everything, for example it still shows the charger is engaged, but it's not (the vehicle isn't even at home). I also installed TeslaEVpwrSh into a different slot. I just went for a drive. Data in the TeslaEVpwrSh updated some data (but not all), and TeslaEVstream didn't record any changes. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.