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

Use axios instead of request #249

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Use axios instead of request #249

wants to merge 1 commit into from

Conversation

JCH2k
Copy link

@JCH2k JCH2k commented Nov 10, 2024

Using HttpRequestTransport the bytes were not correct. It started promising, but inside the message some were invalid and no message could be decoded.

Turns out getting binary data with requests is not trivial and requests is deprecated. So I changed to Axios, which is working like a charm.

Needing HttpTransport for getting data from a Tibber Pulse using the local API.

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.

1 participant