Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bokub/linky-cli
⛔️ DEPRECATED - A CLI tool to retrieve your Linky power consumption
https://github.com/bokub/linky-cli
api cli consumption enedis linky linky-cli nodejs power
Last synced: 27 days ago
JSON representation
⛔️ DEPRECATED - A CLI tool to retrieve your Linky power consumption
- Host: GitHub
- URL: https://github.com/bokub/linky-cli
- Owner: bokub
- License: gpl-3.0
- Archived: true
- Created: 2018-11-01T10:14:48.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-10-30T13:32:18.000Z (about 4 years ago)
- Last Synced: 2024-11-05T18:06:07.610Z (about 2 months ago)
- Topics: api, cli, consumption, enedis, linky, linky-cli, nodejs, power
- Language: JavaScript
- Homepage:
- Size: 138 KB
- Stars: 19
- Watchers: 5
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Linky CLI
[![Version][version-src]][version-href]
[![Build Status][build-src]][build-href]
[![Engines][engine-src]][engine-href]
![Code style][style-src]> A CLI tool to retrieve your Linky power consumption
| This tool is deprecated and does not work anymore. You can use [linky](https://github.com/bokub/linky) instead |
| --- || Cet outil ne fonctionne plus et n'est plus maintenu. Utilisez plutôt [linky](https://github.com/bokub/linky) ! |
| --- |_____
![Screenshot](https://i.imgur.com/Ma925qB.png)
## Install
```
$ npm i -g linky-cli
```## Usage
```sh
# Basic usage (interactive)
linky# Basic usage (no questions asked)
linky (hour|day|month|year) -u -p# Save data to JSON file with -o
linky -o# Custom time period with -s (start) and -e (end)
linky -s
# 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
[build-src]: https://flat.badgen.net/travis/bokub/linky-cli
[build-href]: https://travis-ci.org/bokub/linky-cli
[version-src]: https://flat.badgen.net/npm/v/linky-cli?color=cyan
[version-href]: https://www.npmjs.com/package/linky-cli
[engine-src]: https://flat.badgen.net/badge/node/%3E=%207.6.0?color=orange
[engine-href]: https://www.npmjs.com/package/linky-cli
[style-src]: https://flat.badgen.net/badge/code%20style/XO?color=5ED9C7