Git Product home page Git Product logo

Comments (9)

KevM avatar KevM commented on July 18, 2024 1

Thanks for the heads up. I did switch to controlling the powerwall with the FleetAPI. I wanted something that I knew would work after the ownerapi goes away.

from pypowerwall.

KevM avatar KevM commented on July 18, 2024

Missing auth file .auth/.pypowerwall.auth

I do have a file present at this path. When I stop the service and remove it. Then restart it reappears so it seems like auth is working.

from pypowerwall.

KevM avatar KevM commented on July 18, 2024

I forgot that I was going to experiment with setting the battery reserve and added this setting to my pypowerwall.env PW_CONTROL_SECRET=password.password.password. Removing it corrects the issue. Editing the Issue to relate this...

from pypowerwall.

jasonacox avatar jasonacox commented on July 18, 2024

Thanks @KevM ! You identified an error when control mode is selected but the user has not set up "cloud mode". I added code to handle that and instruct the user to run cloud setup.

Latest container: jasonacox/pypowerwall:0.8.4t54-beta4

I know you mention that the auth file is set up. But for you to get that error means that it was not able to set up the cloud connection. Check your settings:

# check to ensure the cloud credentials are correct
docker exec -it pypowerwall python -m pypowerwall setup 

from pypowerwall.

KevM avatar KevM commented on July 18, 2024

I know you mention that the auth file is set up. But for you to get that error means that it was not able to set up the cloud connection. Check your settings:

Interesting I've never setup the cloud connection before. I have always been using local mode.

04/22/2024 08:57:08 AM [proxy] [INFO] pyPowerwall [0.8.3] Proxy Server [t54] - HTTP Port 8675
04/22/2024 08:57:08 AM [proxy] [INFO] pyPowerwall Proxy Started
04/22/2024 08:57:08 AM [proxy] [INFO] pyPowerwall Proxy Server - Local Mode

I believe I did use the cloud on my laptop and working with your Powerwall Dashboard project when loading historic data. Currently I am using pypowerwall via Docker for a personal project. How does pypowerwall behave differently between Local and Cloud modes?

from pypowerwall.

jasonacox avatar jasonacox commented on July 18, 2024

Local mode provides more data and better fidelity of the data (more samples). Cloud was set up originally to allow Solar-only users to get their power data and became important when the Powerwall 3 came out because it doesn't have a local API.

You should use local mode for pypowerwall setup if possible, I wouldn't recommend changing that. However, if you want to control your Powerwall, that is only available via cloud mode. If you run the cloud setup on pypowerwall (don't change it with setup.sh), it will operate in a hybrid mode of using local mode to get the Powerwall data but calling the cloud when you wish to make changes to the mode or reserve settings.

from pypowerwall.

jasonacox avatar jasonacox commented on July 18, 2024

@KevM did you happen to use the process and code from https://github.com/jasonacox/pypowerwall/tree/main/tools/fleetapi ? The plan is to add this in to pypowerwall to replace the cloud mode functionality. The process is more intense than the oweners api. I would love to hear your experience or recommendations.

Thanks for your help! 🙏

from pypowerwall.

KevM avatar KevM commented on July 18, 2024

from pypowerwall.

jasonacox avatar jasonacox commented on July 18, 2024

Thanks @KevM ! I do appreciate the help and feedback. I'll close this as it is no longer an issue or relevant for you. Good luck with your app!

from pypowerwall.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.