You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -23,6 +23,9 @@ Right now, it can't do a lot, but at least it has these features:
23
23
pip install py-incharge
24
24
```
25
25
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
+
26
29
Or if you're feeling adventurous and want to build from source:
27
30
28
31
```bash
@@ -63,6 +66,26 @@ client.reset(mode="Soft") # Careful with this one
63
66
client.logout()
64
67
```
65
68
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/):
3. The name of your charging station, something like `EVB-P1234567`. After logging in to the portal you can find that here:
82
+

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
+

86
+
87
+
With these 4 variables (email, password, station name and RFID), you can use the package!
88
+
66
89
## 🌟 How It Works
67
90
68
91
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.
0 commit comments