Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove Streaming API as it is currently broken. #45

Merged
merged 1 commit into from Mar 22, 2021
Merged

Conversation

bogosj
Copy link
Owner

@bogosj bogosj commented Mar 16, 2021

Fixes #44.

@uhthomas
Copy link
Collaborator

uhthomas commented Mar 16, 2021

The Tesla API is in a really sad state at the moment. Not sure why they're being so anti developer.

Maybe better for a GitHub discussion rather than a PR comment, apologies.

I think this change is fine but what happens when (if) it eventually works again? I don't know if we should remove code because the upstream isn't working correctly.

@bogosj
Copy link
Owner Author

bogosj commented Mar 16, 2021

If there's someone who wants to consume the streaming bits, they can revert the change that I note in the README, ensure it's working again, and we release that?

@bogosj
Copy link
Owner Author

bogosj commented Mar 16, 2021

Also presumably the streaming API does work - I'm fairly confident that teslamate is using it to record data.

@mark-sch
Copy link

In my eyes the streaming api is pretty valueable - due to all the phantom drain problems when waking up the vehicle. Teslamate is using wss://streaming.vn.teslamotors.com/streaming/ for their streaming ...would like to contribute during work in progress but right now not long enough into golang to do it from scratch completely

@bogosj
Copy link
Owner Author

bogosj commented Mar 18, 2021

@mark-sch The proposal here is not to permanently remove this wrapper, but since it's broken in its current state we temporarily "hide" it by deleting it for now until someone who does use it has time to work on it and we can release a working version.

@andig
Copy link
Collaborator

andig commented Mar 20, 2021

How about just parking these files in an internal folder and hence making them inaccessible from the outside world? I intend to look into this, but no ETA.

@bogosj
Copy link
Owner Author

bogosj commented Mar 20, 2021

I'd prefer to leave this as is - moving to an internal folder would require modifying the deleted files so that tests keep passing. As it is to get this back to work on in we'll just have to git revert <insert_commit> and everything will be back to the way it was before. Moved to internal you'd have to tweak the tweaks made to the files.

@bogosj
Copy link
Owner Author

bogosj commented Mar 20, 2021

Just in case it was missed above, an immediate follow up commit will write notes in the README in the root about the lack of the streaming API and pointing at the commit this PR creates.

@bogosj bogosj merged commit 19f79e1 into main Mar 22, 2021
@bogosj bogosj deleted the bogosj/stream branch March 22, 2021 12:31
@bogosj
Copy link
Owner Author

bogosj commented Mar 22, 2021

f9b5307

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Streaming broken?
4 participants