Coder Social home page Coder Social logo

ufd-electricity-meter's Introduction

Motivation

Adquiring data from meter readings and current consuptions at the moment from an electricity meter.

UFD - Union Fenosa Distribucion

In Spain every electricity client has been assigned to a distribution company depending on the area, in this case **Union Fenosa Distribucion".

The smart meter sends data periodically about the readings in order to know the electricity being consumed and that data is stored in order to calculate the client's bill.

Client's can access to this data through the next page:

https://areaprivada.ufd.es/login

Data adquisition automation

This project automates data adquisition with nodejs + puppeteer and is storing results on "output" folder as:

  • meter_readings.json -> meter's readings at this moment.
  • consumptions.json -> meter's historic consumptions.

Run

Running :

node main.js --user $UFD_USER --pass $UFD_PASS

Output :

user: 12345678X
pass: ****
wait: 15000 ms (default)
===============
Results: 
Saved results as  output/consumptions.json
Saved results as  output/meter_readings.json

Username and password must be provided.

The "wait" parameter (--wait 20000) is optional and can be used to wait for a greater amount of time before closing the browser (puppeteer) for interaction between the nodejs app and the browser.

ufd-electricity-meter's People

Contributors

juliomederos avatar

Stargazers

 avatar David Martínez avatar Angel Alonso avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.