Meraki
Use your Meraki AP as device tracker. Note that Meraki will see all devices, not only connected to the network.
Prerequisites
- Go to Network-wide/General page, and find the Location and scanning section.
- Make sure analytics and Scanning API are both enabled.
- Make note of the Validator string, which will be used in the
device_tracker
configuration. - Click Add a Post URL:
- Set the Post URL to
https://YOUR_HOSTNAME/api/meraki
- Set the Secret to a randomly generated string, and make note of it for the
device_tracker
configuration. - Make sure the API Version is set to
2.0
. - Hit Save in the bottom right of the page.
- Set the Post URL to
Configuration
After you configure access to the Meraki CMX API, add the following to your configuration.yaml
The configuration.yaml file is the main configuration file for Home Assistant. It lists the integrations to be loaded and their specific configurations. In some cases, the configuration needs to be edited manually directly in the configuration.yaml file. Most integrations can be configured in the UI. [Learn more] file.
After changing the configuration.yaml
The configuration.yaml file is the main configuration file for Home Assistant. It lists the integrations to be loaded and their specific configurations. In some cases, the configuration needs to be edited manually directly in the configuration.yaml file. Most integrations can be configured in the UI. [Learn more] file, restart Home Assistant to apply the changes. The integration is now shown on the integrations page under Settings > Devices & services. Its entities are listed on the integration card itself and on the Entities tab.
# Example configuration.yaml entry
device_tracker:
- platform: meraki
secret: your_secret
validator: meraki_validator