{"id":22488574,"url":"https://github.com/outadoc/linkindle","last_synced_at":"2025-12-13T16:02:08.447Z","repository":{"id":57438737,"uuid":"72373911","full_name":"outadoc/linkindle","owner":"outadoc","description":"Générateur de graphiques de consommation d'électricité Linky pour affichage sur Kindle","archived":true,"fork":false,"pushed_at":"2020-10-02T20:20:02.000Z","size":119,"stargazers_count":72,"open_issues_count":1,"forks_count":10,"subscribers_count":9,"default_branch":"master","last_synced_at":"2024-12-03T10:08:35.589Z","etag":null,"topics":["electricity-consumption","enedis","graph-generator","iot","kindle","linky","python-3"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/outadoc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-10-30T20:33:23.000Z","updated_at":"2024-05-28T11:49:59.000Z","dependencies_parsed_at":"2022-09-08T08:03:21.902Z","dependency_job_id":null,"html_url":"https://github.com/outadoc/linkindle","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/outadoc%2Flinkindle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/outadoc%2Flinkindle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/outadoc%2Flinkindle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/outadoc%2Flinkindle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/outadoc","download_url":"https://codeload.github.com/outadoc/linkindle/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228500219,"owners_count":17930019,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["electricity-consumption","enedis","graph-generator","iot","kindle","linky","python-3"],"created_at":"2024-12-06T17:18:02.585Z","updated_at":"2025-12-13T16:02:08.088Z","avatar_url":"https://github.com/outadoc.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# Linkindle\n\n## Maintenance notice\n\nThis repo has become outdated due to changes in Enedis' website and authentication system.\nI highly recommend that you migrate to an up-to-date and better maintained project such as [guillaumezin/DomoticzLinky](https://github.com/guillaumezin/DomoticzLinky).\n\nThe original repo stays here for reference purposes. Thank you. 🙏\n\n## Linkpy library\n[![PyPI version](https://badge.fury.io/py/linkpy.svg)](https://badge.fury.io/py/linkpy)\n\nThis repository includes **Linkpy**, an easy-to-use Python package for reading \nLinky data from the Enedis website.\n\n[Check it out here.](./linkpy/)\n\n## What is this project?\nI wanted a way to display my energetic consumption on my wall, like on a weather station. I looked into different display solutions, and it turns out the nicest and easiest seems to be hacking a Kindle into displaying images refreshed periodically.\n\nI therefore started making a graph generator that would take the data reported by my Linky electricity meter. The data is sent periodically to Enedis, which in turn offers a webpage which displays it - and makes it available through a private JSON API.\n\n![Linky](https://github.com/outadoc/linkindle/raw/master/assets/linky.jpg)\n\nA few hours later, I had a Python script that could log into the Enedis website and download the meter's data. It can then be processed by the Python script, to generate PNG files of graphs that I will then display on the Kindle.\n\n## Example output\nThe script will generate the same graphs as the ones available on Enedis' website, that is to say:\n\n- Hourly consumption\n- Daily consumption\n- Monthly consumption\n- Yearly consumption\n\nHere's what it looks like:\n\n![The daily consumption graph generated by the script](https://github.com/outadoc/linkindle/raw/master/assets/linky_days.png)\n\n## Requirements\nThe scripts require a Python 3 environment with some packages, as well as a\nLaTeX distribution for generating the graphs. Here's a list for a Debian system:\n\n- `python3`\n- `python3-numpy`\n- `python3-dateutil`\n- `python3-matplotlib`\n- `texlive`\n- `texlive-latex-extra`\n- `dvipng`\n\n## Usage\nSet up environment variables containing your Enedis email and password.\n\n```bash\nexport LINKY_USERNAME=\"jean.dupont@gmal.com\"\nexport LINKY_PASSWORD=\"passwordnaze\"\n```\n\nThen, just start `linky_plot.py` to generate the graphs.\n\n```bash\npython3 linky_plot.py -o \u003coutput directory\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foutadoc%2Flinkindle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foutadoc%2Flinkindle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foutadoc%2Flinkindle/lists"}