Skip to content

v0.7.1 - Tesla Cloud Mode

Compare
Choose a tag to compare
@jasonacox jasonacox released this 30 Dec 00:16
· 214 commits to main since this release
8e87761

What's Changed

  • Localize PowerFlow Animation by @jasonacox in #58
  • Added new API function to compute estimated backup time remaining on the battery: get_time_remaining()
  • Simulate Powerwall Energy Gateway via Tesla Cloud API calls. In cloudmode API calls to pypowerwall APIs will result in calls made to the Tesla API to fetch the data. Tesla Cloud Option by @jasonacox and @mcbirse in #59

Cloud Mode Setup - Use pypowerwall to fetch your Tesla Owners API Token

python3 -m pypowerwall setup

# Token and site information stored in .pypowerwall.auth and .pypowerwall.site

Cloud Mode Code Example

import pypowerwall

pw = pypowerwall.Powerwall(email="email@example.com",cloudmode=True)

pw.power()
# Output: {'site': 2977, 'solar': 1820, 'battery': -3860, 'load': 937}

pw.poll('/api/system_status/soe')
# Output: '{"percentage": 26.403205103271222}'

Full Changelog: v0.6.3...v0.7.1