Skip to content

Commit

Permalink
Update encryption.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsaxon committed Jan 30, 2020
1 parent 26df932 commit 459f5f3
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion docs/encryption.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,14 @@ To capture the api_key there are a number of options;
5. Stop the tcpdump (Ctrl-C)
6. Excute the command “grep apikey outputfile” in the router
7. You will get the apikey like this:
{“type”:1,“deviceid”:“xxxxxxxxxx”,“apikey”:"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",“rptInfo”:{“code”:3100,“arg”:"{“rstReason”:0}"},“sequence”:“0845895318697”}^/G
{“type”:1,“deviceid”:“xxxxxxxxxx”,“apikey”:"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",“rptInfo”:{“code”:3100,“arg”:"{“rstReason”:0}"},“sequence”:“0845895318697”}^/G

* Capture via Charles Proxy

This is a method which shows how to do it
https://community.home-assistant.io/t/new-custom-component-sonoff-lan-mode-local-with-stock-firmware/88132/99?u=mattsaxon

It's based on these instructions here;
https://community.hubitat.com/t/sonoff-ewelink-via-homebridge-node/3753

Thanks to @SuperMario

0 comments on commit 459f5f3

Please sign in to comment.