https://github.com/u8slvn/transilienwatcher
Transilien (parisian public transport) timetables on LCD display.
https://github.com/u8slvn/transilienwatcher
paris public-transport python raspberry-pi ratp rer timetables transilien
Last synced: about 1 year ago
JSON representation
Transilien (parisian public transport) timetables on LCD display.
- Host: GitHub
- URL: https://github.com/u8slvn/transilienwatcher
- Owner: u8slvn
- License: mit
- Created: 2017-12-13T12:41:16.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2023-07-27T14:51:54.000Z (almost 3 years ago)
- Last Synced: 2025-02-23T04:12:34.290Z (about 1 year ago)
- Topics: paris, public-transport, python, raspberry-pi, ratp, rer, timetables, transilien
- Language: Python
- Homepage:
- Size: 238 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# TransilienWatcher
[](https://github.com/u8slvn/transilienwatcher/actions/workflows/ci.yml)
[](https://coveralls.io/github/u8slvn/transilienwatcher)


[](https://github.com/psf/black)
## Setup Raspberry PI
```shell
$ sudo apt update
$ sudo apt upgrade
$ sudo apt install git
$ sudo apt install i2c-tools
$ sudo apt install python3-pip
$ pip3 install --upgrade pip
$ rpi-update
$ sudo reboot
```
After reboot:
```shell
$ sudo raspi-config
```
Select `3 Interface Options` > `P5 I2C` > `Yes` > `Ok` > `Finish`
## Install TransilienWatcher
```shell
$ pip install git+https://github.com/u8slvn/transilienwatcher.git#egg=transilienwatcher
export PATH=/home/pi/.local/bin:$PATH
```
## Configuration
```shell
$ transiliwatcher-init
$ vim ~/transilienwatcher/config.py
```
```xml
transilien:
stations:
departure: '00000000'
arrival: '00000000'
credentials:
username: 'username'
password: 'password'
refresh_time: 60
display:
type: 'lcd_i2c'
lcd:
columns: 16
rows: 2
```
## Start TransilienWatcher
```shell
$ transilienwatcher start
$ transilienwatcher status
```
Log file is available in `~/transilienwatcher/transilienwatcher.log`.
Stop the app:
```shell
$ translienwatcher stop
```