Repository navigation
Summary
This update involves numerous changes, including support for the "V1" API version with some breaking changes regarding units and deprecation of older objects and APIs. Most existing methods should still work and Emporia still supports the old API for now, but you should swap to the V1 API in the near future. Expect old endpoints to break in v0.20.
Thanks to @wirecuttr for spending their AI tokens on these updates.
What's Changed
- test: Add pytest test harness, ruff linting, and legacy baseline regression suite by @wirecuttr in #104
- feat(v1): Add V1 bearer auth, unified device/channel hierarchy with has_data, and VueSite models by @wirecuttr in #105
- feat(v1): Add V1 multi-device usages and split-phase voltage telemetry by @wirecuttr in #106
- feat(v1): Modernize EVSE endpoints to V1 and add live charging session telemetry by @wirecuttr in #107
- feat(v1): Add V1 EVSE excess solar generation management and full-power override by @wirecuttr in #108
- fix(v1): map Unit.AMPHOURS to AMP_HOURS and Unit.USD to DOLLARS by @wirecuttr in #117
- docs: document V1 API routes and fix charger update route by @wirecuttr in #116
- fix(auth): raise ValueError on blank or missing credentials instead of AttributeError by @wirecuttr in #115
- refactor: introduce canonical EVSEDevice model with non-breaking ChargerDevice alias by @wirecuttr in #113
- feat: add peak demand telemetry and management client APIs by @wirecuttr in #114
- docs: document v0.18/v0.19 breaking changes and kWh-to-Watts migration by @wirecuttr in #112
- docs: add self-contained quickstart example to README by @wirecuttr in #111
- feat(v1): Add real-time SSE push stream client (pyemvue/stream.py) for device status events by @wirecuttr in #109
- feat(simulator): Add V1 routes to development simulator for offline testing by @wirecuttr in #110
New Contributors
- @wirecuttr made their first contribution in #104
Full Changelog: v0.18.9...v0.19.0