Closed youzer-name closed 5 months ago
Hi @youzer-name, that response you show is what you will get if you are in Tesla Cloud mode instead of Local Mode. Did you happen to switch to cloud mode? Run ./verify.sh
or http://pypowerwall:8675/help to see what mode it is running.
If not, try http://pypowerwall:8675/api/system_status - that is where the new voltage data is coming from.
Hi @youzer-name, that response you show is what you will get if you are in Tesla Cloud mode instead of Local Mode. Did you happen to switch to cloud mode?
That was it. I think when I did the 4.0.0 update I picked cloud mode, thinking that was required to get all the data after the firmware update. I re-ran setup.sh and am back in local mode and the data is populating.
I ran upgrade.sh and saw it do the upgrade from 4.0.0 to 4.0.1. The only non-standard thing in my process is I'm using powerwall.extend.yml to create a powerwall-history container that pulls the data for my Tesla solar site.
I am not seeing any data populating into the voltages panel. I deleted and recreated the dashboard from dashboard.json, and I see the new regex entry in the overrides, so everything looks to be current.
I tried a ./compose-dash down and ./compose-dash up -d which didn't help.
I see the new CQ's (vitals 8 - vitals 12) in InfluxDB but I don't see any recent data in vitals.http. The last records are from before my firmware updated. Looking at the source of the CQ, I tried to run:
SELECT PW1_v_out, PW2_v_out, PW3_v_out, PW4_v_out, PW5_v_out, PW6_v_out, PW7_v_out, PW8_v_out, PW9_v_out, PW10_v_out, PW11_v_out, PW12_v_out FROM raw.http order by time desc limit 5
That returned no data. So I don't have the raw data coming in.
select * from raw.http order by time desc limit 1 returns these columns:
Edit:
I'm trying to read through the recent code changes to see where the breakdown is occurring. I do have the battery blocks info when I directly query the powerwall's API:
Edit: Python isn't my strong suit, but reading through pypowerwall.py, I think the voltage data should be returned in "http://pypowerwall:8675/freq"
All I get from that is:
So I'm stumped. Everything seems to be the current version. I confirmed that my copy of pypowerwall.py in the container is the current version with lines referencing the battery_blocks data. When I directly access the powerwall api, I see the battery_blocks. Why doesn't my pypowerall return that data when /freq is accessed?