Closed mboerma closed 3 years ago
Since Teslausb no longer keeps the car awake to finish syncing, are you all setting Sentry Mode to active at home in order to keep the USB powered constantly?
are you all setting Sentry Mode to active at home in order to keep the USB powered constantly?
I'm not, though I'm hoping the code can be reworked to keep the car awake again. When there is a large accumulation of content to be moved, I often take the pi inside and put it on a wall dongle. It does defeat the purpose of seamless wifi syncing, but the car is often too eager to fall asleep and will invariably interrupt the transfer (even if I "cancel sleep attempt" so many times on Teslamate).
Am finding even with a strong WiFi connection near the car, my Pi 0 can’t finish even syncing a single day of activity before the car sleeps. I have to keep opening the mobile app to reset the idle time to prevent it from sleeping.
From: Ryan Yadsko @.> Sent: Tuesday, May 11, 2021 6:39:42 PM To: marcone/teslausb @.> Cc: miles267 @.>; Comment @.> Subject: Re: [marcone/teslausb] Tesla API to keep your car awake (#384)
are you all setting Sentry Mode to active at home in order to keep the USB powered constantly?
I'm not, though I'm hoping the code can be reworked to keep the car awake again. When there is a large accumulation of content to be moved, I often take the pi inside and put it on a wall dongle. It does defeat the purpose of seamless wifi syncing, but the car is often too eager to fall asleep and will invariably interrupt the transfer (even if I "cancel sleep attempt" so many times on Teslamate).
— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/marcone/teslausb/issues/384#issuecomment-839287281, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ANKVGTAI6PV7BP2ET3U2AVTTNG535ANCNFSM4J7LF2WQ.
my Pi 0 can’t finish even syncing a single day of activity before the car sleeps.
You're doing much better than I am. When at home, both of my Model 3 vehicles tend to fall asleep within minutes of idling. The Teslamate "cancel sleep attempt" link - which presumably pauses polling - needs to be pressed every few minutes (or even more often). It's just not worth the anxiety when there is any volume of content to move.
@marcone is there a prognosis for restoring the ability to keep the car awake during teslausb archiving? Does Tesla's new auth scheme potentially allow it?
Does Tesla's new auth scheme potentially allow it?
Absolutely, and I'm aware of at least two projects (https://github.com/enode-engineering/tesla-oauth2 and https://github.com/tdorssers/TeslaPy) that implement the new auth scheme. It just hasn't been a priority for me because my Pi is permanently-powered.
@marcone are you currently using a power bank (backup battery) or another method of keeping yours powered?
From: marcone @.> Sent: Tuesday, May 11, 2021 7:10:28 PM To: marcone/teslausb @.> Cc: miles267 @.>; Comment @.> Subject: Re: [marcone/teslausb] Tesla API to keep your car awake (#384)
Does Tesla's new auth scheme potentially allow it?
Absolutely, and I'm aware of at least two projects (https://github.com/enode-engineering/tesla-oauth2 and https://github.com/tdorssers/TeslaPy) that implement the new auth scheme. It just hasn't been a priority for me because my Pi is permanently-powered.
— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/marcone/teslausb/issues/384#issuecomment-839315497, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ANKVGTCVZMQSETREXR2HKCTTNHBPJANCNFSM4J7LF2WQ.
I'm getting power from the 12V line of the OBD2 port.
Does Tesla's new auth scheme potentially allow it?
Absolutely, and I'm aware of at least two projects (https://github.com/enode-engineering/tesla-oauth2 and https://github.com/tdorssers/TeslaPy) that implement the new auth scheme. It just hasn't been a priority for me because my Pi is permanently-powered.
Any hope you would restore it..?
@marcone if you would please consider adding this to Teslausb it would be greatly appreciated. Am having to keep sentry mode active even at home in order to keep the USB ports powered in an effort to finish syncing all media clips. Even still there appear to be periodic errors that interrupt the sync likely due to powering off during sync. Then, by having sentry mode active, it's just creating even more video clips. Thanks for consideration.
I just re-enabled this. It uses a different method now by default that doesn't involve turning on Sentry mode, though you can still use the old method if the new method doesn't work for you for some reason.
Thanks! Looking at https://github.com/marcone/teslausb/commit/7b3ee9b9640848a81f1ba99a36fe33ab1000b4d5 we now have a default of export TESLA_WAKE_MODE=stream
in teslausb_setup_variables.conf
which we can toggle to sentry
to get the old behaviour.
How does the default setting of “stream” work vs “sentry”?
From: Richie B2B @.> Sent: Sunday, June 27, 2021 5:43:06 AM To: marcone/teslausb @.> Cc: miles267 @.>; Comment @.> Subject: Re: [marcone/teslausb] Tesla API to keep your car awake (#384)
Thanks! Looking at 7b3ee9bhttps://github.com/marcone/teslausb/commit/7b3ee9b9640848a81f1ba99a36fe33ab1000b4d5 we now have a default of export TESLA_WAKE_MODE=stream in teslausb_setup_variables.conf which we can toggle to sentry to get the old behaviour.
— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/marcone/teslausb/issues/384#issuecomment-869140665, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ANKVGTBFWJSQKFNSQOZYEDTTU36DVANCNFSM4J7LF2WQ.
It is using the Tesla streaming API at https://streaming.vn.teslamotors.com/connect/ At first try it doesn't seem to keep my car awake but I have to investigate what is going wrong.
It is using the Tesla streaming API at https://streaming.vn.teslamotors.com/connect/ At first try it doesn't seem to keep my car awake but I have to investigate what is going wrong.
I'm confused. Earlier in this thread it was discussed that the API functionality had been broken some weeks ago. It's unclear whether it's since been fully restored, and if so, why a Sentry switch would be desirable.
I'm confused. Earlier in this thread it was discussed that the API functionality had been broken some weeks ago.
Authentication was broken, but if you had existing access tokens they would continue to work for some time.
It's unclear whether it's since been fully restored, and if so, why a Sentry switch would be desirable.
Tealausb can now authenticate with the Tesla API again. In addition, it now implements two different ways to keep the car awake. See issue https://github.com/marcone/teslausb/issues/565 for an example of why you might not want teslausb to use Sentry mode to keep the car awake.
I'm confused. Earlier in this thread it was discussed that the API functionality had been broken some weeks ago.
Authentication was broken, but if you had existing access tokens they would continue to work for some time.
It's unclear whether it's since been fully restored, and if so, why a Sentry switch would be desirable.
Tealausb can now authenticate with the Tesla API again. In addition, it now implements two different ways to keep the car awake. See issue #565 for an example of why you might not want teslausb to use Sentry mode to keep the car awake.
Thanks for the clarification - I think I'll try plugging in my credentials (and trying stream mode first). In order to effect the changes, should I write a new teslausb_setup_variables.conf in /boot or edit the existing .conf file in /root instead before running /root/bin/teslausb-setup?
should I write a new teslausb_setup_variables.conf in /boot or edit the existing .conf file in /root
either one works
Have since edited my .conf file in /root folder, adding export TESLA_WAKE_MODE=stream and running the upgrade script. I believe I've done this correctly. Will monitor.
On Tue, Jun 29, 2021 at 2:08 AM marcone @.***> wrote:
should I write a new teslausb_setup_variables.conf in /boot or edit the existing .conf file in /root
either one works
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/marcone/teslausb/issues/384#issuecomment-870331386, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANKVGTCUVAMYE2NE5VVAAA3TVFWNRANCNFSM4J7LF2WQ .
After editing my /root/teslausb_setup_variables.conf file the car was kept awake for 5 hours last night until all files were transferred. Excellent!
Tealausb can now authenticate with the Tesla API again. In addition, it now implements two different ways to keep the car awake. See issue #565 for an example of why you might not want teslausb to use Sentry mode to keep the car awake.
Seems to work fine, thank you!
This might be more of a remark or question than an issue. I have my car (An EU 100D Model S model year 2020) in Sentry mode and also have the "keep car awake" settings set for teslausb.
Maybe this is just new to the 2019.40.x firmware, but the USB ports are no longer powered. They only work when I turn on conditioning.
Q1) Do other people also notice this? Q2) Is this new behaviour or was that the case all along for Model S Tesla's? Q3) What does the "Keep Tesla awake" API call do? Q4) Is there any way I can make things work (again)? USB battery? Other settings?
Many thanks!