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
Copy file name to clipboardExpand all lines: README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,7 +29,7 @@ Click this button to skip steps 1 and 2 below: [![Open your Home Assistant insta
29
29
5. Once Home Assistant comes back online, go to Settings -> Integrations
30
30
6. Click the `Add Integration` button
31
31
7. Search the list for `generac` and select it
32
-
8.Enter the credentials you use to login for https://app.mobilelinkgen.com/ and submit the form. As an alternative, if username/password do not work for you, follow the instructions below for Cookie-based authentication.
32
+
8.Follow the instructions below for Cookie-based authentication, which require manually logging in to the MobileLink website and retrieving a session cookie.
33
33
9. The integration should initialize and begin pulling your device information within seconds
34
34
35
35
## Installation (without HACS)
@@ -46,14 +46,14 @@ Click this button to skip steps 1 and 2 below: [![Open your Home Assistant insta
46
46
47
47
## Cookie-based Authentication
48
48
49
-
Using Username+Password to login is currently broken, due to Generac blocking automated scripts from logging in on the MobileLink app via a Captcha. Instead, the recommended method of authentication is to manually login and retrieve your session cookie. This requires you to do the following:
49
+
Using Username+Password to login has been removed (for now), due to Generac blocking automated scripts from logging in on the MobileLink app via a Captcha. Instead, the recommended method of authentication is to manually login and retrieve your session cookie. This requires you to do the following:
50
50
51
51
1. Log into https://app.mobilelinkgen.com/ until you reach the main dashboard with your devices. Click on one of your Generac devices. This will take you to a URL that looks like this https://app.mobilelinkgen.com/details/<ID_NUMBER_HERE>
52
52
2. Open the web-browser Developer Tools aka "devtools" (e.g. in Chrome, right-click the page and hit the Inspect option).
53
53
3. Go to the Network tab in the devtools panel and refresh your browser (THE REFRESH IS IMPORTANT HERE).
54
54
4. The Network tab will now have a long list of things it just loaded, but the one you care about will be the first item in the list and will match the <ID_NUMBER_HERE> part of the URL you landed on.
55
55
5. Select that first item in the list, and it will open a panel to the right-hand side that shows you more details.
56
-
6. In this side panel, make sure you have the "Headers" tab selected. Scroll down in that right-hand panel until you find a field named Cookie, which has a LARGE block of text with thousands of characters, symbols, and numbers that could fill 2+ pages in a word doc. That large block of text is what you want. If the text is only a few short lines, it's not the right one, in which case refresh the page and try again or try clicking on a different page of the website and repeating the above steps there.
56
+
6. In this side panel, make sure you have the "Headers" tab selected. Scroll down in that right-hand panel until you find a field named Cookie, which has a LARGE block of text with thousands of characters, symbols, and numbers that could probably fill 2+ pages in a word doc. That's just to say that if the text is only a few short lines equal to maybe just a paragraph, it's not the right one, in which case refresh the page and try again or try clicking on a different page of the website and repeating the above steps on that other page. The very large block of text is what you want.
57
57
7. Double click the large block of text to select it all.
58
58
8. Copy-paste it into the "Session Cookie" field for the Generac setup UI in Home Assistant.
0 commit comments