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.14.1.tar.gz (38.5 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: iec870ree-0.14.1.tar.gz
  • Upload date:
  • Size: 38.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.13

File hashes

Hashes for iec870ree-0.14.1.tar.gz
Algorithm Hash digest
SHA256 e779e3209e249bd029336c23e58f05c6af80e9a8304bd914ad2a0ba725f8a538
MD5 cda9dbfe91a96390b1f7ffaf01ce0d01
BLAKE2b-256 510e2972b84d33d89cf898f5896a88364648f2d6b24cd4267ab361aa39eb4b04

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