Skip to main content

pyEOCharging

Python Library For interacting with EO Home EV Chargers.

This has only been tested with a EO Mini Pro 2.

Example usage:

import eocharging

conn = eocharging.connection("email_address", "password")

devices = conn.get_devices() #Get list of devices on account
print(devices)

sessions = devices[0].get_sessions()
print(sessions) #Print list of sessions from all time from first device on account

devices[0].disable() #Disable/lock the charger
devices[0].enable() #Enable/unlock the charger

currentChargeOpt = devices[0].get_chargeOpts() #get charger current settings
print(currentChargeOpt.__dict__) #show charger current settings

Note that among other things, get_chargeOpts returns a cpid which is needed to amend options (see set_chargeOpts)

newChargeOpts = eocharging.Device.chargeOpts(cpid=currentChargeOpt.cpid,opMode=newOpMode) #Construct new charger options - for full list, see those returned from get_chargeOpts()
devices[0].set_chargeOpts(newChargeOpts) #Set charger options. cpid is mandatory, plus at least one option to change.
currentChargeOpt = devices[0].get_chargeOpts() #Check new option was applied successfully

Metadata

Release files for pyEOCharging 0.0.7

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

Source distribution (sdist)

Source distribution for pyEOCharging 0.0.7
File Size Uploaded
pyeocharging-0.0.7.tar.gz 4.5 kB Details

Built distribution (wheel)

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

Total release size: 10.4 kB

Release files / pyeocharging-0.0.7.tar.gz

Download URL pyeocharging-0.0.7.tar.gz
Size 4.5 kB
Tags Source
SHA-256 checksum
How to use checksums
81368cc6e6881f5a0642f4605d032882be5a8f27da759604a781e4738a0a05da
BLAKE2b-256 checksum
How to use checksums
e0ed4f51592ab2e82e32b8344bed06746935d2c272b19d1d6d466da58d332e48
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.10

Release files / pyEOCharging-0.0.7-py3-none-any.whl

Download URL pyEOCharging-0.0.7-py3-none-any.whl
Size 5.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fff9372b5798a64a568d1ee9229c0696d38a5c5dd3ce5aad3daa5586777ecf19
BLAKE2b-256 checksum
How to use checksums
d8261c4804eb07aacd108076530a5edff7828cc15555bdc233c9f6eac4a15035
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.10

Release history Release notifications | RSS feed

This release

0.0.7 This release

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

1 release file

0.0.3

1 release file

0.0.2

1 release file

0.0.1

1 release file

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