Update console log instructions (#5267)

* Update console log instructions

Some firmware versions have changed the id in the DOM from login-password to pcPassword.

* Fix syntax
This commit is contained in:
arg0nik 2018-04-29 02:15:09 -06:00 committed by Fabian Affolter
parent 53a50b60cf
commit 02ab1b4eb1

View File

@ -41,7 +41,7 @@ For Archer C9 models running firmware version 150811 or later please use the enc
2. Type in the password you use to login into the password field.
3. Click somewhere else on the page so that the password field is not selected anymore.
4. Open the JavaScript console of your browser (usually by pressing F12 and then clicking on "Console").
5. Type ```document.getElementById("login-password").value;```.
5. Type `document.getElementById("login-password").value;` or `document.getElementById("pcPassword").value;`, depending on your firmware version.
6. Copy the returned value to your Home Assistant configuration as password.
See the [device tracker component page](/components/device_tracker/) for instructions how to configure the people to be tracked.