Skip to main content

Easee EV charger API library

Project description

Maintenance Easee library

Easee EV Charger library

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.7 and Python 3.8

Command line tool

Run python -m pyeasee -h for help.

Usage of the library


Read the API documentation here

Small example

Save the example to a file and run it like this: python3 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>")

    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 {} ({})")
        equalizers = site.get_equalizers()
        for equalizer in equalizers:
            print(f"  Equalizer: {} ({})")
        circuits = site.get_circuits()
        for circuit in circuits:
            print(f"  Circuit {}")
            chargers = circuit.get_chargers()
            for charger in chargers:
                state = await charger.get_state()
                print(f"    Charger: {} ({}) status: {state['chargerOpMode']}")

    await easee.close()

See also 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

Attribution, support and cooperation

This project was started by the late Niklas Fondberg, @fondberg. The repository has been inherited by his collaborators.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyeasee-0.7.55.tar.gz (23.2 kB view hashes)

Uploaded source

Built Distribution

pyeasee-0.7.55-py3-none-any.whl (24.9 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page