Linky CLI
A CLI tool to retrieve your Linky power consumption
If you are looking for a Node.js module, check out @bokub/linky
Install
$ npm i -g linky-cli
Usage
linky
linky (hour|day|month|year) -u <email> -p <password>
linky -o <path>
linky -s <DD/MM/YYYY> -e <DD/MM/YYYY>
linky --help
linky hour [options]
Retrieve power consumption with a step of 30 minutes
Default time period: Yesterday
linky week [options]
Retrieve power consumption with a step of 1 day
You cannot retrieve more than 31 days at once
Default time period: Last 31 days
linky month [options]
Retrieve power consumption with a step of 1 month
You cannot retrieve more than 12 months at once
Default time period: Last 12 months
linky year [options]
Retrieve all your power consumption with a step of 1 year
You cannot use a custom time period