Money › Precio Luz
thumb_up Follow me on GitHub to get notifications about my projects (like Fossdroid Core), thanks! close

Precio Luz

Official electricity rate in Spain (PVPC)
Version: 1.1.1
Added: 16-07-2020
Updated: 23-07-2020

Detailed information by hours on the price of electricity in Spain (PVPC) for efficient management of electricity consumption.


This App offers general and detailed information on the price of electricity (PVPC) and the cheapest and most expensive hours throughout a day to facilitate the adjustment of consumption habits by seeking savings in the electricity bill.


In short, this App tries to help manage electricity consumption more efficiently.


To use this App you only have to choose one of the three rates available in the PVPC and the day you want to consult. These three types of rates are:



  • 2.0 A. General rate (Default rate).

  • 2.0 DHA. Nightly rate or hourly discrimination (Efficiency 2 periods).

  • 2.0 DHS. Supervalle rate (Electric vehicle).


The application supports two methods to obtain the data: with the official API (recommended) and from a file. To use the API you need to authenticate yourself with a personal access code (token) that is obtained free of charge by requesting it by email to consultaios@ree.es. The second method, extracting data from a file, is a slower, less efficient, and more error-prone process.



Screenshot of Precio Luz Screenshot of Precio Luz Screenshot of Precio Luz
code Source file_download Download