Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

enovates_modbus-0.1.2.tar.gz (10.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

enovates_modbus-0.1.2-py3-none-any.whl (12.7 kB view details)

Uploaded Python 3

File details

Details for the file enovates_modbus-0.1.2.tar.gz.

File metadata

  • Download URL: enovates_modbus-0.1.2.tar.gz
  • Upload date:
  • Size: 10.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.25 {"installer":{"name":"uv","version":"0.9.25","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

Hashes for enovates_modbus-0.1.2.tar.gz
Algorithm Hash digest
SHA256 c8393d44aa473327fff43409a2bdadeda36822670faa52d3e1f06259d0f87ce7
MD5 0d8a3813a588baee3f424a54c0aedb5f
BLAKE2b-256 6ac018ff1f58e3e16db8f12fe3f4233e11329decf43edffbdec2fd992d985865

See more details on using hashes here.

File details

Details for the file enovates_modbus-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: enovates_modbus-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 12.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.25 {"installer":{"name":"uv","version":"0.9.25","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

Hashes for enovates_modbus-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 545292951227e4f8fa80443bbb7197bfd9495e1208cfd3135ac065f8f5a7b122
MD5 5ee25f9c303374a92fff9c40005230ba
BLAKE2b-256 96904b252fe6fff5033086410e9f056945ad114017819101253e6755a74e3854

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page