reeprotocol ###########
.. image:: https://travis-ci.org/javierdelapuente/reeprotocol.svg?branch=master :target: https://travis-ci.org/javierdelapuente/reeprotocol
.. image:: https://coveralls.io/repos/github/javierdelapuente/reeprotocol/badge.svg?branch=master :target: https://coveralls.io/github/javierdelapuente/reeprotocol?branch=master
IEC-870-5-102 for REE Spanish Electric meters
Based on http://www.ree.es/sites/default/files/01_ACTIVIDADES/Documentos/Documentacion-Simel/protoc_RMCM10042002.pdf and http://www.ree.es/sites/default/files/01_ACTIVIDADES/Documentos/Documentacion-Simel/AMPLIACION%20DEL%20PROTOCOLO%20Fase%202%202003-02-10.pdf
Just checkout the code, install the requirements and launch the examples with real information from devices.
To use the modem interface you will need a gsm modem. Have a look at http://www.ree.es/sites/default/files/01_ACTIVIDADES/Documentos/Documentacion-Simel/Simel_gsm_v1.0.pdf for more information.
At the moment this project is Work In Progress. I am not sure of all the aspects of the protocol, so I am writing/testing the libraries against real devices. So for now do not except this project to be anything more than a spike/prototype.
However at 20180613, there are working examples to read hourly data from meters both with tcpip and with a gsm connection.