Kemmey / Kemmey-TeslaWatch-Public

40 stars 21 forks source link

Use streaming API for battery and lock / unlock status? #178

Open DaveD-W opened 4 years ago

DaveD-W commented 4 years ago

Hi,

Just purchased, any chance you can implement elements of the streaming API for the battery and lock status, rather than have to open the app or allow the app to wake the car? (once it’s gone to sleep it doesn’t seem to be able to remove the open door warning).

TeslaMate seem to have used this effectively works really well :)

App looks great by the way!

Kemmey commented 4 years ago

Hey @DaveD-W I'll look into it. I already have the streaming api implemented. I was not aware that the streaming api could work without waking the car? That really does not make much sense, as streaming is literally streaming from the car - which would not be possible if it was asleep?

DaveD-W commented 4 years ago

Hi Kim,

What I was meaning is that the app can receive the last update, rather than have to fetch it, the the app would know if the car was locked and last known % :)

TeslaMate receives data as soon as the car is awake, so you can always browse the data and see the last known stats without having to wake.

Thanks, Dave.