SunPower ESS Mode Set Shell Script README
script: https://gist.github.com/koleson/d78da48497575455b9be6a3c96951bd1
other PVS6 hardware/software notes: https://gist.github.com/koleson/5c719620039e0282976a8263c068e85c
I don't have access to any SunPower GraphQL API docs. Solely reverse-engineered.