Skip to main content

Maintenance Easee library

Buy me a coffee

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

Command line tool

Run python -m pyeasee -h for help.

Usage of the library

Docs

Read the API documentation here

Small example

Easee is the connection class and Charger

from pyeasee import Easee, Charger, Site

async def main():
    _LOGGER.info("Logging in using: %s %s", sys.argv[1], sys.argv[2])
    easee = Easee(sys.argv[1], sys.argv[2])
    chargers = await easee.get_chargers()
    for charger in chargers:
        state = await charger.get_state()
        _LOGGER.info("Charger: %s status: %s", charger.name, state["chargerOpMode"])

    sites = await easee.get_sites()
    for site in sites:
        _LOGGER.info("Get sites circuits chargers: %s", site["createdOn"])
        charger = site.get_circuits()[0].get_chargers()[0]
        state = await charger.get_state()
        _LOGGER.info("Charger: %s status: %s", charger.name, state["chargerOpMode"])

    await easee.close()

Development

This project uses black for code formatting and flake8 for linting. To autoformat and run lint run

make lint

Metadata

Release files for pyeasee 0.7.21

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.7.21
File Size Uploaded
pyeasee-0.7.21.tar.gz 10.7 kB Details

Built distribution (wheel)

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

Total release size: 23.1 kB

Release files / pyeasee-0.7.21.tar.gz

Download URL pyeasee-0.7.21.tar.gz
Size 10.7 kB
Tags Source
SHA-256 checksum
How to use checksums
7a889884339fe2b9e14bd2ffc2b5df7f04228a5f3d76fe33bef93b03cd1e772f
BLAKE2b-256 checksum
How to use checksums
7f884959453df90bd8f299640f5f7e5f09ca418b6f5fc1a81e2bb91b937bd417
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.5

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

Download URL pyeasee-0.7.21-py3-none-any.whl
Size 12.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c569be7c96dcf3239cf5bdbc1a4b4c240467150997b57bc64d59aa10dbf1c6f9
BLAKE2b-256 checksum
How to use checksums
f4e610569073e0744d228eb6cacaab98250fbced8a0a08285190c3130ca815d5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.5

Release history Release notifications | RSS feed

0.8.18

2 release files

0.8.17

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

This release

0.7.21 This release

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