Skip to main content

Library to connect and query information about electricmeters following REE protocol.

Project description

https://travis-ci.com/gisce/iec870ree.svg?branch=master https://coveralls.io/repos/github/gisce/iec870ree/badge.svg?branch=master

IEC-870-5-102 for REE Spanish Electric meters

Documentation about this protocol:

Installation

$ pip install iec870ree

Configuration of devices:

Implemented ASDUs

  • C_AC_NA_2: Authentication (Already implemented on origin)

  • C_CI_NU_2: Read integrated totals incremental values (Already implemented on origin)

  • M_IT_TK_2: Answer to C_CI_NU_2 (Already implemented on origin)

  • C_CI_NT_2: Read integrated totals absolute values

  • M_IT_TG_2: Answer to C_CI_NT_2

  • C_FS_NA_2: Finish session (Already implemented on origin)

  • C_TI_NA_2: Read current date and time

  • M_TI_TA_2: Answer to C_TI_NA_2

  • C_RD_NA_2: Read manufacturer and device identifiers

  • P_MP_NA_2: Answer to C_RD_NA_2

  • C_TA_VC_2: Read metering information Current values

  • M_TA_VC_2: Answer to C_TA_VC_2

  • C_TA_VM_2: Read metering information Saved values

  • M_TA_VM_2: Answer to C_TA_VM_2

  • C_CB_UN_2: (optional) Read integrated totals incremental values. With blocks choices. Similar to C_CI_NU_2.

  • M_IB_TK_2: Answer to C_CB_UN_2

  • C_CS_TA_2: Set date and time of meter (sincro). Use this ASDU as a response

  • C_PC_NA_2: Read contracted powers

  • M_PC_NA_2: Answer to C_PC_NA_2

History of this project

Initial project was writen by Javier de la Puente and was called reeprotocol . Then GISCE-TI started working on it and implemented Ip Layer, base changes and new ASDUs. With that we put this library in production 🚀! Our working speed was different from the main repo pace so we started a new project forked from the original. You can see the issue with the history here.

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

iec870ree-0.12.1.tar.gz (30.4 kB view details)

Uploaded Source

File details

Details for the file iec870ree-0.12.1.tar.gz.

File metadata

  • Download URL: iec870ree-0.12.1.tar.gz
  • Upload date:
  • Size: 30.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.10.0 readme-renderer/34.0 requests/2.23.0 requests-toolbelt/1.0.0 urllib3/1.26.18 tqdm/4.64.1 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.9

File hashes

Hashes for iec870ree-0.12.1.tar.gz
Algorithm Hash digest
SHA256 1c96267221dd32a976d816fbcd793b782746c1f3ec4e01b4dc778b601c217d42
MD5 5a4a022d4fa99d75016d8e588cfedaeb
BLAKE2b-256 35f91b56a382f9587a102c0a6b9b895ecd9aeb65ad82803ee7da560726db02dd

See more details on using hashes here.

Supported by

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