Skip to content

A custom component for Home Assistant which adds entities for PepLink routers that are connected to their InControl2 cloud service.

Notifications You must be signed in to change notification settings

sneelco/hass-incontrol2

Repository files navigation

InControl2

hacs_badge

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

Instructions

  1. Install the InControl2 integration however you see fit (HACS, manul, etc)
  2. Restart Home Assistant
  3. Within your home assistant, browse to Configuration->Integrations
  4. Select "Add Integration" and search for InControl2
  5. Note the URL provided as this will be used when adding the Client Application on the InControl2 site
  6. In another tab or window login to https://incontrol2.peplink.com
  7. Select your username/email in the upper right corner to edit your user
  8. Under Client Applications click the button for "New Client"
  9. Enter any name for "Application Name"
  10. Check "Enabled"
  11. Enter any url for "Website"
  12. 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.
  13. Leave Website Restrictions blank
  14. Set Token Type to Bearer
  15. Select Save
  16. Take note of the Client ID and Secret
  17. Back within your home assistant, enter the Client ID and Secret in the Integration Setup and select Next
  18. 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"
  19. Back in the home assistant window where the configuration is occuring, click "Submit" to complete the ConfigFlow.
  20. 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"

About

A custom component for Home Assistant which adds entities for PepLink routers that are connected to their InControl2 cloud service.

Resources

Stars

Watchers

Forks

Packages

No packages published