Skip to content

Instantly share code, notes, and snippets.

View szechuen's full-sized avatar
🦈
Wiresharking

Sze Chuen Tan szechuen

🦈
Wiresharking
View GitHub Profile
@koleson
koleson / sunpower_ess_mode_set.sh
Last active July 5, 2025 18:23
Script to set SunPower SunVault ESS discharge mode via SunPower GraphQL API
#!/usr/bin/env zsh
# Created 5 April 2023 by Kiel Oleson - [email protected] - @kielo
# updated 6 July 2024
#
# example usage: ./sunpower_ess_mode_set.sh -m SELF_CONSUMPTION -r 0.04 -s A_123456 -u [email protected] -p SuperSecret1!
#
# README/NOTES: https://gist.github.com/koleson/db9df38ef6051715d743e572acebdd4d
#