Skip to content
This repository has been archived by the owner on Oct 30, 2020. It is now read-only.
/ linky-cli Public archive

⛔️ DEPRECATED - A CLI tool to retrieve your Linky power consumption

License

Notifications You must be signed in to change notification settings

bokub/linky-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Linky CLI

Version Build Status Engines Code style

A CLI tool to retrieve your Linky power consumption

This tool is deprecated and does not work anymore. You can use linky instead
Cet outil ne fonctionne plus et n'est plus maintenu. Utilisez plutôt linky !

Screenshot

Install

$ npm i -g linky-cli

Usage

# Basic usage (interactive)
linky

# Basic usage (no questions asked)
linky (hour|day|month|year) -u <email> -p <password>

# Save data to JSON file with -o
linky -o <path>

# Custom time period with -s (start) and -e (end)
linky -s <DD/MM/YYYY> -e <DD/MM/YYYY>

# Show help and more examples
linky --help

linky hour [options]

Retrieve power consumption with a step of 30 minutes

Default time period: Yesterday

linky day [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