Skip to content

Commit fd2b35e

Browse files
committed
Add details about encrypted passwords.
1 parent 38b1c4d commit fd2b35e

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

‎README.md‎

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,12 @@ Use "synkctl [command] --help" for more information about a command.
6262
```
6363

6464
#### Configuring **synkctl**
65+
Before you configure **synkctl**, you need to get the encrypted form of your password. The easiest way to get an encrypted form
66+
of your password, is to log into [SunSynk](https://sunsynk.net) using a browser (e.g. Chrome) and view the network traffic.
67+
Look at the password in the payload submitted to the `new` URI as in the image
68+
69+
![Get the password](./images/getpassword.png)
70+
6571
To use **synkctl** you need to create a configuration file; the easiest way to generate a
6672
file is to run
6773

@@ -82,7 +88,7 @@ $ synkctl configuration generate -u <username> -p <password> -i <inverter_serial
8288
For example,
8389

8490
```
85-
$ synkctl configuration generate -u carl@example.com -p verySecret -i 2401011234
91+
$ synkctl configuration generate -u carl@example.com -p QCDkukkf9BeA87ztJ... -i 2401011234
8692
Wrote configuration to '/home/carl/.synk/config'.
8793
```
8894

@@ -92,7 +98,7 @@ Then, to view the config file
9298
$ cat ~/.synk/config
9399
endpoint: https://api.sunsynk.net
94100
user: carl@example.com
95-
password: verySecret
101+
password: QCDkukkf9BeA87ztJ...
96102
default_inverter_sn: "2401011234"
97103
```
98104

‎images/getpassword.png‎

30.6 KB
Loading

0 commit comments

Comments
 (0)