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

[Home-Assistant] Unable to login when using docker #147

Open
kushagharahi opened this issue Sep 15, 2024 · 2 comments
Open

[Home-Assistant] Unable to login when using docker #147

kushagharahi opened this issue Sep 15, 2024 · 2 comments

Comments

@kushagharahi
Copy link

kushagharahi commented Sep 15, 2024

  • Smart Meter Texas version: 0.55
  • Python version: 3.12
  • Operating System: Alpine

Description

related thread: https://community.home-assistant.io/t/smart-meter-texas-not-able-to-sign-in/769868

I’m trying to set up the integration in HA. I'm running HA 2024.9 docker container.
Currently it just spins for a long time and spits back “Failed to connect”. (both FF and Chrome, VPN on or off)

What’s strange is that I’ve cloned the source code and the examples work just fine in terms of being able to login and scrape some data.

What I Did

I suspect it's due to the docker container because when I attached a remote debugger to my container on my windows box, I'm instantly able to login.

After logging in with the remote debugger, scraping works just fine (without the remote debugger).

@daneski13
Copy link

Unfortunately, I can't resolve your issue, but I've had a lot of issues with the HA integration which has prompted me to develop my own "sensor" for HA using this library and MQTT. Considering this package works as expected (barring issues with SMT themselves e.g. #148), I doubt this package is at fault. I am able to use this package just fine within my project's Alpine-based docker container.

@daneski13
Copy link

I was attempting to add another anecdote that this repository, and the package it contains, works fine both bare-metal Alpine and within an Alpine-based docker image. Your issue notes OS as Alpine and you believe it has something to do with running in a docker container, this package verifiably works in both situations.

Your issue is downstream with Home Assistant and the implementation within the HA integration, which I was anecdotally noting that I have had numerous issues with.

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

No branches or pull requests

2 participants