Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/spipu/linky-reader
https://github.com/spipu/linky-reader
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/spipu/linky-reader
- Owner: spipu
- License: mit
- Created: 2019-12-23T23:48:04.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2024-09-11T14:52:33.000Z (4 months ago)
- Last Synced: 2024-09-11T22:58:42.936Z (4 months ago)
- Language: PHP
- Size: 396 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Linky-reader
## Install
You must buy :
* RaspBerry PI 3
* Micro Teleinfo V2.0 USB [link](https://www.tindie.com/products/hallard/micro-teleinfo-v20/)
You must install a Rasp Debian 11 Bullseye, with the following packages :* picocom
* apache2
* php (cli and apache-mod)
* all classical php extensions
Your RaspBerry must be connected to your network (using wifi or cable), and accessible with ssh.## How to
How to test :
* Connect the Teleinfo USB to your raspberry
* Connect your linky to the Teleinfo (using a phone or a network cable for example)
* the user `www-data` must be in the group `dialout` to have read permissions on `/dev/ttyUSB0`
* launch the following command:```bash
sudo -u www-data picocom -b 1200 -d 7 -p e -f n /dev/ttyUSB0
```Normally it will display Linky direct information.
to exit : CTRL + A then CTRL + X
Then you can install this project in `/var/www/linky-reader`.
Finally, you can test the php script:
```bash
sudo -u www-data /var/www/linky-reader/website/bin/console app:linky:read
```You can check the [Full install procedure](./INSTALL.md) for more details.
## Sources
* http://www.piblo.fr/raspberry-et-linky/
* https://www.jonathandupre.fr/articles/24-logiciel-scripts/208-suivi-consommation-electrique-compteur-edf-linky-avec-raspberry-pi-zero-w/
* https://www.jonathandupre.fr/articles/24-logiciel-scripts/210-suivi-consommation-electrique-compteur-edf-linky-partie-2/