Library for Modbus TCP communication with Enovates EVSE
Project description
enovates-modbus
A library to communicate with Enovates EVSEs over Moodbus TCP.
This library is designed for use with the Enovates Home Assistant integration.
Other EVSE models than listed below may work or be added in the future. The minimum Modbus API version is 1.2, update your EVSE's firmware to 2.13 or later if needed.
Beware: The EVSE's Modbus communication must be enabled, this cannot be done via this library. The relevant setting may be called "EMS mode", and should be switchable between "Off", "Monitoring Only" and "Full Control". It must be enabled by the Installer or via OCPP. There is currently no switch for it in the end user app.
ENO one
Device: https://www.enovates.com/products/singlewallbox
Always available, if EMS Mode/Modbus is enabled:
- Modbus API version
- major (int)
- minor (int)
- State
- nr of phases (int)
- max amp per phase (A)
- ocpp state (bool)
- load shedding state (bool)
- lock state (enum)
- contactor state (bool)
- led color (enum)
- Measurements
- current on L1, L2, L3 (mA)
- voltage on L1, L2, L3 (V)
- charge active power total, L1, L2, L3 (W)
- installation current L1, L2, L3 (mA)
- active energy import total (Wh)
- Current Offered (mA)
- Mode 3 Details
- state (enum and str)
- pwm (in promille and mA)
- pp (max cable current, if socketed)
- cp + and - (volts)
- Diagnostics
- manufacturer (str)
- vendor id (str)
- serial nr (str)
- model id (str)
- firmware version (str)
If EMS/Modbus TCP mode is "Monitoring only":
- EMS current limit (mA) Read only. Writes may be accepted but are ignored
- Transaction token (str) NOT available. Reading will error.
If EMS/Modbus TCP mode is "Full control":
- EMS current limit (mA) Read / Write.
- Transaction token (str)
The recommended registers for active power management are the "Current Offered", "EMS Current Limit" and the registers under Measurements. For cars that support digital communication (ISO 15118), the values under Mode 3 Details could give a false impression of the EVSE/car behaviour.
Development
Contributions may be accepted under the terms of the Apache License, Version 2.0.
This project uses uv for project management. If you are not familiar, read its Getting Started and Project structure guide in particular.
After cloning the repo and setting up your working environment with uv, make sure to install pre-commit's hooks if your global git configuration lacks them:
pre-commit install
All checks should pass before you push your code. Merge requests with violations are likely to be ignored until they are fully compliant.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file enovates_modbus-0.1.4.tar.gz.
File metadata
- Download URL: enovates_modbus-0.1.4.tar.gz
- Upload date:
- Size: 11.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b0f697b2b0ea8d23913b43ff9d5bc2a0c68616c64eb3f2d2d6bc2eb8257137eb
|
|
| MD5 |
4eb68a50f8de35cee817e31e7e0c3ac3
|
|
| BLAKE2b-256 |
808b56a6fd001da3bc17dbb80f04ae252c2a00c9d3d67b763125f662951cc5e8
|
File details
Details for the file enovates_modbus-0.1.4-py3-none-any.whl.
File metadata
- Download URL: enovates_modbus-0.1.4-py3-none-any.whl
- Upload date:
- Size: 12.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
136d0c5ceb24dd7e9ff8f7266122e055f8c017de346c30e30e32aced56fcc59e
|
|
| MD5 |
41dbff7e3c95ee8db660a008e05e0d2f
|
|
| BLAKE2b-256 |
b79d3e9dbea861e9a6825bbdb8ac3fc5d66f36754b1eb350e03adba6837d4246
|