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.2

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.2
File Size Uploaded Provenance Actions
pyecodevices-1.7.2.tar.gz 4.4 kB With provenance Details for pyecodevices-1.7.2.tar.gz

Built distribution (wheel)

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

Total release size: 8.9 kB

Release files / pyecodevices-1.7.2.tar.gz

Download URL pyecodevices-1.7.2.tar.gz
Size 4.4 kB
Tags Source
SHA-256 checksum
How to use checksums
bc5745b245248bdcfa39e33905f7711a0a1489fa354ce93cd2286019424b1a97
BLAKE2b-256 checksum
How to use checksums
6e3d140aa1d3727dd4009a8710b6e5c64db94ad222dc0bdd1120501a012609d9
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.2-py3-none-any.whl

Download URL pyecodevices-1.7.2-py3-none-any.whl
Size 4.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a046d4f181892ecbcb0d422f19d2c3d0c7ee17cc6b5372781313b64e8f6b7ab4
BLAKE2b-256 checksum
How to use checksums
76dcdfc4bab231348afade7755ebb29fc533eb9de837e335c36b3f0f0713b617
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.2

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.2.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