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

Storm Mode switch not functional #95

Open
3 tasks done
purcell-lab opened this issue Jun 7, 2024 · 0 comments
Open
3 tasks done

Storm Mode switch not functional #95

purcell-lab opened this issue Jun 7, 2024 · 0 comments

Comments

@purcell-lab
Copy link
Contributor

Checklist

  • I have filled out the issue template to the best of my ability.
  • This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
  • This issue is not a duplicate issue of any previous issues..

Describe the issue

The storm mode switch changes are not reflected in the Tesla App, and thus I suspect are not being updated.

image

There are three relevant endpoints:

energysites.live.storm_mode_active: (true/ false) should be reflected as a binary sensor to report when storm_mode has been activated (ie when there is a storm and powerwall is actively charging - happens fairly infrequently)

energysites.info.storm_mode_enabled: (true/ false) this should be reflected as a binary switch and matches the switch in the Tesla app to enable the watch function.

energysites.info.storm_mode_capable: (true/ false) is always true for me, but I would invisage some sites might not support this capacility.

Reproduction steps

No response

Debug logs

"energysites": [
      {
        "live": {
          "solar_power": 10141,
          "percentage_charged": 38.37517955371387,
          "battery_power": -3970,
          "load_power": 6171,
          "grid_status": "Active",
          "grid_services_active": false,
          "grid_power": 0,
          "generator_power": 0,
          "island_status": "on_grid",
          "storm_mode_active": false,
          "timestamp": "2024-06-07T11:47:12+10:00",
          "wall_connectors": {
            "1529455-02-E--PGT22325087207": {
              "din": "1529455-02-E--PGT22325087207",
              "wall_connector_state": 2,
              "wall_connector_fault_state": 2,
              "wall_connector_power": 0,
              "ocpp_status": 1
            },
            "1529455-02-E--PGT22325086977": {
              "din": "1529455-02-E--PGT22325086977",
              "vin": "**REDACTED**",
              "wall_connector_state": 1,
              "wall_connector_fault_state": 8,
              "wall_connector_power": 412.52075,
              "ocpp_status": 1
            }
          }
        },
        "info": {
          "id": "1152100-14-J--CN321293G4J50D",
          "site_name": "Gateway",
          "backup_reserve_percent": 38,
          "default_real_mode": "self_consumption",
          "installation_date": "**REDACTED**",
          "user_settings_go_off_grid_test_banner_enabled": false,
          "user_settings_storm_mode_enabled": false,
          "user_settings_powerwall_onboarding_settings_set": true,
          "user_settings_powerwall_tesla_electric_interested_in": false,
          "user_settings_vpp_tour_enabled": true,
          "user_settings_sync_grid_alert_enabled": true,
          "user_settings_breaker_alert_enabled": false,
          "user_settings_off_grid_vehicle_charging_enabled": true,
          "components_solar": true,
          "components_solar_type": "pv_panel",
          "components_battery": true,
          "components_grid": true,
          "components_backup": true,
          "components_gateway": "teg",
          "components_load_meter": true,
          "components_tou_capable": true,
          "components_storm_mode_capable": true,
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

1 participant