goenergy is a tool designed to scrape your electrical energy usage data from the portaledistributore.edyna.net
website, as they do not provide a public API.
Download the prebuilt binary from releases or compile it yourself:
- Clone the repository:
git clone https://github.com/schgab/goenergy.git
- Navigate to the project directory:
cd goenergy
- Install dependencies:
go mod tidy
To use goenergy, you need an account on portaledistributore.edyna.net. Run the following command, replacing <username>
, <password>
, and <codice_misuratore>
with your actual credentials:
./goenergy -u <username> -p <password> -d <codice_misuratore>
To output the data to a CSV file, you can use the -o
flag. The filename will follow the pattern <codice_misuratore>_<year>_<month>.csv
. Here is an example command:
./goenergy -u <username> -p <password> -d <codice_misuratore> -o
For additional options and help, you can print the help message:
./goenergy --help
This project is not affiliated with or endorsed by portaledistributore.edyna.net.