Skip to content

Commit 4a644a0

Browse files
authored
Merge pull request #14 from Swopper050/9-docs-for-finding-information
Added documentation for finding required information
2 parents cf1fb80 + d874733 commit 4a644a0

5 files changed

Lines changed: 24 additions & 1 deletion

File tree

README.md

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<p align="center">
2-
<img src="./logo.png" alt="PyInCharge Logo" width="300"/>
2+
<img src="./static/logo.png" alt="PyInCharge Logo" width="300"/>
33
</p>
44

55
<h1 align="center">⚡ PyInCharge</h1>
@@ -23,6 +23,9 @@ Right now, it can't do a lot, but at least it has these features:
2323
pip install py-incharge
2424
```
2525

26+
This package depends for login on `selenium`, which in turn requires a chrome-driver to be installed.
27+
Make sure you have such a driver installed. For more info, see the [installation docs](https://selenium-python.readthedocs.io/installation.html#drivers) of `selenium`.
28+
2629
Or if you're feeling adventurous and want to build from source:
2730

2831
```bash
@@ -63,6 +66,26 @@ client.reset(mode="Soft") # Careful with this one
6366
client.logout()
6467
```
6568

69+
## 🕵️ Find the information you need in Vattenfall
70+
71+
In order to work with this library you need 4 things:
72+
73+
1. Your email. I really hope you know this one.
74+
2. Your password. Same.
75+
76+
These are your credentials you use to login at the [Vattenvall InCharge portal](https://myincharge.vattenfall.com/):
77+
<p align="center">
78+
<img src="./static/incharge_login_page.png" alt="Vattenfall InCharge Login Page" width="50%"/>
79+
</p>
80+
81+
3. The name of your charging station, something like `EVB-P1234567`. After logging in to the portal you can find that here:
82+
![Find station name](./static/find_station_name.png)
83+
84+
4. The RFID of your charging card. The RFID is something like `12345AB12345C67` (not the same as your card number, which is something like for example `NL-NUO-A01234567-A`). You can your RFID here:
85+
![Find RFID](./static/find_rfid.png)
86+
87+
With these 4 variables (email, password, station name and RFID), you can use the package!
88+
6689
## 🌟 How It Works
6790

6891
1. **Login**: Uses Selenium to authenticate with Vattenfall InCharge. The authentication token is inferred and used for subsequent calls. This is the only step that uses selenium.

static/find_rfid.png

150 KB
Loading

static/find_station_name.png

96.3 KB
Loading

static/incharge_login_page.png

278 KB
Loading
File renamed without changes.

0 commit comments

Comments
 (0)