Skip to content

Commit 2c99475

Browse files
authored
Add warning for windows users about USERNAME env var
1 parent 8b418ea commit 2c99475

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

usage.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,11 @@ Authentication data can be supplied with 4 different methods (each method overri
6161
$ export PASSWORD=password
6262
$ python3 MyCodeUsingLnetatmo.py
6363
...
64+
65+
**Note to windows users:**
66+
<aside class="warning">
67+
If you are running on Windows platform, take care to the **USERNAME** environment variable that is automatically set with the windows login user name. This is likely to conflict with the user name you are using for your Netatmo account and will result in an unexpected authentication failure. In such case, take care to "unset" the default **USERNAME** env variable before running your code (or set it with your actual Netatmo account ID).
68+
</aside>
6469

6570
4. Some or all values can be overriden by explicit call to initializer of ClientAuth class
6671

0 commit comments

Comments
 (0)