
Product
Introducing Webhook Events for Alert Changes
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.
pyeasee
Advanced tools
This library is an async thin wrapper around Easee's Rest API
You can install the libray from PyPI:
pip install pyeasee
The library is tested on Python 3.13
Run python -m pyeasee -h for help.
Read the API documentation here
Save the example to a file and run it like this: python3 example.py Username is the phone number that was used to register the Easee account with country code. E.g. +46xxxxxxxxx.
import asyncio
import sys
from pyeasee import Easee
async def async_main():
if len(sys.argv) < 3:
print(f"Usage: {sys.argv[0]} <username> <password>")
return
print(f"Logging in using: {sys.argv[1]} {sys.argv[2]}")
easee = Easee(sys.argv[1], sys.argv[2])
sites = await easee.get_sites()
for site in sites:
print(f"Site {site.name} ({site.id})")
equalizers = site.get_equalizers()
for equalizer in equalizers:
print(f" Equalizer: {equalizer.name} ({equalizer.id})")
circuits = site.get_circuits()
for circuit in circuits:
print(f" Circuit {circuit.id}")
chargers = circuit.get_chargers()
for charger in chargers:
state = await charger.get_state()
print(f" Charger: {charger.name} ({charger.id}) status: {state['chargerOpMode']}")
await easee.close()
asyncio.run(async_main())
See also __main__.py for a more complete usage example.
This project uses black for code formatting and flake8 for linting. To autoformat and run lint run
make lint
This project was started by the late Niklas Fondberg, @fondberg. The repository has been inherited by his collaborators.
FAQs
Easee EV charger API library
We found that pyeasee demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.

Product
Socket now scans OpenVSX extensions, giving teams early detection of risky behaviors, hidden capabilities, and supply chain threats in developer tools.

Product
Bringing supply chain security to the next generation of JavaScript package managers