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.14

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.22

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.22
File Size Uploaded Provenance Actions
pyeasee-0.8.22.tar.gz 30.3 kB Without provenance Details for pyeasee-0.8.22.tar.gz

Built distribution (wheel)

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

Total release size: 59.5 kB

Release files / pyeasee-0.8.22.tar.gz

Download URL pyeasee-0.8.22.tar.gz
Size 30.3 kB
Tags Source
SHA-256 checksum
How to use checksums
2a5ae7a1440428a0ca449da453031e42c1b4282fb65b2490803616886e57f008
BLAKE2b-256 checksum
How to use checksums
b14c8cec16111641272277e3bb732b79e8c16d399481815ad3ada3eec5629bca
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.9

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

Download URL pyeasee-0.8.22-py3-none-any.whl
Size 29.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
703fad7731722a9c9f72a5b2ff57514d6011f1793d58bf01978e1bc66e395471
BLAKE2b-256 checksum
How to use checksums
cfd3d16d8b18029b13145d44b29d3973705d41bb4413f2c5d44836295825c976
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.9

Security for pyeasee 0.8.22

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.8.22 This release

2 release files No provenance

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