Skip to main content

Maintenance

Easee EV Charger library

This library is an async thin wrapper around Easee's Rest API

Installation

You can install the libray from PyPI:

pip install pyeasee

The library is tested on Python 3.13

Command line tool

Run python -m pyeasee -h for help.

Usage of the library

Docs

Read the API documentation here

Small example

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.

Development

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.

Metadata

Release files for pyeasee 0.8.17

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyeasee 0.8.17
File Size Uploaded
pyeasee-0.8.17.tar.gz 28.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pyeasee 0.8.17
File Interpreter ABI Platform
pyeasee-0.8.17-py3-none-any.whl Python 3 none any Details

Total release size: 55.3 kB

Release files / pyeasee-0.8.17.tar.gz

Download URL pyeasee-0.8.17.tar.gz
Size 28.0 kB
Tags Source
SHA-256 checksum
How to use checksums
4c3bf2db343ae4f6b6d1fa7fa76ded2430918db24bb3a81de49231e02bf98fdb
BLAKE2b-256 checksum
How to use checksums
c222c38a5fbb3b41e0866746945f1dc7603ef0a5e4663568743296d79883de4f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.4

Release files / pyeasee-0.8.17-py3-none-any.whl

Download URL pyeasee-0.8.17-py3-none-any.whl
Size 27.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5ff038be5b15b6091052ec17c7e7c199fd62ec786d2f7fc0bc76c966c15afea2
BLAKE2b-256 checksum
How to use checksums
622266c060cadecd557d2aff6d221d77b5544d7f195551ae34bc413dd68048a0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.4

Release history Release notifications | RSS feed

0.8.18

2 release files

This release

0.8.17 This release

2 release files

0.8.16

2 release files

0.8.15

2 release files

0.8.14

2 release files

0.8.13

2 release files

0.8.10

2 release files

0.8.9

2 release files

0.8.8

2 release files

0.8.7

2 release files

0.8.6

2 release files

0.8.5

2 release files

0.8.4

2 release files

0.8.3

2 release files

0.8.2

2 release files

0.8.1

2 release files

0.8.0

2 release files

0.7.54

2 release files

0.7.53

2 release files

0.7.52

2 release files

0.7.50

2 release files

0.7.49

2 release files

0.7.47

2 release files

0.7.46

2 release files

0.7.45

2 release files

0.7.44

2 release files

0.7.43

2 release files

0.7.42

2 release files

0.7.40

2 release files

0.7.38

2 release files

0.7.37

2 release files

0.7.36

2 release files

0.7.35

2 release files

0.7.29

2 release files

0.7.28

2 release files

0.7.27

2 release files

0.7.26

2 release files

0.7.25

2 release files

0.7.24

2 release files

0.7.23

2 release files

0.7.22

2 release files

0.7.21

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page