jasonacox / Powerwall-Dashboard

Grafana Monitoring Dashboard for Tesla Solar and Powerwall Systems
MIT License
268 stars 57 forks source link

not showing Powerwall Vitals #472

Open silvestrob opened 2 months ago

silvestrob commented 2 months ago

Problem The Dashboard doesn`t show powerwall vitals. It shows only pw1

Screenshots image

Host System image

Thank for the help you cloud give me. paolo

jasonacox commented 2 months ago

Hi @silvestrob - A few questions:

  1. Can you tell us what Powerwall Firmware you are running? You can run the ./verify.sh script to get that as well as other important information that may be helpful.
  2. What Dashboard version are you running ( have you run ./upgrade.sh to get latest) - or is this a new installation?
  3. Check the direct API call to see what is rendering: http://localhost:8675/pod (replace localhost with the IP address of the Dashboard host).
silvestrob commented 2 months ago

Hi, Jason thanks for your reply here the information requested:

Thanks for your support Paolo

Il giorno 30 apr 2024, alle ore 05:11, Jason Cox @.***> ha scritto:



Hi @silvestrob https://github.com/silvestrob - A few questions:

  1. Can you tell us what Powerwall Firmware you are running? You can run the ./vitals.sh script to get that as well as other important information that may be helpful.
  2. What Dashboard version are you running ( have you run ./upgrade.sh to get latest) - or is this a new installation?
  3. Check the direct API call to see what is rendering: http://localhost:8675/pod (replace localhost with the IP address of the Dashboard host).

— Reply to this email directly, view it on GitHub https://github.com/jasonacox/Powerwall-Dashboard/issues/472#issuecomment-2084293953, or unsubscribe https://github.com/notifications/unsubscribe-auth/BBYBIDIQGDDQKOP23MVS6FDY74DV5AVCNFSM6AAAAABG6VF5SCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOBUGI4TGOJVGM . You are receiving this because you were mentioned.Message ID: @.***>

{"PW1_name": null, "PW1_POD_ActiveHeating": null, "PW1_POD_ChargeComplete": null, "PW1_POD_ChargeRequest": null, "PW1_POD_DischargeComplete": null, "PW1_POD_PermanentlyFaulted": null, "PW1_POD_PersistentlyFaulted": null, "PW1_POD_enable_line": null, "PW1_POD_available_charge_power": null, "PW1_POD_available_dischg_power": null, "PW1_POD_nom_energy_remaining": 10052, "PW1_POD_nom_energy_to_be_charged": null, "PW1_POD_nom_full_pack_energy": 14858, "PW1_PackagePartNumber": "3012170-05-C", "PW1_PackageSerialNumber": "TG122280002C9A", "PW1_pinv_state": "PINV_GridFollowing", "PW1_pinv_grid_state": "Grid_Compliant", "PW1_p_out": 450, "PW1_q_out": 0, "PW1_v_out": 232.4, "PW1_f_out": 50.007, "PW1_i_out": -10.700000000000001, "PW1_energy_charged": 2155903, "PW1_energy_discharged": 1881704, "PW1_off_grid": 0, "PW1_vf_mode": 0, "PW1_wobble_detected": 0, "PW1_charge_power_clamped": 0, "PW1_backup_ready": 1, "PW1_OpSeqState": "Active", "PW1_version": "0fe780c991e052", "time_remaining_hours": 24.75862068965517, "backup_reserve_percent": 20.0, "nominal_full_pack_energy": 14858, "nominal_energy_remaining": 10052}

jasonacox commented 2 months ago

./vitals.sh doesn’t work (command not found)

My bad! I mean ./verify.sh

The pod payload show only a single Powerwall is coming back from the Tesla Powerwall Gateway. That is not expected. Is it possible that you have two gateways?

# Have pypowerwall scan for gateways

pip install pypowerwall

python -m pypowerwall scan
silvestrob commented 2 months ago

Hi, thanks no problem. I'm out of home. I'll back this evening (italy time). I only have one powerwall and one gateway.

Il giorno mar 30 apr 2024 alle ore 07:47 Jason Cox @.***> ha scritto:

./vitals.sh doesn’t work (command not found)

My bad! I mean ./verify.sh

The pod payload show only a single Powerwall is coming back from the Tesla Powerwall Gateway. That is not expected. Is it possible that you have two gateways?

Have pypowerwall scan for gateways

pip install pypowerwall

python -m pypowerwall scan

— Reply to this email directly, view it on GitHub https://github.com/jasonacox/Powerwall-Dashboard/issues/472#issuecomment-2084427151, or unsubscribe https://github.com/notifications/unsubscribe-auth/BBYBIDOVOB5IPHN5FHGEPYDY74V6JAVCNFSM6AAAAABG6VF5SCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOBUGQZDOMJVGE . You are receiving this because you were mentioned.Message ID: @.***>

jasonacox commented 2 months ago

Ha! I misunderstood your issue. Bsaed on your srcreenshot, you are seeing what you should see for a single Powerwall (PW1). A few things to note:

image
silvestrob commented 2 months ago

ok thanks but I can't see even the three phases value in terms of V,and Hz. depending on the firmware?

[image: image.png]

Il giorno mar 30 apr 2024 alle ore 07:56 Jason Cox @.***> ha scritto:

Ha! I misunderstood your issue. Bsaed on your srcreenshot, you are seeing what you should see for a single Powerwall (PW1). A few things to note:

  • With the firmware version you are running, Tesla has removed the API data that provides temperature data so that graph will be blank.
  • The rest of the graphs you show are showing the correct data - that is what you should see. It will eventually fill up as time passes:

image.png (view on web) https://github.com/jasonacox/Powerwall-Dashboard/assets/836718/cfdea71c-7596-4f5a-b9c0-856449d9541e

— Reply to this email directly, view it on GitHub https://github.com/jasonacox/Powerwall-Dashboard/issues/472#issuecomment-2084436696, or unsubscribe https://github.com/notifications/unsubscribe-auth/BBYBIDIUZDJY77YJ2NRX2G3Y74XBDAVCNFSM6AAAAABG6VF5SCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOBUGQZTMNRZGY . You are receiving this because you were mentioned.Message ID: @.***>

jasonacox commented 2 months ago

Ah! The third phase is hidden - you can unhide it:

image

Scroll down to "C" and click unhide:

image

Click "Apply" and "Save"

Do the same for each of the panels.

silvestrob commented 2 months ago

Unfortunately I can’t see even the second. The dashboard shows only pw1 V and HZ not showing Home L1,L2 and L3I’ve tried to un shows but no effectInviato da iPhoneIl giorno 30 apr 2024, alle ore 08:11, Jason Cox @.***> ha scritto: Ah! The third phase is hidden - you can unhide it: image.png (view on web) Scroll down to "C" and click unhide: image.png (view on web) Click "Apply" and "Save"

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

silvestrob commented 2 months ago

for better undestand what I mean

[image: image.png]

Il giorno mar 30 apr 2024 alle ore 08:11 Jason Cox @.***> ha scritto:

Ah! The third phase is hidden - you can unhide it: image.png (view on web) https://github.com/jasonacox/Powerwall-Dashboard/assets/836718/d353a59d-0bea-4e73-a65c-343d1303ddc5

Scroll down to "C" and click unhide: image.png (view on web) https://github.com/jasonacox/Powerwall-Dashboard/assets/836718/8c5fa79b-e41e-4358-a310-8a56fc322c53

Click "Apply" and "Save"

— Reply to this email directly, view it on GitHub https://github.com/jasonacox/Powerwall-Dashboard/issues/472#issuecomment-2084453909, or unsubscribe https://github.com/notifications/unsubscribe-auth/BBYBIDIIJ6UGNV55CKQB3RDY74YZBAVCNFSM6AAAAABG6VF5SCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOBUGQ2TGOJQHE . You are receiving this because you were mentioned.Message ID: @.***>

BuongiornoTexas commented 2 months ago

I lost 3 phase frequency reporting with 24.4 - Now I only get frequency data on the phase the powerwall sits on. I haven't checked the API to see if this can be picked up elsewhere.

jasonacox commented 2 months ago

Ugh. Thanks @BuongiornoTexas. Another casualty of the Firmware upgrade. The raw data is being sourced from:

(replace localhost with the IP address of your Dashboard host if not local)

BuongiornoTexas commented 2 months ago

It's possible this is due to variations in multi-phase supply between countries - US installations may well continue to get 3 phase data (120V/phase?), while Europe, Australia and others may not (240V/phase).

freq dump:

{
  "PW1_name": null,
  "PW1_PINV_Fout": 50.061,
  "PW1_PINV_VSplit1": null,
  "PW1_PINV_VSplit2": null,
  "PW1_PackagePartNumber": "XXXXX",
  "PW1_PackageSerialNumber": "XXXXXX",
  "PW1_p_out": 0,
  "PW1_q_out": 340,
  "PW1_v_out": 238.8,
  "PW1_f_out": 50.061,
  "PW1_i_out": -0.2,
  "grid_status": 1
}

and pod

{
  "PW1_name": null,
  "PW1_POD_ActiveHeating": null,
  "PW1_POD_ChargeComplete": null,
  "PW1_POD_ChargeRequest": null,
  "PW1_POD_DischargeComplete": null,
  "PW1_POD_PermanentlyFaulted": null,
  "PW1_POD_PersistentlyFaulted": null,
  "PW1_POD_enable_line": null,
  "PW1_POD_available_charge_power": null,
  "PW1_POD_available_dischg_power": null,
  "PW1_POD_nom_energy_remaining": 15127,
  "PW1_POD_nom_energy_to_be_charged": null,
  "PW1_POD_nom_full_pack_energy": 15127,
  "PW1_PackagePartNumber": "XXXXXXXXXX",
  "PW1_PackageSerialNumber": "XXXXXXXXXXX",
  "PW1_pinv_state": "PINV_GridFollowing",
  "PW1_pinv_grid_state": "Grid_Compliant",
  "PW1_p_out": -20,
  "PW1_q_out": 330,
  "PW1_v_out": 238.60000000000002,
  "PW1_f_out": 49.947,
  "PW1_i_out": -0.2,
  "PW1_energy_charged": 3380972,
  "PW1_energy_discharged": 2842412,
  "PW1_off_grid": 0,
  "PW1_vf_mode": 0,
  "PW1_wobble_detected": 0,
  "PW1_charge_power_clamped": 0,
  "PW1_backup_ready": 1,
  "PW1_OpSeqState": "Active",
  "PW1_version": "0fe780c991e052",
  "time_remaining_hours": 36.9176327028676,
  "backup_reserve_percent": 20,
  "nominal_full_pack_energy": 15127,
  "nominal_energy_remaining": 15127
}
silvestrob commented 2 months ago

Thanks, here my value at freq and pod

{ "PW1_name": null, "PW1_PINV_Fout": 49.981, "PW1_PINV_VSplit1": null, "PW1_PINV_VSplit2": null, "PW1_PackagePartNumber": "3012170-05-C", "PW1_PackageSerialNumber": "TG122280002C9A", "PW1_p_out": -50, "PW1_q_out": -10, "PW1_v_out": 234.8, "PW1_f_out": 49.981, "PW1_i_out": 0, "grid_status": 1 }

{ "PW1_name": null, "PW1_POD_ActiveHeating": null, "PW1_POD_ChargeComplete": null, "PW1_POD_ChargeRequest": null, "PW1_POD_DischargeComplete": null, "PW1_POD_PermanentlyFaulted": null, "PW1_POD_PersistentlyFaulted": null, "PW1_POD_enable_line": null, "PW1_POD_available_charge_power": null, "PW1_POD_available_dischg_power": null, "PW1_POD_nom_energy_remaining": 9290, "PW1_POD_nom_energy_to_be_charged": null, "PW1_POD_nom_full_pack_energy": 14861, "PW1_PackagePartNumber": "3012170-05-C", "PW1_PackageSerialNumber": "TG122280002C9A", "PW1_pinv_state": "PINV_GridFollowing", "PW1_pinv_grid_state": "Grid_Compliant", "PW1_p_out": -90, "PW1_q_out": 0, "PW1_v_out": 234.7, "PW1_f_out": 49.966, "PW1_i_out": -0.2, "PW1_energy_charged": 2161374, "PW1_energy_discharged": 1887176, "PW1_off_grid": 0, "PW1_vf_mode": 0, "PW1_wobble_detected": 0, "PW1_charge_power_clamped": 0, "PW1_backup_ready": 1, "PW1_OpSeqState": "Active", "PW1_version": "0fe780c991e052", "time_remaining_hours": 22.4531722054381, "backup_reserve_percent": 20, "nominal_full_pack_energy": 14861, "nominal_energy_remaining": 9290 }

Il giorno mer 1 mag 2024 alle ore 05:30 Jason Cox @.***> ha scritto:

Ugh. Thanks @BuongiornoTexas https://github.com/BuongiornoTexas. Another casualty of the Firmware upgrade. The raw data is being sourced from:

(replace localhost with the IP address of your Dashboard host if not local)

— Reply to this email directly, view it on GitHub https://github.com/jasonacox/Powerwall-Dashboard/issues/472#issuecomment-2087924602, or unsubscribe https://github.com/notifications/unsubscribe-auth/BBYBIDN5XON2X6DJ3LEXJCDZABOV7AVCNFSM6AAAAABG6VF5SCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOBXHEZDINRQGI . You are receiving this because you were mentioned.Message ID: @.***>

jasonacox commented 2 months ago

@BuongiornoTexas and @silvestrob - Do you see the same data at http://localhost:8675/api/solar_powerwall ? If you get more data on that call, we may be able to capture that.

With the new Firmware, in the US we no longer get the two phases (VSplit, each 120V) but get the aggregate (240v) only:

{
"PW1_name": null,
"PW1_PINV_Fout": 60.021,
"PW1_PINV_VSplit1": null,
"PW1_PINV_VSplit2": null,
"PW1_PackagePartNumber": "2012170-25-E",
"PW1_PackageSerialNumber": "XXXXXXXXXXX",
"PW1_p_out": 590,
"PW1_q_out": -10,
"PW1_v_out": 240.20000000000002,
"PW1_f_out": 60.021,
"PW1_i_out": -12.700000000000001,
"PW2_name": null,
"PW2_PINV_Fout": 60.021,
"PW2_PINV_VSplit1": null,
"PW2_PINV_VSplit2": null,
"PW2_PackagePartNumber": "3012170-05-B",
"PW2_PackageSerialNumber": "XXXXXXXXXXX",
"PW2_p_out": 560,
"PW2_q_out": 0,
"PW2_v_out": 240.4,
"PW2_f_out": 60.021,
"PW2_i_out": -12.3,
"grid_status": 1
}
BuongiornoTexas commented 2 months ago

Unfortunately, that's a no go for people with non-Telsa solar (me and many others!). If this solar_powerwall does offer additional data, then we may want to offer an either/or for users. While I'd like to get more frequency info, I definitely don't want to lose the limited data I get at the moment!

silvestrob commented 2 months ago

Unfortunately the return was "null"

It means that I will settle for the data that are still available. p

Il giorno gio 2 mag 2024 alle ore 05:07 Jason Cox @.***> ha scritto:

@BuongiornoTexas https://github.com/BuongiornoTexas and @silvestrob https://github.com/silvestrob - Do you see the same data at http://localhost:8675/api/solar_powerwall ? If you get more data on that call, we may be able to capture that.

With the new Firmware, in the US we no longer get the two phases (VSplit, each 120V) but get the aggregate (240v) only:

{"PW1_name": null,"PW1_PINV_Fout": 60.021,"PW1_PINV_VSplit1": null,"PW1_PINV_VSplit2": null,"PW1_PackagePartNumber": "2012170-25-E","PW1_PackageSerialNumber": "XXXXXXXXXXX","PW1_p_out": 590,"PW1_q_out": -10,"PW1_v_out": 240.20000000000002,"PW1_f_out": 60.021,"PW1_i_out": -12.700000000000001,"PW2_name": null,"PW2_PINV_Fout": 60.021,"PW2_PINV_VSplit1": null,"PW2_PINV_VSplit2": null,"PW2_PackagePartNumber": "3012170-05-B","PW2_PackageSerialNumber": "XXXXXXXXXXX","PW2_p_out": 560,"PW2_q_out": 0,"PW2_v_out": 240.4,"PW2_f_out": 60.021,"PW2_i_out": -12.3,"grid_status": 1 }

— Reply to this email directly, view it on GitHub https://github.com/jasonacox/Powerwall-Dashboard/issues/472#issuecomment-2089450880, or unsubscribe https://github.com/notifications/unsubscribe-auth/BBYBIDJ3HEADV46NKXOZVH3ZAGUYNAVCNFSM6AAAAABG6VF5SCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOBZGQ2TAOBYGA . You are receiving this because you were mentioned.Message ID: @.***>