Skip to main content

pyecodevices - Python GCE Eco-Devices

Get information from GCE Eco-Devices

Parameters

  • host: ip or hostname
  • port: (default: 80)
  • username: if authentication enabled on Eco-Devices
  • password: if authentication enabled on Eco-Devices
  • request_timeout: (default: 10)

Properties

  • host: return the host
  • version: return the firmware version
  • mac_address: return the mac address

Methods

  • get_info: get properties from the API
  • global_get: return all data from the API
  • get_t1: return values of input T1
  • get_t2: return values of input T2
  • get_c1: return values of input C1
  • get_c2: return values of input C2

Example

from pyecodevices import EcoDevices

import asyncio


async def main():
    async with EcoDevices('192.168.1.239', '80', "username", "password") as ecodevices:
        await ecodevices.get_info()
        print("firmware version:", ecodevices.version)
        data = await ecodevices.global_get()
        print("all values:", data)
        data = await ecodevices.get_t1()
        print("teleinfo 1:", data)
        print("current:", data["current"], "VA")


if __name__ == "__main__":
    loop = asyncio.new_event_loop()
    asyncio.set_event_loop(loop)
    loop.run_until_complete(main())

Metadata

Release files for pyecodevices 1.7.1

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

Source distribution (sdist)

Source distribution for pyecodevices 1.7.1
File Size Uploaded Provenance Actions
pyecodevices-1.7.1.tar.gz 4.4 kB With provenance Details for pyecodevices-1.7.1.tar.gz

Built distribution (wheel)

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

Total release size: 8.9 kB

Release files / pyecodevices-1.7.1.tar.gz

Download URL pyecodevices-1.7.1.tar.gz
Size 4.4 kB
Tags Source
SHA-256 checksum
How to use checksums
cacff47f6d92549eaa320ebc2830b3b6d72770764e8b100bc9d6d1ebb0876d18
BLAKE2b-256 checksum
How to use checksums
6657e6e903c1b6ad9562396943c485af892f8699bd48600f8ca5dc443df203b5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 27, 2026.

Transparency log

Release files / pyecodevices-1.7.1-py3-none-any.whl

Download URL pyecodevices-1.7.1-py3-none-any.whl
Size 4.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0a89c78cf15afa39c8304eea0ece18f99aa188f84a1fce1e629ab58a813a53c2
BLAKE2b-256 checksum
How to use checksums
efdb59f29362c2e2911955496fa56dfcda5cb238c648680bd87fd0160cfd7006
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 27, 2026.

Transparency log

Security for pyecodevices 1.7.1

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for pyecodevices-1.7.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 27, 2026.

Transparency log

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.

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