This custom component adds entities for PepLink routers that are connected to their InControl cloud service.
The following entities will be created for detected routers:
- Signal strength for detected radios (Celluar, Wifi WAN, etc.)
- Device tracker with GPS location
- Overall status of the integration
- Install the InControl2 integration however you see fit (HACS, manul, etc)
- Restart Home Assistant
- Within your home assistant, browse to Configuration->Integrations
- Select "Add Integration" and search for InControl2
- Note the URL provided as this will be used when adding the Client Application on the InControl2 site
- In another tab or window login to https://incontrol2.peplink.com
- Select your username/email in the upper right corner to edit your user
- Under Client Applications click the button for "New Client"
- Enter any name for "Application Name"
- Check "Enabled"
- Enter any url for "Website"
- Enter the Redirect URI noted in step 5. This should be something like http://192.168.0.12:8123/api/incontrol2 but will depend on your environment. See the internal_url configuration for home assistant.
- Leave Website Restrictions blank
- Set Token Type to Bearer
- Select Save
- Take note of the Client ID and Secret
- Back within your home assistant, enter the Client ID and Secret in the Integration Setup and select Next
- Click the link in the next config flow step. This should take you to the InControl2 site to login if you are not already and then redirect back to your home assistant instance. You should be greeted with a message "Authentication was successful. You can close this window"
- Back in the home assistant window where the configuration is occuring, click "Submit" to complete the ConfigFlow.
- After some time you should be greeted with a Success message and the option to add the detected device to an area after which you can then click "Finish"