-
I am trying to figure out what the payload is for the new Energy API grid_import_export. Any tips on how to get the request info? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Was able to find it in case anyone else needs it. https://owner-api.teslamotors.com/api/1/energy_sites/{}/grid_import_export |
Beta Was this translation helpful? Give feedback.
-
Hey @dailow, how did you find this out? I want to try to find the payloads for the rest of the commands here: https://tesla-api.timdorr.com/energy-products/energy/commands |
Beta Was this translation helpful? Give feedback.
Was able to find it in case anyone else needs it.
https://owner-api.teslamotors.com/api/1/energy_sites/{}/grid_import_export
Payload options:
"customer_preferred_export_rule": "battery_ok"
"customer_preferred_export_rule": "pv_only"
"disallow_charge_from_grid_with_solar_installed": false
"disallow_charge_from_grid_with_solar_installed": true