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

Missing ? energy_sites/grid_import_export #69

Open
avecezar opened this issue Jan 27, 2024 · 3 comments
Open

Missing ? energy_sites/grid_import_export #69

avecezar opened this issue Jan 27, 2024 · 3 comments
Labels
enhancement New feature or request tesla cloud Tesla Cloud API

Comments

@avecezar
Copy link

Is it possible to add the following to READ and SET

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

@jasonacox jasonacox added enhancement New feature or request tesla cloud Tesla Cloud API labels Jan 28, 2024
@jasonacox
Copy link
Owner

Hi, @avecezar , I assume you are talking about the tools - Yes, these could be added. I often thought it would be good to have a single command line tool to do all these updates or polls. I'll flag that as a TODO and add these.

If anyone wants to take this on and combine/expand any of the set-mode or set-reserve tools, please feel free and submit a PR. I won't have time to work on it for a while.

@avecezar
Copy link
Author

avecezar commented Jan 29, 2024 via email

@jasonacox
Copy link
Owner

Yes, that would be a new tool (to turn on/off grid charging). I suspect much of the code is already in one of the existing tools, but someone needs to investigate how to poll and change the "grid charing" setting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request tesla cloud Tesla Cloud API
Projects
None yet
Development

No branches or pull requests

2 participants