jasonacox / Powerwall-Dashboard

Grafana Monitoring Dashboard for Tesla Solar and Powerwall Systems
MIT License
296 stars 63 forks source link

New Firmware 24.4.0 #448

Closed simonrb2000 closed 6 months ago

simonrb2000 commented 6 months ago

Problem Received new firmware today, 24.4.0 0fe780c9

To Reproduce Doesn't connect

Screenshots If applicable, add screenshots to help explain your problem.

Host System

Additional context I have redone the setup, I use the local control. I can log into the gateway using its IP Address however I can't get this to log in. I'll keep an eye on it and was just getting this out there as I haven't seen any mention of 24.4.0 firmware anywhere on the internet.

Error I get is:-

03/15/2024 11:29:02 AM [proxy] [INFO] pyPowerwall [0.7.7] Proxy Server [t40] - HTTP Port 8675 03/15/2024 11:29:02 AM [proxy] [INFO] pyPowerwall Proxy Started 03/15/2024 11:29:07 AM [proxy] [ERROR] Unable to connect to Powerwall at https://192.168.1.185 03/15/2024 11:29:07 AM [proxy] [ERROR] Fatal Error: Unable to connect. Please fix config and restart.

Although all the details are correct.

UPDATE:- So a reboot of the Raspberry Pi has fixed it.. However good to know a new firmware is out :)

jasonacox commented 6 months ago

Hi @simonrb2000 - Thanks for reporting this. I will add to our Firmware discussion https://github.com/jasonacox/Powerwall-Dashboard/discussions/109

Would you be able to perform some test for us about this new firmware? It's good that pypowerwall is still able to connect and pull data.

Do you see device vital data? Try: http://localhost:8675/vitals or http://localhost:8675/alerts.

Any odd behavior or anything missing from the Dashboard?

longzheng commented 6 months ago

Do you see device vital data? Try: http://localhost:8675/vitals or http://localhost:8675/alerts.

I've also been updated to 24.4.0.

Nothing in /vitals or /alerts unfortunately.

jasonacox commented 6 months ago

Thanks @longzheng - Have you spotted anything new with this version?

I'm still on 23.36.4 which I'm fine with since vitals still works. :) But it does make it more difficult for me to explore options for data.

longzheng commented 6 months ago

I had a quick run through the various API endpoints and they looked the same.

I didn't get a chance to reverse engineer any of the JavaScript.

jasonacox commented 6 months ago

Thanks @longzheng .

I'm going to proceed with the expectation that vitals is not going to return. I've updated the latest pypowerwall to better handle that condition and stop polling for vitals if it detects the latest Firmware upgrades. That should help with some odd errors and timeout/rate limits people are seeing (see #449 ). I'll also work on adding the Tesla Pros API support to pypowerwall to allow people to use that to get vitals data. It is a more complex setup but seems to be working and would be a viable option for those who choose that adventure. 😉

simonrb2000 commented 6 months ago

Hey,

Yes as @longzheng has described. Everything has been the same as previous firmware 23.44. I haven’t seen anything added or removed so far.

Happy to test the Tesla Pro API if that helps, sounds interesting. Would be nice to get temps back.

Cheers

Simon

On 17 Mar 2024, at 02:14, Jason Cox @.***> wrote:



Thanks @longzhenghttps://github.com/longzheng .

I'm going to proceed with the expectation that vitals is not going to return. I've updated the latest pypowerwall to better handle that condition and stop polling for vitals if it detects the latest Firmware upgrades. That should help with some odd errors and timeout/rate limits people are seeing (see #449https://github.com/jasonacox/Powerwall-Dashboard/issues/449 ). I'll also work on adding the Tesla Pros API support to pypowerwall to allow people to use that to get vitals data. It is a more complex setup but seems to be working and would be a viable option for those who choose that adventure. 😉

— Reply to this email directly, view it on GitHubhttps://github.com/jasonacox/Powerwall-Dashboard/issues/448#issuecomment-2002281300, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AD2AEADSFQBWNAQRTZKPVO3YYT36TAVCNFSM6AAAAABEX3DESWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMBSGI4DCMZQGA. You are receiving this because you were mentioned.Message ID: @.***>

jasonacox commented 6 months ago

@simonrb2000 - Sadly, we still haven't found the temps. The Tesla Pros API doesn't have it either unfortunately. However, I'm also investigating the API at http://localhost:8675/api/solar_powerwall - It has string data, and is available on the standard local-network APIs but seems to be reporting only a single inverter. I only have one inverter so I'm limited on what I can explore. If anyone finds a good way to get additional data from other inverters, please let me know.